Flow MCP Server logo

Flow MCP Server

by Outblock

The Flow MCP Server implements the Model Context Protocol for direct RPC communication with the Flow blockchain. It provides tools for interacting with the Flow blockchain directly through RPC calls, enabling AI agent integration.

View on GitHub

Last updated: N/A

What is Flow MCP Server?

The Flow MCP Server is a Model Context Protocol server designed for the Flow blockchain. It facilitates direct interaction with the Flow blockchain through RPC calls, enabling various functionalities like querying balances, executing scripts, and sending transactions.

How to use Flow MCP Server?

To use the server, clone the repository, install dependencies (using npm or Bun), configure the environment (optional), and start the server using bun dev (development) or bun start (production). You can also use the npx flow-mcp-server command for direct execution without installation. Configure your AI assistant to use Flow MCP by providing the command or HTTP API configuration.

Key features of Flow MCP Server

  • Get account balances (FLOW and tokens)

  • Execute Flow scripts

  • Send transactions

  • Resolve domains to Flow addresses

  • Interact with Flow contracts

  • Full MCP compliance for AI agent integration

Use cases of Flow MCP Server

  • Integrating Flow blockchain interactions into AI assistants

  • Building applications that require direct access to Flow blockchain data

  • Automating Flow blockchain transactions

  • Resolving Flow domains programmatically

FAQ from Flow MCP Server

What is the default network?

The server defaults to the Flow mainnet.

How do I use the testnet?

Set the FLOW_NETWORK environment variable to testnet.

What is MCP?

MCP stands for Model Context Protocol, a standard for AI agent interaction.

How do I configure an AI assistant?

Provide the MCP server configuration (command or HTTP API) to your AI assistant.

What are the available API endpoints?

The server provides endpoints for SSE, messages, health checks, server information, and network configuration.