drio
Open app

Flow MCP Server

Source

Model Context Protocol (MCP) server for Flow blockchain with direct RPC communication

Catalog onlyCatalog onlySTDIO

Overview

Flow MCP Server is a Model Context Protocol (MCP) server designed for the Flow blockchain, enabling direct RPC communication for various blockchain interactions.

To use Flow MCP Server, clone the repository, install the dependencies, configure your environment, and start the server using npm commands.

  • Get account balances for FLOW and tokens - Execute Flow scripts - Send transactions to the Flow blockchain - Resolve domains to Flow addresses - Full compliance with Model Context Protocol for AI agent integration
  1. Interacting with the Flow blockchain for account management.
  2. Executing smart contracts and scripts on the Flow network.
  3. Integrating with AI assistants that support the Model Context Protocol.

Add to your AI client

Use these steps to connect Flow MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "flow-mcp-server-lmcmz": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "flow-mcp-server-lmcmz": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "flow-mcp-server-lmcmz": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "flow-mcp-server-lmcmz": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "flow-mcp-server-lmcmz": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "flow-mcp-server-lmcmz": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flow-mcp-server-lmcmz"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol?

The Model Context Protocol is a standard for enabling AI agents to interact with blockchain networks.

How do I start the server?

You can start the server in development mode using `npm run dev` or in production mode using `npm run start`.

Is there support for real-time communication?

Yes, the server provides an SSE endpoint for real-time communication.