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
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
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
OpenRouter MCP Server

OpenRouter MCP Server

Provides integration with OpenRouter.ai, allowing access to various AI models through a unified interface.

Featured
Supabase MCP Server (used by Deploya.dev)

Supabase MCP Server (used by Deploya.dev)

Enables Cursor and Windsurf to safely interact with Supabase databases by providing tools for database management, SQL query execution, and Supabase Management API access with built-in safety controls.

Featured
Database Explorer

Database Explorer

A powerful Model Context Protocol (MCP) tool for exploring and managing different types of databases including PostgreSQL, MySQL, and Firestore.

Featured
Supabase MCP Server

Supabase MCP Server

This server enables interaction with Supabase PostgreSQL databases through the MCP protocol, allowing seamless integration with Cursor and Windsurf IDEs for secure and validated database management.

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
PostgreSQL Database Management Server

PostgreSQL Database Management Server

A Model Context Protocol server that enables powerful PostgreSQL database management capabilities including analysis, schema management, data migration, and monitoring through natural language interactions.

Featured