|
| 1 | +--- |
| 2 | +slug: flare-developer-hub-mcp-server |
| 3 | +title: Flare Developer Hub MCP Server |
| 4 | +sidebar_label: Flare Developer Hub MCP Server |
| 5 | +description: Connect the Flare Developer Hub MCP server to Claude, Cursor, and other AI tools to get accurate Flare documentation in your AI assistant. |
| 6 | +keywords: |
| 7 | + [ |
| 8 | + mcp, |
| 9 | + model-context-protocol, |
| 10 | + claude, |
| 11 | + cursor, |
| 12 | + ai-tools, |
| 13 | + flare-docs, |
| 14 | + developer-hub, |
| 15 | + ] |
| 16 | +sidebar_position: 11 |
| 17 | +--- |
| 18 | + |
| 19 | +import CopyButton from "@site/src/components/CopyButton"; |
| 20 | +import CodeBlock from "@theme/CodeBlock"; |
| 21 | +import McpServer from "/static/img/docs/ai/mcp-server.png"; |
| 22 | +import YouTubeEmbed from "@site/src/components/YouTubeEmbed"; |
| 23 | + |
| 24 | +The Flare Developer Hub MCP server exposes the full Flare documentation to any [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) compatible AI tool. |
| 25 | +Once connected, your AI assistant can search and fetch accurate, up-to-date Flare documentation directly — no copy-pasting, no outdated context. |
| 26 | + |
| 27 | +The server is hosted at `https://dev.flare.network/mcp` <CopyButton textToCopy="https://dev.flare.network/mcp" /> and is available to anyone with an MCP-compatible AI client. |
| 28 | + |
| 29 | +## Available tools |
| 30 | + |
| 31 | +The server exposes the following tools: |
| 32 | + |
| 33 | +- `docs_search` - full-text search across all Flare Developer Hub documentation pages. |
| 34 | +- `docs_fetch` - fetch the full content of a specific Flare Developer Hub documentation page. |
| 35 | + |
| 36 | +## Setup |
| 37 | + |
| 38 | +### Quick connect |
| 39 | + |
| 40 | +The fastest way to connect is directly from any page on the Flare Developer Hub. |
| 41 | +Click the **Copy page** button in the top-right corner and choose one of the MCP options from the dropdown: |
| 42 | + |
| 43 | +- **Copy MCP Server** — copies the MCP server URL to your clipboard. |
| 44 | +- **Connect to Cursor** — opens Cursor and installs the MCP server automatically. |
| 45 | +- **Connect to VS Code** — opens VS Code and installs the MCP server automatically. |
| 46 | + |
| 47 | +<img |
| 48 | + src={McpServer} |
| 49 | + alt="Copy page dropdown showing Copy MCP Server, Connect to Cursor and Connect to VS Code options" |
| 50 | +/> |
| 51 | + |
| 52 | +### Claude Code |
| 53 | + |
| 54 | +Run the following command to add the Flare MCP server to Claude Code: |
| 55 | + |
| 56 | +```bash |
| 57 | +claude mcp add --transport http flare-devhub https://dev.flare.network/mcp |
| 58 | +``` |
| 59 | + |
| 60 | +To verify the server is connected: |
| 61 | + |
| 62 | +```bash |
| 63 | +claude mcp list |
| 64 | +``` |
| 65 | + |
| 66 | +### Cursor |
| 67 | + |
| 68 | +Add it directly to your Cursor MCP config file at `~/.cursor/mcp.json`: |
| 69 | + |
| 70 | +```json |
| 71 | +{ |
| 72 | + "mcpServers": { |
| 73 | + "flare-devhub": { |
| 74 | + "url": "https://dev.flare.network/mcp" |
| 75 | + } |
| 76 | + } |
| 77 | +} |
| 78 | +``` |
| 79 | + |
| 80 | +### Other MCP-compatible tools |
| 81 | + |
| 82 | +For any tool that supports the [MCP Streamable HTTP transport](https://modelcontextprotocol.io/docs/concepts/transports), use the following endpoint: |
| 83 | + |
| 84 | +``` |
| 85 | +https://dev.flare.network/mcp |
| 86 | +``` |
| 87 | + |
| 88 | +Refer to your tool's documentation for instructions on adding a remote MCP server. |
| 89 | + |
| 90 | +## Example prompts |
| 91 | + |
| 92 | +After connecting the server, your AI assistant can answer Flare-specific questions by searching and fetching documentation on demand. |
| 93 | + |
| 94 | +- `Search the Flare docs and explain how FTSO price feeds work` <CopyButton textToCopy="Search the Flare docs and explain how FTSO price feeds work" /> |
| 95 | +- `Fetch the Flare FDC getting started page and show me how to request an EVMTransaction attestation` <CopyButton textToCopy="Fetch the Flare FDC getting started page and show me how to request an EVMTransaction attestation" /> |
| 96 | +- `Search the Flare docs for FAssets minting and summarize the steps` <CopyButton textToCopy="Search the Flare docs for FAssets minting and summarize the steps" /> |
| 97 | +- `Look up the Flare network RPC endpoints from the developer hub` <CopyButton textToCopy="Look up the Flare network RPC endpoints from the developer hub" /> |
| 98 | +- `Search the Flare docs and explain how Smart Accounts work for XRPL users` <CopyButton textToCopy="Search the Flare docs and explain how Smart Accounts work for XRPL users" /> |
| 99 | + |
| 100 | +## Video walkthrough |
| 101 | + |
| 102 | +<YouTubeEmbed videoId="JZAQm4T9q80"></YouTubeEmbed> |
| 103 | + |
| 104 | +:::tip[What's next] |
| 105 | + |
| 106 | +Explore [Flare AI Skills](/network/guides/flare-ai-skills) for structured domain knowledge that works alongside the MCP server. |
| 107 | + |
| 108 | +::: |
0 commit comments