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:
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:
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.
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.
Install the MCP server using the CDP docs domain:
This will fetch the entire docs tree and generate a local server based on CDP docs.
This server now exposes:
With the current search
functionality, you can:
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.
Beyond providing documentation context, you can use specialized AI-powered IDEs that streamline CDP development:
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.
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.
Check out our Quickstart guide to get started.