MCP Quickstart
Add your first MCP server to Command Code in under a minute.
Add an MCP server
Pick one transport:
Add MCP Server
Example:
Examples
Authenticate if prompted
Some remote servers require OAuth. Open the MCP menu:
Follow the browser prompt to log in. Tokens are stored securely and refreshed automatically.
If needed, pass auth headers:
All options (--transport, --env, --scope, --header) must come before the server name. -- separates the server name from the local command for stdio servers.
Verify connection
List your configured servers:
Or inspect one server:
Inside a session, /mcp shows connection status and available tools.
Try it out
Start a session:
Then ask naturally:
Command Code automatically discovers and calls the right MCP tools based on your request.
Optional: Add MCP servers from JSON
For complex setups, use JSON:
Example
GitHub MCP Server
For copying configs between machines or scripting:
- The JSON accepts
typeas an alias fortransport. - Environment variables in config values (like
${API_KEY}) are resolved at runtime.
Optional: Import from Claude Desktop
If you already configured MCP servers in Claude Desktop:
You will get an interactive picker for which servers to import.
- Check out our MCP Examples to see real-world MCP server examples
- Join our Discord community for support