Overview
Think of MCP (Model Context Protocol) as giving your AI assistant a direct hotline to Coinbase’s documentation. Instead of the AI guessing how CDP works, it can instantly look up the correct way to build apps. Without MCP:How it helps you
When you connect MCP to your AI tools, the AI becomes a CDP expert that can:- Generate accurate code using our latest components
- Answer specific questions about CDP APIs and authentication
- Suggest best practices for embedded wallets, payments, and transactions
- Find the right documentation when you’re stuck on implementation
The CDP MCP server currently provides documentation
search
. It doesn’t execute API calls directly - that keeps your development secure.Claude
To use the CDP MCP server with Claude:1
Add the CDP MCP server to Claude
- Navigate to the Connectors page in Claude settings
- Select Add custom connector
- Add the following:
- Name:
Coinbase Developer Platform
- URL:
https://docs.cdp.coinbase.com/mcp
- Name:
- Select Add
2
Access CDP docs in your chat
- When using Claude, select the attachments button (the plus icon)
- Select the Coinbase Developer Platform connector
- Query Claude with CDP documentation as context
Cursor
To connect the CDP MCP server to Cursor, you can either use the automatic connection or configure it manually:1
Use the Connect to Cursor option
- On any CDP documentation page, select the Copy page dropdown next to the document header
- Select Connect to Cursor
- Cursor will automatically open with the CDP MCP server configured
2
Test the connection
In Cursor’s chat, ask “What tools do you have available?” to verify that Cursor has access to CDP documentation search and any configured API endpoints.
VS Code
The CDP MCP server can also be configured with VS Code extensions that support MCP:- Install an MCP-compatible extension
- Add the CDP server URL:
https://docs.cdp.coinbase.com/mcp
- Test the connection by querying CDP documentation
VS Code MCP support varies by extension. Check your specific extension’s documentation for setup instructions.
Testing your MCP connection
Once configured, test your MCP connection by asking your AI tool:Troubleshooting
Connection issues
Problem: MCP server not connecting Solution:- Verify the URL is exactly:
https://docs.cdp.coinbase.com/mcp
- Check your internet connection
- Restart your AI tool after configuration
- Confirm the MCP server was added correctly
- Try removing and re-adding the server configuration
- Check the AI tool’s MCP support documentation
Search issues
Problem: Search returns no results Solution:- Try different search terms
- Use more general terms (e.g., “wallet” instead of “embedded wallet API”)
- Verify the MCP connection is working
Additional resources
What to read next
With MCP configured, your AI tools now have direct access to CDP documentation. Continue with:- AI Development Setup: Configure your starter app and development environment for optimal AI-assisted development
- AI Development Workflows: Learn day-to-day development practices and core workflow patterns
- AI Prompting Techniques: Master effective prompting patterns to leverage your new MCP connection