Add the ATP MCP server
On this page
Add https://mcp.atptoken.ai/mcp to Claude, ChatGPT, Cursor, Codex and other AI tools so they can look up and check ATP API calls. No key needed. Your tool keeps the model it uses now; the server only gives it ATP's API guide and checkers, so it writes correct requests the first time.
Before you start#
You need the URL, a name for the server, and, only for the live model list, your API key.
The server has four tools:
Adding the server costs nothing. Generating images, video or speech through the API is what uses credits, and that needs an atp- key from the console.
Configure#
Find your tool below. Each block can be pasted as it is. After adding the server, start a new session or restart the tool: MCP tools load at start.
Claude Code#
claude mcp add --transport http --scope user atptoken-api-docs https://mcp.atptoken.ai/mcp--scope user makes it available in every folder; without it, the server exists only in the folder you ran the command in.
To use the live model list, add the key header. If you already added the server without it, remove it first:
claude mcp remove --scope user atptoken-api-docs
claude mcp add --transport http --scope user atptoken-api-docs https://mcp.atptoken.ai/mcp \
--header "Authorization: Bearer $ATP_API_KEY"Codex#
codex mcp add atptoken-api-docs --url https://mcp.atptoken.ai/mcpWith the key, Codex reads it from the environment variable each time it starts:
codex mcp add atptoken-api-docs --url https://mcp.atptoken.ai/mcp --bearer-token-env-var ATP_API_KEYClaude app (web and desktop)#
- Open Customize → Connectors.
- Click + Add, then Add custom connector.
- Name it
ATP Token, pastehttps://mcp.atptoken.ai/mcpas the URL, and click Continue. - Under Authentication, choose No sign in. To use the live model list, add a request header
Authorizationwith the valueBearer atp-…. - Click Add, then turn the connector on in a new chat.
On Team and Enterprise plans, an owner adds it under Organization settings → Connectors, and members then click Connect. The desktop app's claude_desktop_config.json does not accept a URL; use Connectors instead.
ChatGPT#
- In Settings → Apps & Connectors → Advanced settings, turn on Developer mode.
- Back in Apps & Connectors, click Create.
- Name it
ATP Token, pastehttps://mcp.atptoken.ai/mcpas the URL, and choose No authentication. - Turn it on in a new chat from the tools menu.
Menu names and which plans can add custom connectors change from time to time; if you do not see Developer mode, check OpenAI's help for your plan.
Cursor#
Add this to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
{
"mcpServers": {
"atptoken-api-docs": {
"url": "https://mcp.atptoken.ai/mcp",
"headers": { "Authorization": "Bearer ${env:ATP_API_KEY}" }
}
}
}Leave out headers if you do not need the live model list.
Cline#
Add this to cline_mcp_settings.json (MCP Servers → Configure). Set type explicitly; without it Cline uses the older SSE transport and fails to connect:
{
"mcpServers": {
"atptoken-api-docs": {
"type": "streamableHttp",
"url": "https://mcp.atptoken.ai/mcp"
}
}
}Gemini CLI#
gemini mcp add --transport http --scope user atptoken-api-docs https://mcp.atptoken.ai/mcpOther tools#
Any tool that supports remote MCP servers takes the URL https://mcp.atptoken.ai/mcp with the Streamable HTTP transport. The setting is often called "remote", "HTTP" or "URL" server. For a tool that only runs local (stdio) servers, bridge it with npx -y mcp-remote https://mcp.atptoken.ai/mcp as the command.
Once the server is in one tool, you can also ask that tool to call atptoken_install and add it to another.
Check that it works#
In a new session, ask your tool:
Use the atptoken_docs tool to open the "start" page and summarize how to call ATP.A summary of the ATP guide means the connection works. It costs nothing. If you added the key, also ask it to list your models with atptoken_list_models.