Flow MCP
@outblock/flow-mcp
Flow-Blockchain-Tools für das Model Context Protocol (MCP). Dieses Paket bietet eine Reihe von Tools für die Interaktion mit der Flow-Blockchain über das Model Context Protocol.
Merkmale
Erhalten Sie das FLOW-Guthaben für jede Adresse
Erhalten Sie das Token-Guthaben für jedes Flow-Token
COA-Kontoinformationen abrufen
Vertragsquellcode abrufen
Erhalten Sie detaillierte Kontoinformationen einschließlich Speicherstatistiken
Related MCP server: MCP Etherscan Server
Installation
# Using npm
npm install @outblock/flow-mcp
# Using bun
bun add @outblock/flow-mcpMCP-Konfiguration
Um dieses Tool mit Claude zu verwenden, fügen Sie Ihrer MCP-Konfiguration Folgendes hinzu:
{
"mcpServers": {
"flow": {
"command": "npx",
"args": ["-y", "@outblock/flow-mcp"]
}
}
}Ihre MCP-Konfiguration finden Sie unter:
macOS:
~/Library/Application Support/Claude/mcp.jsonWindows:
%APPDATA%/Claude/mcp.jsonLinux:
~/.config/Claude/mcp.json
Starten Sie Claude nach dem Hinzufügen der Konfiguration neu, um den neuen MCP-Server zu laden.
Werkzeuge
Durchflussbilanz
Erhalten Sie den FLOW-Saldo für jede Adresse:
{
name: 'get_flow_balance',
input: {
address: string,
network?: 'mainnet' | 'testnet'
}
}Kontoinformationen
Erhalten Sie detaillierte Kontoinformationen:
{
name: 'get_account_info',
input: {
address: string,
network?: 'mainnet' | 'testnet'
}
}Token-Guthaben
Erhalten Sie das Guthaben für jedes Flow-Token:
{
name: 'get_token_balance',
input: {
address: string,
network?: 'mainnet' | 'testnet'
}
}COA-Konto
COA-Kontoinformationen abrufen:
{
name: 'get_coa_account',
input: {
address: string,
network?: 'mainnet' | 'testnet'
}
}Vertrag erhalten
Vertragsquellcode abrufen:
{
name: 'get_contract',
input: {
address: string,
contractName: string,
network?: 'mainnet' | 'testnet'
}
}📂 Projektstruktur
flow-mcp/
├── src/
│ ├── tools/ # MCP tools implementation
│ │ ├── flowBalance/ # Flow balance tool
│ │ ├── accountInfo/ # Account info tool
│ │ ├── tokenBalance/ # Token balance tool
│ │ ├── coaAccount/ # COA account tool
│ │ └── getContract/ # Contract source tool
│ ├── utils/ # Shared utilities
│ ├── prompts/ # MCP prompts
│ ├── types/ # Type definitions
│ └── bin/ # CLI implementation
├── biome.json # Linting configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Project dependencies🛠️ Entwicklung
Dieses Projekt verwendet FastMCP für Entwicklung und Tests. FastMCP bietet eine optimierte Entwicklungserfahrung für MCP-Server.
# Install dependencies
bun install
# Format code
bun run format
# Run tests
bun test
# Run development server
bun run dev
# Inspect the server
bun run inspect
# Build
bun run buildSo fügen Sie Ihren Entwicklungs-MCP-Server zu Claude Desktop hinzu:
Erstellen Sie das Projekt:
bun run buildFügen Sie Ihrer Claude Desktop-Konfiguration hinzu:
// You only need the argument if you need to pass arguments to your server { "mcpServers": { "your-server-name": { "command": "node", "args": ["/path/to/your/project/dist/main.js", "some_argument"] } } }
Erstellen neuer Tools
Das Projekt enthält ein Skript zur Unterstützung der Erstellung neuer MCP-Tools:
bun run scripts/create-tool.ts <tool-name>Dies wird:
Erstellen Sie ein neues Tool-Verzeichnis unter
src/tools/<tool-name>Generieren Sie die grundlegende Werkzeugstruktur, einschließlich:
index.ts (Hauptimplementierung)
schema.ts (JSON-Schema für Tool-Parameter)
test.ts (Testdatei)
Aktualisieren Sie die Indexdatei des Tools, um das neue Tool zu exportieren
Beispiel:
bun run scripts/create-tool.ts weatherCommit-Nachrichtenformat
feat: Neue Funktion (verbessert Nebenversion)fix: Fehlerbehebung (verbessert die Patch-Version)BREAKING CHANGE: Breaking Change (erhöht die Hauptversion)
📜 Versionsverwaltung
Dieses Projekt verwendet die Standardversion für die automatisierte Versionsverwaltung. Führen Sie bun run release aus, um eine neue Version zu erstellen.
📦 Veröffentlichen auf npm
Stellen Sie sicher, dass Sie bei npm angemeldet sind:
npm loginErstellen Sie das Projekt:
bun run buildVeröffentlichen Sie das Paket:
npm publish
Denken Sie daran, die Versionsnummer mit bun run release zu aktualisieren, bevor Sie neue Versionen veröffentlichen.
Lizenz
MIT-Lizenz – Einzelheiten finden Sie unter LIZENZ.
Beitragen
Beiträge sind willkommen! Senden Sie gerne einen Pull Request.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Algorand blockchain through 25+ specialized tools for account management, payments, asset creation, NFT operations, and network monitoring. Supports both mainnet and testnet with instant finality and low fees.591MIT
- AlicenseAqualityCmaintenanceProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check balances, view transactions, track token transfers, fetch contract ABIs and code, monitor gas prices, and resolve ENS names.7MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with XRP Ledger blockchain for managing wallets, creating and trading tokens, minting and managing NFTs, and executing DEX trades through 15+ comprehensive tools.162MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for querying onchain data across 12+ blockchain networks, including token balances, transaction analysis, and smart contract security auditing. It enables users to interact with multiple EVM-compatible chains and perform deep contract evaluations through natural language interfaces.1
Related MCP Connectors
Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Explore blockchain data across addresses, tokens, blocks, and transactions. Investigate any transa…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Outblock/flow-mcp-monorepo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server