What Is the Hedera MCP Server?
The Model Context Protocol (MCP) is an open standard that creates direct connections between AI applications and external data sources. Instead of relying on general web search results, MCP lets AI tools search your documentation directly for more accurate, up-to-date information. Hedera’s MCP server exposes aSearchHedera tool that gives any MCP-compatible AI application the ability to search across the entire Hedera knowledge base, including:
- API references and SDK documentation
- Code examples and tutorials
- How-to guides and quickstarts
- Network concepts and architecture docs
MCP Server URL
Why MCP Over Web Search?
| Feature | Web Search | MCP |
|---|---|---|
| Source | Search engine index (may be stale) | Live documentation content |
| Noise | Affected by SEO and ranking algorithms | Goes straight to official docs |
| Integration | Separate step from response generation | Searches during response generation |
| Accuracy | May surface outdated or third-party content | Always returns the most up to date Hedera documentation. No stale indexes or outdated training data training |
Quick Install (One Command)
The Hedera MCP server is a remoteHTTP server hosted by Mintlify. No code is downloaded or executed on your machine. Your AI tool connects directly to https://docs.hedera.com/mcp over HTTPS and queries the documentation through the SearchHedera tool.
To connect, you manually add the server URL to your AI tool’s configuration using the setup instructions below. This is the recommended approach because it gives you full visibility into what’s being configured, and no third-party packages are installed or executed on your system.
Setup by Tool
Note
If you run into issues, refer to the Additional Resources section below as setup instructions can change and that’s where you’ll find the most current guidance.Claude (Web & Mobile)
Claude supports MCP servers as custom connectors. Available on free, Pro, Max, Team, and Enterprise plans (free users are limited to one custom connector). Steps:- Navigate to Customize → Connectors (or go directly to claude.ai/settings/connectors).
- Click the ”+” button next to Connectors, then select “Add custom connector”.
- Enter the details:
- Name:
Hedera Docs - URL:
https://docs.hedera.com/mcp
- Name:
- Click Add.
- In any chat, click the ”+” button in the lower left of the chat interface, then hover over “Connectors” to enable Hedera Docs for that conversation.
SearchHedera tool when your questions relate to Hedera development.
Claude Desktop
Claude Desktop supports remote MCP servers through custom connectors and local servers through Desktop Extensions. For remote servers (like Hedera’s):- Click the ”+” button at the bottom of the chat box, then select “Connectors”.
- If you haven’t added the Hedera connector yet, navigate to Settings → Developer → Connectors and click “Add custom connector”.
- Enter the details:
- Name:
Hedera Docs - URL:
https://docs.hedera.com/mcp
- Name:
- Click Add and restart Claude Desktop if prompted.
Note: Custom connectors added on Claude web (claude.ai) are also available in Claude Desktop and Claude mobile when signed in with the same account.
Claude Code
Claude Code connects to MCP servers via CLI commands. Steps: Run the following command in your terminal:hedera-docs listed as a connected server.
Cursor IDE
Cursor supports MCP servers through itsmcp.json configuration file.
Option A: Command Palette (Recommended)
- Press
Cmd + Shift + P(macOS) orCtrl + Shift + P(Windows/Linux). - Search for “Open MCP settings”.
- Select Add custom MCP.
- Add the following to
mcp.json:
mcp.json file at one of these locations:
| Scope | Path |
|---|---|
| Global (all projects) | ~/.cursor/mcp.json |
| Project-specific | .cursor/mcp.json (in project root) |
VS Code (GitHub Copilot)
VS Code supports MCP servers via the.vscode/mcp.json file, available when using GitHub Copilot in Agent mode.
Steps:
- Create the file
.vscode/mcp.jsonin your project root. - Add the following configuration:
- In the Copilot chat panel, switch to Agent mode and restart the MCP server if prompted.
Note: VS Code uses a"servers"key (not"mcpServers") and requires a"type"field.
Windsurf IDE
Windsurf supports MCP servers through its Cascade AI agent. It supportsstdio, Streamable HTTP, and SSE transport types.
Option A: MCP Marketplace
- Click the MCPs icon in the Cascade panel (top-right).
- Browse or search for the Hedera MCP server and click Install.
- Press
Cmd + Shift + P(macOS) orCtrl + Shift + P(Windows/Linux). - Search for “Open Windsurf Settings”.
- Navigate to Cascade → MCP Servers or directly edit:
- Add the following:
Note: Windsurf has a limit of 100 total tools across all connected MCP servers. You can toggle individual tools on/off per server.
ChatGPT
ChatGPT supports remote MCP servers through its Apps feature (formerly called “Connectors”). Developer Mode is required for full MCP tool support and is available for Plus, Pro, Business, Enterprise, and Edu plans. Steps:- Open Settings → Apps (or Settings → Connectors in some UI versions).
- Navigate to Advanced settings and toggle on Developer Mode.
- Click Create to add a new app/connector.
- Enter the details:
- Name:
Hedera Docs - Description:
Search the official Hedera documentation. - URL:
https://docs.hedera.com/mcp
- Name:
- Click Create.
- In a new chat, click the ”+” button in the composer area, enable Developer Mode for the session, and select Hedera Docs.
Important: Developer Mode is required because without it, ChatGPT only accepts MCP servers that implement a specificsearch+fetchtool pattern. The Hedera MCP server exposes aSearchHederatool, which requires Developer Mode to be accessible in chat. See the ChatGPT Developer Mode guide for details.
Gemini CLI
Google’s Gemini CLI supports MCP servers through asettings.json configuration file. It supports stdio, SSE, and Streamable HTTP transports.
Steps:
- Open or create the Gemini CLI settings file:
- Add the Hedera MCP server:
- Launch Gemini CLI and verify with:
hedera-docs server listed with its available tools.
Prerequisite: Install Gemini CLI with npm install -g @google/gemini-cli@latest.
Using Multiple MCP Servers
You can connect the Hedera MCP server alongside other documentation MCP servers. Here’s an example Cursor configuration with multiple servers:- Connect only the servers relevant to your current work to keep context focused.
- Be specific in your prompts so the AI searches the most relevant server.
- MCP servers don’t consume context until the AI actively calls a search tool.
- Disconnect servers you’re not actively using to reduce context usage.
Configuration Reference
A quick-reference table of config file paths and JSON formats for each tool:| Tool | Config File Path | Server Key | URL Key |
|---|---|---|---|
| Cursor (global) | ~/.cursor/mcp.json | mcpServers | url |
| Cursor (project) | .cursor/mcp.json | mcpServers | url |
| VS Code | .vscode/mcp.json | servers | url (+ type: "http") |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | mcpServers | serverUrl |
| Claude (Web) | Customize → Connectors | UI-based | URL field |
| Claude Desktop | Settings → Developer → Connectors | UI-based | URL field |
| Claude Code | CLI: claude mcp add | — | — |
| Gemini CLI | ~/.gemini/settings.json | mcpServers | url |
| ChatGPT | Settings → Apps → Create (Developer Mode required) | UI-based | URL field |
Troubleshooting
Server not connecting?- Verify the URL is exactly
https://docs.hedera.com/mcp(no trailing slash). - Ensure you have an active internet connection.
- Restart your AI tool after adding the configuration.
- In Cursor/VS Code, click the refresh button next to the server entry.
- In Claude Code, run
claude mcp listto verify the server is registered. - In Windsurf, check the MCPs icon for server status — a red indicator means the connection failed.
- Try rephrasing your query with more specific Hedera terminology.
- Ensure the MCP server is enabled/active for your current chat session.