Using docs with AI-powered IDEs
AI-powered development tools can enhance your Coinbase Developer Platform (CDP) workflow by leveraging our documentation to generate accurate code and provide API insights.
This guide explores methods for integrating CDP docs with AI assistants:
- Quick copy-paste methods for immediate use
- Advanced MCP tooling for deeper integration
- AI-powered IDEs like Replit and Cursor that accelerate CDP development
Per page
On any page, select the Copy page dropdown found next to the document header. From here, you can copy as markdown (for LLMs), open in ChatGPT/Claude, and more:
Per entire site
You can also view a concatenated version of the entire site by appending /llms-full.txt
to the root path. i.e., coinbase-migration.mintlify.app/llms-full.txt.
With Model Context Protocol (MCP)
To enable code-aware AI, you can use an MCP server to connect your code to Coinbase Developer Platform documentation. MCP is a standard for providing real-time code structure and metadata to tools like Mintlify.
The MCP server gives AI tools direct access to CDP documentation and API specifications, enabling them to understand Coinbase’s capabilities when helping you write code.
1. Install the server
Install the MCP server using the CDP docs domain (coinbase-prod.mintlify.app
):
This will fetch the entire docs tree and generate a local server based on CDP docs.
2. Integrate with your tooling
This server now exposes:
- Full-text search across the CDP docs
- Structured metadata for documented APIs and blockchain operations
- Direct access to Coinbase’s trading, wallet, and smart contract documentation
- Support for LLM integrations or agents that speak MCP
With the current search
functionality, you can:
- Query CDP documentation to get accurate information about APIs, SDKs, and best practices
- Provide context to AI assistants so they can generate code using correct CDP patterns and methods
- Answer technical questions about Coinbase’s capabilities, authentication, error codes, and more
- Discover relevant endpoints and features by searching across the entire documentation set
Currently, the MCP server only supports the search
tool, which allows querying information across CDP documentation. Direct API execution is not yet available for the CDP docs.
For more information, see the Mintlify documentation.
AI-powered IDEs
Beyond providing documentation context, you can use specialized AI-powered IDEs that streamline CDP development:
Replit
Replit is a cloud-based IDE that streamlines development. It allows developers to build in a Google docs-like environment, with pre-built templates for building websites, apps, and games. Its new AI agent can assist with several files at once, making development feel like a one-on-one conversation.
Coinbase has partnered with Replit to create CDP SDK templates for you to use as a starting point. The cdp-sdk python package is indexed and searchable from the Replit dependency tool.
Cursor
A fork of VS Code, Cursor is an AI-powered IDE that supports features such as AI code completion, natural language editing, and codebase context. Cursor Pro is free for the first two weeks after signup, with more powerful models.
We recommend starting your project on Replit, and then using this guide to open your project in Cursor so you can get the best of both worlds.
What next?
Check out our Quickstart guide to get started.