Cadence

MCP Server

The Cadence MCP server gives AI agents access to Cadence documentation search, code checking, type inspection, and symbol lookup — all over HTTP. No local setup required.

Endpoint: https://cadence-mcp.up.railway.app/mcp

Quick start

One-click install

Install in Cursor Install in VS Code

Claude Code

claude mcp add cadence-mcp -- npx -y mcp-remote https://cadence-mcp.up.railway.app/mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "cadence": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://cadence-mcp.up.railway.app/mcp"]
    }
  }
}

Available tools

ToolDescription
search_docsSearch Cadence and Flow documentation by keyword
get_docGet full content of a documentation page
browse_docsBrowse the documentation tree structure
cadence_checkCheck Cadence code for syntax and type errors
cadence_hoverGet type information for a symbol at a position
cadence_definitionFind where a symbol is defined
cadence_symbolsList all symbols in a piece of Cadence code

All LSP tools (cadence_check, cadence_hover, cadence_definition, cadence_symbols) support mainnet and testnet address imports (e.g. import FungibleToken from 0xf233dcee88fe0abe). Dependencies are resolved automatically.

Use directly via HTTP

The MCP endpoint uses Streamable HTTP transport. You can call tools directly:

# List available tools
curl -X POST https://cadence-mcp.up.railway.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# Check Cadence code for errors
curl -X POST https://cadence-mcp.up.railway.app/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{
    "jsonrpc":"2.0","id":1,
    "method":"tools/call",
    "params":{
      "name":"cadence_check",
      "arguments":{"code":"access(all) fun greet(): String { return \"Hi\" }"}
    }
  }'

Run locally

For offline use or development, you can run the MCP server locally via stdio:

npx @outblock/cadence-mcp

This requires the Flow CLI installed locally for LSP tools.

To configure a local stdio server in Claude Code:

claude mcp add cadence-mcp -- npx -y @outblock/cadence-mcp

On this page