Flow MCP Server logo

Flow MCP Server

by lmcmz

The Flow MCP Server is a Model Context Protocol server designed to facilitate interaction with the Flow blockchain. It allows AI assistants to access Flow blockchain data and perform operations through a standardized interface.

View on GitHub

Last updated: N/A

What is Flow MCP Server?

The Flow MCP Server is a server that acts as an intermediary between AI assistants and the Flow blockchain. It provides a standardized interface (Model Context Protocol) for AI assistants to query data and execute transactions on the Flow blockchain.

How to use Flow MCP Server?

The server can be installed and run using either npx or a local installation. It can be configured to run in stdio mode for direct integration with AI assistants or as an HTTP server with a defined port. Configuration is primarily done through environment variables.

Key features of Flow MCP Server

  • Balance checking for Flow and fungible tokens

  • Domain resolution for .find and .fn domains

  • Script execution for reading blockchain data

  • Transaction submission and monitoring

  • Account information retrieval

  • Flow configuration based on environment variables

Use cases of Flow MCP Server

  • Integrating Flow blockchain data into AI assistants

  • Automating Flow blockchain interactions through AI

  • Building AI-powered applications on the Flow blockchain

  • Providing a standardized interface for accessing Flow blockchain data

FAQ from Flow MCP Server

What is stdio mode?

Stdio mode allows the server to communicate directly with an AI assistant through standard input and output streams, enabling seamless integration.

How do I specify the Flow network?

You can specify the Flow network using the FLOW_NETWORK environment variable or the --network flag when running the server.

What are the available HTTP API endpoints?

The available HTTP API endpoints include /sse for Server-Sent Events, /messages for sending tool requests, /health for health checks, and / for server information.

What tools are available?

Available tools include get_balance, get_token_balance, get_account, resolve_domain, execute_script, send_transaction, and get_transaction.

How do I configure the server?

The server is configured using environment variables such as PORT, FLOW_NETWORK, FLOW_ACCESS_NODE, and LOG_LEVEL.