Flow RPC Server
MCP para consultar o EVM no Flow. Contribute to diegofornalha/flow-mcp development by creating an account on GitHub.
diegofornalha
README
Servidor MCP para Flow EVM
Um servidor Model Context Protocol (MCP) para interagir com a blockchain Flow EVM. Este servidor serve como uma ponte entre modelos de linguagem e a rede Flow EVM, permitindo consultas e interações com a blockchain de forma simplificada.
O que é Flow EVM?
Flow EVM é uma implementação da Máquina Virtual Ethereum (EVM) na blockchain Flow, permitindo compatibilidade com contratos inteligentes, ferramentas e bibliotecas do ecossistema Ethereum, enquanto aproveita a arquitetura escalonável e eficiente da Flow.
Recursos
flow_getNetworkInfo
: Retorna informações sobre a rede Flow EVM atualflow_getCode
: Obtém o código em um endereço específico da Flow EVMflow_chainId
: Retorna o ID da cadeia atual da rede Flow EVMflow_gasPrice
: Obtém o preço atual do gás na redeflow_getBalance
: Consulta o saldo de uma conta na Flow EVMflow_call
: Executa uma chamada de função sem criar uma transaçãoflow_getLogs
: Obtém logs com base em critérios de filtro específicosflow_sendRawTransaction
: Envia uma transação assinada para a redeflow_blockNumber
: Retorna o número do bloco mais recenteflow_checkCOA
: Verifica se um endereço é uma Conta Controlada por Cadence (COA)
Implementação
Este servidor MCP implementa uma camada de abstração sobre os métodos RPC padrão do Ethereum, adaptados para o ambiente Flow EVM. Internamente, o servidor faz chamadas para os métodos RPC Ethereum (eth_*
), mas expõe uma interface com nomenclatura Flow (flow_*
) para maior clareza e identificação com o ecossistema Flow.
A Flow EVM suporta a maioria dos métodos RPC do Ethereum, permitindo a interação com a rede Flow usando as mesmas ferramentas e padrões familiares do ecossistema Ethereum.
Redes Suportadas
- Flow EVM Mainnet (Chain ID: 747)
- Flow EVM Testnet (Chain ID: 545)
Uso
- Instale as dependências:
npm install
- Compile o projeto:
npx tsc
- Execute o servidor:
npm start
Exemplo de uso com Claude
Consulte o saldo de 0x76A56657d20f572872A81b75530c905fD9F845e5 na Flow EVM.
Claude poderá usar a ferramenta flow_getBalance
para obter esta informação.
Recommended Servers

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
AIO-MCP Server
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Hyperbrowser MCP Server
Welcome to Hyperbrowser, the Internet for AI. Hyperbrowser is the next-generation platform empowering AI agents and enabling effortless, scalable browser automation. Built specifically for AI developers, it eliminates the headaches of local infrastructure and performance bottlenecks, allowing you to
BigQuery
This is a server that lets your LLMs (like Claude) talk directly to your BigQuery data! Think of it as a friendly translator that sits between your AI assistant and your database, making sure they can chat securely and efficiently.
Perplexity Chat MCP Server
MCP Server for the Perplexity API.
Web Research Server
A Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.
MySQL Server
Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.
Aindreyway Codex Keeper
Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.
Etherscan Tools
Facilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.
Perplexity Deep Research
A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.