Flow RPC Server

Flow RPC Server

MCP para consultar o EVM no Flow. Contribute to diegofornalha/flow-mcp development by creating an account on GitHub.

diegofornalha

Data & App Analysis
Visit Server

README

Servidor MCP para Flow EVM

smithery badge

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 atual
  • flow_getCode: Obtém o código em um endereço específico da Flow EVM
  • flow_chainId: Retorna o ID da cadeia atual da rede Flow EVM
  • flow_gasPrice: Obtém o preço atual do gás na rede
  • flow_getBalance: Consulta o saldo de uma conta na Flow EVM
  • flow_call: Executa uma chamada de função sem criar uma transação
  • flow_getLogs: Obtém logs com base em critérios de filtro específicos
  • flow_sendRawTransaction: Envia uma transação assinada para a rede
  • flow_blockNumber: Retorna o número do bloco mais recente
  • flow_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

  1. Instale as dependências: npm install
  2. Compile o projeto: npx tsc
  3. 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

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
AIO-MCP Server

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

Featured
Local
Hyperbrowser MCP Server

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

Featured
Local
BigQuery

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.

Featured
Perplexity Chat MCP Server

Perplexity Chat MCP Server

MCP Server for the Perplexity API.

Featured
Web Research Server

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.

Featured
MySQL Server

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.

Featured
Aindreyway Codex Keeper

Aindreyway Codex Keeper

Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.

Featured
Etherscan Tools

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.

Featured
Perplexity Deep Research

Perplexity Deep Research

A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.

Featured