MCP API Key
With Swytchcode MCP, you can use any compatible client to interact with the Swytchcode MCP server.
You can read more about MCP capabilities and client usage here:
https://docs.swytchcode.com/quickstart/connect-mcp/
An MCP Key is required to access Swytchcode MCP.
This key is sent as a Bearer Token in the request headers when calling MCP endpoints.
There is a limit to the number of MCP keys that can be generated for an organization.
The exact limit depends on the package purchased by the organization.
Generating an MCP Key
- Open the Swytchcode Plugin.
- Navigate to the
MCP
menu option. - Enter your email address.
- Validate using the OTP sent to your email.
- Once validated, your MCP Key will be displayed.
Important Notes
-
One MCP Key per Email
Each email address will have a single MCP key.
If you regenerate using the same email, the same key will be displayed. -
Client Compatibility
Once generated, the MCP key can be used with any supported clients to generate code, run workflows, or access MCP-enabled endpoints.
Example: Using MCP Key in an API Call
GET /v2/mcp/some-endpoint HTTP/1.1Host: api-v2.swytchcode.comAuthorization: Bearer YOUR_MCP_KEY