Partner & Developer onboarding
Connecting an MCP client
How a developer connects Claude Desktop, Cursor or VS Code to an MCP server they subscribe to in the API Portal: find the tools a plan grants, create the authorization, copy the config block for their client, and get a new token when it expires.
Some products in the API Portal include MCP servers: tools an AI agent can call. You subscribe to a plan, create the authorization, and the API Portal gives you a block to paste into Claude Desktop, Cursor or VS Code. Your client then calls the provider's server directly.
How do you find the tools a plan includes?
Look for the MCP or API + MCP badge on a product. The product's plan table has an MCP tools section with a tick under each plan that grants a tool.
Open a tool's row to read its description. Some products also list their tools as cards, with Show arguments to see what each tool takes. If a card says This server did not answer the last read. The tools below may be out of date., the provider's server was unreachable when the API Portal last read it.
If a card says This server keeps its tool list private., the API Portal cannot list its tools. Your MCP client lists them when it connects with your token.
How do you get your MCP client config?
Open the subscription and click Create Authorization. Under Connect an MCP client, pick your client, copy the block, and paste it into the file the tab names.
- Open your subscription. The summary lists MCP servers: with each server's name and number of tools.
- In Authorization, click Create Authorization and confirm.
- Save any credentials shown, then go to Connect an MCP client.
- Pick Claude Desktop, Cursor or VS Code.
- Copy the whole block and paste it into the file shown above it:
%APPDATA%\Claude\claude_desktop_config.json,%USERPROFILE%\.cursor\mcp.jsonor.vscode/mcp.json.
The paths shown for Claude Desktop and Cursor are the Windows locations. On another operating system, use the file of the same name in that client's configuration folder.
If the plan needs no credential, there is nothing to create. Authorization reads This plan needs no credential. Paste the block below into your MCP client., with the block under it.
What does the config block contain?
Every MCP server on your plan, with its URL and, when it needs one, your credential in a header. Claude Desktop and Cursor take one shape, and VS Code another.
For Claude Desktop and Cursor:
{
"mcpServers": {
"orders": {
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}For VS Code:
{
"servers": {
"orders": {
"type": "http",
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}The key, orders here, comes from the server's name, in lowercase with spaces and other characters turned into hyphens. The header depends on the plan:
| Plan's security method | Header in the block |
|---|---|
| Client Secret Basic | Authorization: Bearer with a token |
| API Key | Your API key, in the header the provider's gateway expects, such as x-api-key or apikey |
| No authentication | None. The entry carries only the URL. |
If your file already has other servers, add these entries next to them rather than replacing the file.
How long does the token last?
As long as the provider's Authorization Server issues it. The API Portal shows This token expires in with the time, under the block. Your MCP client cannot renew a pasted token, so when it expires, regenerate.
With several servers on one plan, the time shown is the soonest any token in the block expires. The full token appears only when the credential is created. Later visits show <token> in its place. To get a working block again, click Regenerate Credentials, confirm, and paste the new block. Regenerating revokes the previous credentials. See API credentials.
Where to next
- API credentials: create, save and regenerate credentials.
- Subscribing to a plan: how subscriptions and approvals work.
- MCP Servers: how providers set up the servers you connect to.