MCP附近
该项目是一个与模型上下文协议 ( MCP ) 兼容的服务器,用于与NEAR 区块链进行交互。该工具为 LLM 和 AI 代理提供了一种安全访问 NEAR 账户和区块链功能并与之交互的方法。
快速入门
以下是如何使用claude
Code CLI 快速启动 Near-MCP 服务器
或者在 Phala Cloud 上远程部署 MCP 服务器,请查看此处的说明
安装
near-mcp
适用于兼容 MCP 的客户端。更多信息请参阅MCP 文档
添加到claude
代码cli:
通过 JSON 配置添加到 claude 桌面:
加到goose
里
或者您可以全局安装它并直接使用它。
可用工具
请参阅TOOLS.md以获取可用工具和参数的列表。
与人工智能模型的集成
此工具旨在与支持模型上下文协议的AI模型一起使用。它使AI助手能够:
- 代表用户管理 NEAR 账户
- 检查账户余额和状态
- 签署并发送交易
- 创建新帐户并管理访问密钥
- 检查并执行智能合约
安全注意事项
- 此 MCP 旨在本地运行。账户私钥存储在 MCP 服务器运行的本地未加密密钥库中。
- 底层模型不应该有权查看与其交互的账户的私钥,但有一个例外。import_account
import_account
允许模型从私钥导入账户。这需要用户向模型提供私钥。
贡献
欢迎为 NEAR MCP 服务器做出贡献!请参阅CONTRIBUTING.md文件了解更多信息。
报告问题
如果您发现错误或有功能请求,请在 GitHub 存储库上打开问题。
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
通过 MCP 调用与 NEAR 区块链进行交互
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server to run commands.Last updated -2265150TypeScriptMIT License
- -securityAlicense-qualityA comprehensive MCP server for tooling interactions(40+) and resource accessibility(60+) with Algorand blockchain, plus many useful prompts.Last updated -3131TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Polygon PoS blockchain to call contract functions, manage ERC20 tokens, and check gas prices.Last updated -68TypeScript
- -securityAlicense-qualityAn MCP (Model Context Protocol) server that chains calls to other MCP tools, reducing token usage by allowing sequential tool execution with result passingLast updated -10925JavaScriptMIT License