Endpoint
https://polydev.ai/mcp- Transport
- Streamable HTTP. Each JSON-RPC message is a
POST; the reply is JSON, or an SSE stream when the client acceptstext/event-stream.GET(server push) is not offered and returns 405. - Protocol versions
2025-11-25,2025-06-18,2025-03-26- Session
- The
initializeresponse carries anMcp-Session-Idheader. - Auth
- Every request needs
Authorization: Bearer <access token>from Polydev's OAuth server. See below.
Authentication
OAuth 2.1 for public clients. Users sign in to Polydev in the browser and approve the client; nobody copies a token by hand. Most MCP clients do all of this automatically.
- 01A request without a valid token gets
401with aWWW-Authenticateheader pointing at the protected resource metadata. - 02The client reads
/.well-known/oauth-protected-resource/mcp(RFC 9728), which names the authorization server, then/.well-known/oauth-authorization-server(RFC 8414). - 03The client registers itself with dynamic client registration at
/api/mcp/register(RFC 7591). - 04The client runs the authorization code flow with PKCE.
S256is required; plain is rejected. The scope ismcp. - 05The client exchanges the code for an access token and a refresh token. Refresh tokens rotate: each refresh returns a new one and the old one stops working.
curl -i -X POST https://polydev.ai/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"example","version":"1.0.0"}}}'
HTTP/2 401
www-authenticate: Bearer resource_metadata="https://polydev.ai/.well-known/oauth-protected-resource/mcp", scope="mcp"If a signed-in client starts getting 401, the user signs in again with the client's MCP auth command (for example /mcp in Claude Code or codex mcp login polydev in Codex). Users can see and disconnect clients in Dashboard → Connected apps.
Client setup
The same configuration as /install, which has the full steps and one-click links.
Claude (web, desktop and mobile)
Settings → Connectors → Add custom connector → paste https://polydev.ai/mcp → Connect, then sign in to Polydev and approve.
ChatGPT
In the apps settings, add a custom MCP server (developer mode on some plans), paste https://polydev.ai/mcp, choose OAuth, then sign in to Polydev and approve.
Claude Code
claude mcp add --transport http polydev https://polydev.ai/mcpThen run /mcp and choose Polydev to sign in. Or install the plugin:
/plugin marketplace add backspacevenkat/polydev-claude-code-plugin
/plugin install polydev-hosted@polydev-marketplaceCodex
codex mcp add polydev --url https://polydev.ai/mcp
codex mcp login polydevCursor
Use the one-click link on /install, or add this to ~/.cursor/mcp.json and choose Connect next to Polydev:
{
"mcpServers": {
"polydev": {
"url": "https://polydev.ai/mcp"
}
}
}VS Code (GitHub Copilot)
Use the link on /install, or run:
code --add-mcp '{"name":"polydev","type":"http","url":"https://polydev.ai/mcp"}'Windsurf
Add this to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"polydev": {
"serverUrl": "https://polydev.ai/mcp"
}
}
}Cline and any other MCP client
Use https://polydev.ai/mcp with the Streamable HTTP transport. The client signs in with OAuth on first use.
Tools
tools/list on the hosted endpoint returns these five tools (get_perspectives is the older name of ask_model). Results are text content blocks, and every answer from ask_model ends with a Paid by: line. Image generation is not on the hosted endpoint.
ask_modeltitle: Ask other AI modelsSends the prompt to one model, several, or the models set up in the user's Polydev account, and returns each answer as text. Each answer says what paid for it: the user's API key, their OpenRouter key or Polydev free requests.
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The question or task to send to the other models, with the context they need"
},
"model": {
"type": "string",
"description": "Optional: one model ID to ask (see list_models)"
},
"models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional: model IDs to ask, at most 10; by default the models set up in the user's Polydev account"
},
"temperature": {
"type": "number",
"description": "Sampling temperature (0.0-2.0)",
"minimum": 0,
"maximum": 2
}
},
"required": [
"prompt"
]
}readOnlyHint: true · destructiveHint: false · idempotentHint: false · openWorldHint: true
get_perspectivestitle: Ask other AI models (older name)Same as ask_model, with the same inputs, under the name older clients use. It stays listed.
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The question or task to send to the other models, with the context they need"
},
"model": {
"type": "string",
"description": "Optional: one model ID to ask (see list_models)"
},
"models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional: model IDs to ask, at most 10; by default the models set up in the user's Polydev account"
},
"temperature": {
"type": "number",
"description": "Sampling temperature (0.0-2.0)",
"minimum": 0,
"maximum": 2
}
},
"required": [
"prompt"
]
}readOnlyHint: true · destructiveHint: false · idempotentHint: false · openWorldHint: true
list_modelstitle: List available modelsLists the models this account can ask and, for each, what would pay for an answer. Also shows how many free requests are left. list_available_models is accepted as an alias.
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "Optional: only list models from this provider, for example \"openai\""
}
}
}readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false
search_xtitle: Search XSearches recent posts on X through Grok and returns a summary with links to the posts. Read-only. Needs the user's own xAI key in Polydev.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What to search X for"
}
},
"required": [
"query"
]
}readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: true
rank_perspectivestitle: Rate the answersRecords which answers from ask_model were most useful, if the user wants to rate them. Ratings feed the public leaderboard as counts.
{
"type": "object",
"properties": {
"ranked_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model IDs from the ask_model answers, best first"
},
"model_scores": {
"type": "object",
"description": "Optional: a score from 1 to 10 per model ID"
},
"feedback_text": {
"type": "string",
"description": "Optional: why they were ranked this way"
}
},
"required": [
"ranked_models"
]
}readOnlyHint: false · destructiveHint: false · idempotentHint: false · openWorldHint: false
curl -X POST https://polydev.ai/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Mcp-Session-Id: $SESSION_ID" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ask_model",
"arguments": { "prompt": "Review this SQL migration for locking problems: ..." }
}
}'Local stdio package
Optional. The npm package polydev-ai (1.12.0, Apache-2.0) runs Polydev as a stdio MCP server on the user's machine. It needs Node.js 20 or newer. On top of the hosted tools it can use the user's ChatGPT plan through Continue with ChatGPT, and the Claude Code or Codex signed in on that machine under the user's own login. It never runs the CLI of the app that called it, and it checks sign-in with claude auth status and codex login status rather than reading credential files.
claude mcp add polydev -- npx -y polydev-ai@latest{
"mcpServers": {
"polydev": {
"command": "npx",
"args": [
"-y",
"polydev-ai@latest"
]
}
}
}The first tool call opens the browser to sign in. Extra tools in the local package:
| Tool | What it does |
|---|---|
| generate_image | Image generation with OpenAI or Google models, on the user's key or one free request. |
| connect_chatgpt_plan | Continue with ChatGPT: OpenAI models then use the user's ChatGPT plan. |
| chatgpt_plan_status | Whether the ChatGPT plan is connected. |
| login | Browser sign-in; saves the token on the machine. |
| get_auth_status | Connection, local CLIs found and configured models. |
Advanced: where a browser sign-in is not possible, the local package can read a token from the POLYDEV_USER_TOKEN environment variable, created on the Connected apps page. Keep it out of files you commit.