Flow MCP Server
Flow MCP サーバー
Flowブロックチェーンと連携するためのモデルコンテキストプロトコル(MCP)サーバー。このサーバーにより、AIアシスタントはFlowブロックチェーンのデータにアクセスし、標準化されたインターフェースを介して操作を実行できるようになります。
特徴
Flowと代替トークンの残高チェック
.findおよび.fnドメインのドメイン解決ブロックチェーンデータを読み取るためのスクリプト実行
取引の提出と監視
アカウント情報の取得
環境変数に基づくフロー構成
Related MCP server: EVM MCP Server
インストール
npx の使用 (推奨)
npx -y @outblock/flow-mcp-server --stdioまたは、ポートを使用して HTTP モードを指定します。
npx -y @outblock/flow-mcp-server --port 3000ローカルインストール(開発用)
git clone https://github.com/lmcmz/flow-mcp-server.git
cd flow-mcp-server
npm install
npm run build
npm start使用法
npxで実行
# Run in stdio mode (for AI assistant integration)
npx -y @outblock/flow-mcp-server --stdio
# Run as HTTP server on port 3000
npx -y @outblock/flow-mcp-server --port 3000
# Specify Flow network
npx -y @outblock/flow-mcp-server --port 3000 --network testnetローカル開発サーバーの実行
# Run in stdio mode
npm run build
npm start
# Run as HTTP server on port 3000
npm run build
PORT=3000 npm start
# For development with auto-reload
npm run dev構成
サーバーは環境変数を使用して設定できます。
PORT- リッスンする HTTP ポート (設定されていない場合は、デフォルトで stdio モードになります)FLOW_NETWORK- 接続するフローネットワーク(メインネット、テストネット、エミュレーター)FLOW_ACCESS_NODE- カスタムフローアクセスノードURLLOG_LEVEL- ログレベル(デバッグ、情報、警告、エラー)
AIアシスタントと併用する
Claude などの AI アシスタントと統合する場合は、MCP サーバーを stdio モードで起動し、アシスタントのツール構成に接続できます。
Claude ツールの構成例:
{
"tools": [
{
"name": "flow-mcp-server",
"command": "npx -y @outblock/flow-mcp-server --stdio"
}
]
}HTTP APIエンドポイント
HTTP モードで実行する場合、次のエンドポイントが利用できます。
/sse- リアルタイム更新のための Server-Sent Events エンドポイント/messages- ツールリクエストを送信するためのPOSTエンドポイント/health- ヘルスチェックエンドポイント/- サーバー情報
HTTP API 呼び出しの例:
curl -X POST http://localhost:3000/messages \
-H "Content-Type: application/json" \
-d '{
"tool_request": {
"name": "get_balance",
"parameters": {
"address": "0x2d4c3caffbeab845",
"network": "mainnet"
}
}
}'利用可能なツール
get_balance- アドレスのフロー残高を取得するget_token_balance- 代替トークンの残高を取得するget_account- アカウント情報を取得するresolve_domain- .find または .fn ドメインをアドレスに解決するexecute_script- Cadenceスクリプトを実行するsend_transaction- ブロックチェーンにトランザクションを送信するget_transaction- IDでトランザクションの詳細を取得する
バージョン履歴
v0.1.1 - トランザクションサービスにおける formatArguments インポートの問題のバグ修正
v0.1.0 - 基本的なFlowブロックチェーン統合を備えた初期リリース
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.5MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, providing services like token transfers, contract interactions, and ENS resolution through a unified interface.28128 npm379MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing tools to interact with the Solana blockchain, enabling operations like transactions, account queries, and wallet management.1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA secure Model Context Protocol server that enables AI assistants to interact with the Solana blockchain without direct access to private keys, supporting operations like balance checking, SOL transfers, and transaction history retrieval.7-