NEAR MCP
Official
MCP附近
该项目是一个与模型上下文协议 ( MCP ) 兼容的服务器,用于与NEAR 区块链进行交互。该工具为 LLM 和 AI 代理提供了一种安全访问 NEAR 账户和区块链功能并与之交互的方法。
快速入门
以下是如何使用claude Code CLI 快速启动 Near-MCP 服务器
npm install -g @anthropic-ai/claude-code
claude mcp add near-mcp npx @nearai/near-mcp@latest run
claude或者在 Phala Cloud 上远程部署 MCP 服务器,请查看此处的说明
Related MCP server: near-hydra-mcp
安装
near-mcp适用于兼容 MCP 的客户端。更多信息请参阅MCP 文档
claude mcp add near-mcp npx @nearai/near-mcp@latest run通过 JSON 配置添加到 claude 桌面:
{
"mcpServers": {
"near-mcp": {
"command": "npx",
"args": ["-y", "@nearai/near-mcp@latest", "run"],
"env": {}
}
}
}加到goose里
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Command-line Extension
│
◇ What would you like to call this extension?
│ near-mcp
│
◇ What command should be run?
│ npx @nearai/near-mcp@latest run
│
◇ Please set the timeout for this tool (in secs):
│ 60
│
◇ Would you like to add environment variables?
│ No
│
└ Added near-mcp extension或者您可以全局安装它并直接使用它。
# Install globally
npm install -g @nearai/near-mcp@latest
# Or use directly with npx
npx @nearai/near-mcp@latest run可用工具
请参阅TOOLS.md以获取可用工具和参数的列表。
与人工智能模型的集成
此工具旨在与支持模型上下文协议的AI模型一起使用。它使AI助手能够:
代表用户管理 NEAR 账户
检查账户余额和状态
签署并发送交易
创建新帐户并管理访问密钥
检查并执行智能合约
安全注意事项
此 MCP 旨在本地运行。账户私钥存储在 MCP 服务器运行的本地未加密密钥库中。
底层模型不应该有权查看与其交互的账户的私钥,但有一个例外。import_account
import_account允许模型从私钥导入账户。这需要用户向模型提供私钥。
贡献
欢迎为 NEAR MCP 服务器做出贡献!请参阅CONTRIBUTING.md文件了解更多信息。
报告问题
如果您发现错误或有功能请求,请在 GitHub 存储库上打开问题。
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
- AlicenseBqualityDmaintenanceFacilitates interaction with Starknet blockchain via MCP by exposing various RPC methods, allowing users to query chain states, transaction details, and block information using natural language queries.1129MIT
- AlicenseNot gradedqualityCmaintenanceEnables cross-chain transactions (swap, send, balance) on 10 blockchains from a single NEAR account, designed for AI agents and humans via MCP.6Apache 2.0
- AlicenseAqualityDmaintenanceThe NEAR MCP Server enables AI agents to interact with the NEAR Protocol blockchain, providing smart contract interaction, transaction handling, and event listening with AI-driven processing.391ISC
- AlicenseNot gradedqualityCmaintenanceEnables interaction with the Casper Network blockchain via MCP, providing tools for wallet creation, CSPR transfers, staking/delegation, and account queries.3MIT
Related MCP Connectors
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
MCP server for Blockscout
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/nearai/near-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server