remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Integration for code linting and formatting to maintain code quality in the MCP server implementation.
Integration with the Bun JavaScript runtime for optimal MCP server performance, used for development, testing, and running the server.
Offers type-safe tool definitions for Flow blockchain interactions, ensuring proper data validation and error handling.
@outblock/flow-mcp
用于模型上下文协议 (MCP) 的 Flow 区块链工具。此软件包提供了一组通过模型上下文协议与 Flow 区块链交互的工具。
特征
- 获取任意地址的 FLOW 余额
- 获取任意 Flow 代币的代币余额
- 获取 COA 帐户信息
- 获取合约源代码
- 获取详细的帐户信息,包括存储统计信息
安装
MCP 配置
要将此工具与 Claude 一起使用,请将以下内容添加到您的 MCP 配置中:
您可以在以下位置找到您的 MCP 配置:
- macOS:
~/Library/Application Support/Claude/mcp.json
- Windows:
%APPDATA%/Claude/mcp.json
- Linux:
~/.config/Claude/mcp.json
添加配置后,重新启动Claude以加载新的MCP服务器。
工具
流量平衡
获取任意地址的 FLOW 余额:
帐户信息
获取详细账户信息:
代币余额
获取任意 Flow 代币的余额:
COA 账户
获取COA账户信息:
获取合同
获取合约源代码:
📂 项目结构
🛠️ 开发
本项目使用 FastMCP 进行开发和测试。FastMCP 为 MCP 服务器提供了简化的开发体验。
要将您的开发 MCP 服务器添加到 Claude Desktop:
- 构建项目:Copy
- 添加到您的 Claude 桌面配置:Copy
创建新工具
该项目包括一个帮助创建新 MCP 工具的脚本:
这将:
- 在
src/tools/<tool-name>
下创建一个新的工具目录 - 生成基本工具结构包括:
- index.ts(主要实现)
- schema.ts(工具参数的 JSON 架构)
- test.ts(测试文件)
- 更新工具索引文件以导出新工具
例子:
提交消息格式
feat
:新功能(提升小版本)fix
:错误修复(补丁版本)BREAKING CHANGE
:重大变更(重大版本更新)
📜 版本管理
本项目使用standard-version进行自动化版本管理。运行bun run release
即可创建新版本。
📦 发布到 npm
- 确保您已登录 npm:Copy
- 构建项目:Copy
- 发布包:Copy
在发布新版本之前,请记住使用bun run release
更新版本号。
执照
MIT 许可证 - 详情请参阅许可证。
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
You must be authenticated.
提供与 Flow 区块链交互的工具,包括 Flow 余额检查、代币余额查询和 Cadence Owned Account 信息检索。