Corsair App gives each tenant a hosted HTTP MCP server. Your agent framework connects to that server with a tenant-scoped MCP secret, then the agent can discover and call the tenant’s installed, authenticated, and permitted tools. This section is for hosted Corsair App users. If you are running Corsair in your own process and building tools directly from a localDocumentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
corsair instance, use the MCP Adapters docs instead.
The two keys
Most setup issues come from mixing up the two different secrets.| Secret | Where it is used | What it can do |
|---|---|---|
| Developer API key | createClient({ apiKey }) | Provisions and manages instances, plugins, tenants, credentials, and MCP keys |
| Tenant MCP secret | SDK MCP config, usually as Authorization: Bearer ... | Lets an MCP client call tools for one tenant |
tenant.mcpKeys.create().
Create or fetch the MCP connection
Create a tenant-scoped MCP secret when you need a new bearer token:Shared config shape
All SDK examples start from the same values:apiKey above is the tenant MCP secret, not the developer API key.
What the hosted MCP server exposes
The hosted MCP server exposes a small discovery-first tool surface rather than one huge tool per API endpoint.| Tool | What it does |
|---|---|
corsair_setup | Checks whether tenant credentials are configured |
list_operations | Lists available operations across installed plugins |
get_schema | Shows the input schema for a specific operation |
run_script | Executes a JavaScript snippet with corsair in scope |
Pick your SDK
Vercel AI SDK
Use
createVercelAiMcpClient() and pass await client.tools() to streamText or generateText.OpenAI
Use hosted MCP with the OpenAI Responses API or OpenAI Agents SDK.
Claude
Pass an HTTP MCP server config to the Claude Agent SDK.
Custom connector
Use the MCP URL and bearer token in any HTTP MCP-compatible client or connector UI.