Skip to content
Cosvexa – Cosvexa home

MCP server

Use Cosvexa in ChatGPT, Claude and other MCP apps

Cosvexa runs a remote MCP server. Add it once and ask any Cosvexa model, run the Council, compare models side by side, or generate images and videos from inside ChatGPT, Claude, Claude Code or Cursor, billed to your Cosvexa credits.

Server URL
https://cosvexa.ai/mcp

What you can do

  • ask — One answer from Cosvexa Auto or the model you name, with optional web search.
  • ask_council — Several models answer in parallel; one synthesized answer plus where they disagreed (plans with Council).
  • compare — The same prompt to 2–4 models, each answer side by side with its cost (plans with Compare).
  • list_models — The text, image and video models your account can use, with credit prices.
  • generate_image — 1–4 images from a prompt; returns links valid for 24 hours, also saved in Studio.
  • generate_video — Starts a video job and returns its id.
  • get_generation — Status of a video job and its link when it is ready.
  • get_balance — Credits left, plan, and on the free plan today's free questions.

Every call is charged exactly like the same action in the Cosvexa app: the same model prices, plan rules and credit holds (1 credit = $0.01). Free-plan accounts answer with Cosvexa-1 and use their daily free questions. Questions you ask through a connector are saved in your Cosvexa chat history.

ChatGPT

Custom MCP servers are available on ChatGPT on the web. OpenAI currently lists full MCP support (including actions such as generating) for Business, Enterprise and Edu; Pro accounts can connect custom servers with read/fetch permissions only. Plans and menu names change, so check OpenAI's help article if a step looks different.

  1. Open Plugins in ChatGPT (chatgpt.com/plugins), select the + button, then Add custom MCP server.
  2. Enter the name Cosvexa and, under Connection, the server URL https://cosvexa.ai/mcp.
  3. Choose OAuth as authentication, tick I understand and want to continue, and select Create as a plugin.
  4. Sign in to Cosvexa when asked, pick the workspace whose credits it should use, and select Allow.
  5. In a chat, type @ and pick Cosvexa, then ask, for example: “Use Cosvexa's ask_council to review this plan.”

Claude (web, desktop and mobile)

Custom connectors work on every Claude plan (one custom connector on Free).

  1. Open the Connectors page (claude.ai/customize/connectors), select Add, then Add custom connector.
  2. Name it Cosvexa, enter https://cosvexa.ai/mcp and select Continue. Keep the authentication settings Claude marks as Detected (OAuth with automatic registration) and select Add.
  3. Select Connect, sign in to Cosvexa, pick a workspace and select Allow.
  4. On Team and Enterprise plans an Owner adds the connector once under Organization settings → Connectors → Add → Custom; each member then selects Connect with their own Cosvexa account.

Claude Code

Sign in with OAuth through /mcp, or send a Cosvexa API key as a header (create one under Developer → API keys). Don't configure both: with a header set, Claude Code does not fall back to OAuth.

Terminal
claude mcp add --transport http cosvexa https://cosvexa.ai/mcp
# then, inside Claude Code: /mcp  → sign in to Cosvexa in the browser

# or with an API key instead of signing in:
claude mcp add --transport http cosvexa https://cosvexa.ai/mcp \
  --header "Authorization: Bearer cvx_YOUR_API_KEY"

Cursor and other clients with headers

Any MCP client that supports Streamable HTTP and custom headers can use an API key. For Cursor, add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project). This is Cursor's standard mcp.json format; we could not re-check Cursor's current documentation when this page was written.

mcp.json
{
  "mcpServers": {
    "cosvexa": {
      "url": "https://cosvexa.ai/mcp",
      "headers": { "Authorization": "Bearer cvx_YOUR_API_KEY" }
    }
  }
}

Access, billing and disconnecting

  • Signing in uses OAuth 2.1 with PKCE. Cosvexa shows which app is asking, where it returns, and what it may do; you choose the workspace. The app acts with your role, plan and spending limits in that workspace.
  • The app never sees your password or an API key: it gets short-lived access tokens that Cosvexa stores only as hashes.
  • See and disconnect connected apps under Settings → Devices → Connected apps. Signing out everywhere disconnects them too.
  • When credits run out, tools say so and link to Billing.

For developers

  • Transport: MCP Streamable HTTP at https://cosvexa.ai/mcp (stateless; POST only).
  • Discovery: /.well-known/oauth-protected-resource/mcp (RFC 9728) and /.well-known/oauth-authorization-server (RFC 8414).
  • Dynamic Client Registration (RFC 7591), PKCE S256 only, resource indicators (RFC 8707), rotating refresh tokens, RFC 9207 issuer in redirects.
  • Scopes: cosvexa:read (models, balance, job status) and cosvexa:generate (anything that spends credits).
  • API keys are the same keys as the Cosvexa API, sent as Authorization: Bearer cvx_….