Setup with Cursor
Cursor is an AI-powered code editor built as a fork of VS Code with features like AI code completion and natural language editing.1
Open MCP settings
In Cursor, open Settings and navigate to Tools & MCP, then click Add MCP Server.
2
Add Base docs server
In the
mcp.json configuration file, add:mcp.json
3
Save and restart
Save the file and restart Cursor to apply the changes.
4
Start building
Your AI assistant can now access Base docs in real time. Try asking: “How do I deploy a smart contract on Base?”
Setup with Claude Code
Claude Code is an agentic coding tool that lives in your terminal and understands your codebase.1
Add the Base docs MCP server
Run the following command in your terminal:
Terminal
2
Verify installation
Check that the server was added successfully:
Terminal
3
Start building
Launch Claude Code and start asking questions. Try: “How do I deploy a smart contract on Base?”