Skip to main content
TagManifest /Docs Dashboard

API-key flow

Create a tm_ API key on the account page and use it as a Bearer credential with the MCP server or the v1 REST API.

On this page 5

A tm_ API key is a long-lived Bearer credential. Use one where signing in through a browser is not practical: scripts, CI jobs, direct REST calls, and MCP clients that you would rather set up with a header. A key reaches the same tools as the OAuth flow.

Overview

A key is a single string that starts with tm_. It belongs to the account that created it and is sent as Authorization: Bearer tm_… on every request. A key can use every tool and every REST endpoint except key management. The same key works on the MCP endpoint (/mcp) and the v1 REST API. Keys are free.

Create a key

  1. Sign in with Google on an account page. There are two, and they show the same keys:
    Signing in creates your account. There is no approval step.
  2. Type a label if you want one, then click the button. An account can hold up to five active keys.
  3. Copy the tm_… value. It is shown once and cannot be shown again. Store it in a secret manager or an environment variable.

Treat the key like a password. Anyone holding it can run scans as your account and use up your rate limits.

Use with MCP

Give the key to your MCP client as an Authorization header on the server URL https://developer.tagmanifest.com/mcp.

In Claude Code:

claude mcp add --transport http tagmanifest https://developer.tagmanifest.com/mcp \
  --header "Authorization: Bearer <API key>"

In any other MCP client, follow that client's own instructions for adding a remote MCP server with a header. The header is Authorization: Bearer <API key>. See Connect to Claude.

Use with REST

The same key is a Bearer credential for the v1 REST API:

curl -X POST https://developer.tagmanifest.com/v1/scan-url \
  -H "Authorization: Bearer <API key>" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "top_n": 25}'

All REST endpoints live under /v1. See Authentication and the REST endpoints.

Revoke a key

On either account page, find the key in the list and click Revoke. It takes effect at once: any client using that key gets 401 responses. Create a new key and update your clients.

Keys are managed only from a signed-in account page. A key cannot create, list or revoke keys, and neither can the token an MCP client gets from OAuth sign-in.

Examples

Use a tm_ key
claude mcp add --transport http tagmanifest https://developer.tagmanifest.com/mcp \
  --header "Authorization: Bearer <API key>"