Skip to content

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

  1. Open the Swytchcode Plugin.
  2. Navigate to the MCP menu option.
  3. Enter your email address.
  4. Validate using the OTP sent to your email.
  5. Once validated, your MCP Key will be displayed.

Important Notes

  1. 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.

  2. 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.1
Host: api-v2.swytchcode.com
Authorization: Bearer YOUR_MCP_KEY