The Flow MCP server provides tools to interact with the Flow blockchain and retrieve various information:
Get the FLOW balance for a specific Flow address
Retrieve balances for all fungible tokens associated with a Flow address
Fetch COA account information for a Flow address
Obtain the source code of deployed contracts at specific addresses
Access detailed account information including balance and storage stats
Integration for code linting and formatting to maintain code quality in the MCP server implementation.
Integration with the Bun JavaScript runtime for optimal MCP server performance, used for development, testing, and running the server.
Offers type-safe tool definitions for Flow blockchain interactions, ensuring proper data validation and error handling.
Implements type-safe schema validation for Flow blockchain tools, ensuring proper data formatting and validation.
Flow MCP Monorepo
This monorepo contains a collection of Model Context Protocol (MCPs) for interacting with the Flow blockchain and FLOW-EVM environment.
Packages
This monorepo is split into two main packages:
packages/flow-mcp: Core tools for interacting with the native Flow blockchain. This includes functionalities for managing accounts, checking balances, and interacting with native contracts.packages/flow-defi-mcp: A suite of tools focused on DeFi (Decentralized Finance) and EVM-compatible interactions on the Flow network. This includes tools for checking token prices, swapping tokens on decentralized exchanges, and interacting with ERC20 tokens.
Please refer to the README.md file within each package for more detailed information, including setup instructions and a list of available tools.
Related MCP server: MCP Etherscan Server
Getting Started
To get started with this monorepo, you will need to have a monorepo manager like pnpm, lerna, or turborepo installed.
Clone the repository:
git clone <repository-url>Navigate to the root directory and install the dependencies for all packages:
pnpm install # or yarn install, or npm install
Contributing
Contributions are welcome! Please open an issue or submit a pull request with your changes.