NEAR Wallet Server
БесплатноНе проверенEnables Claude Desktop and MCP clients to interact with NEAR blockchain accounts for balance checks, account info, access keys, transaction status, and sending
Описание
Enables Claude Desktop and MCP clients to interact with NEAR blockchain accounts for balance checks, account info, access keys, transaction status, and sending signed transactions.
README
A Model Context Protocol (MCP) server for NEAR Protocol wallet operations. This server enables Claude Desktop and other MCP clients to interact with NEAR blockchain accounts.
Features
- check_balance: Get the NEAR balance of any account
- account_info: Get detailed account information (balance, storage, state)
- view_access_keys: View all access keys for an account
- transaction_status: Check transaction status by hash
- send_near: Broadcast signed transactions
Installation
Prerequisites
- Python 3.10 or higher
- pip or uv package manager
Install from source
cd ~/projects/near-market/mcp-near-wallet
pip install -e .
Or with uv:
uv pip install -e .
Configuration
Create a config.json file in your working directory:
{
"rpc_url": "https://rpc.mainnet.near.org"
}
For testnet:
{
"rpc_url": "https://rpc.testnet.near.org"
}
See config.example.json for reference.
Claude Desktop Setup
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"near-wallet": {
"command": "python",
"args": [
"-m",
"mcp_near_wallet.server"
],
"cwd": "~/projects/near-market/mcp-near-wallet"
}
}
}
Windows
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"near-wallet": {
"command": "python",
"args": [
"-m",
"mcp_near_wallet.server"
],
"cwd": "C:\\Users\\YourUser\\projects\\near-market\\mcp-near-wallet"
}
}
}
Linux
Edit ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"near-wallet": {
"command": "python",
"args": [
"-m",
"mcp_near_wallet.server"
],
"cwd": "~/projects/near-market/mcp-near-wallet"
}
}
}
Using uv (Recommended)
If you prefer using uv for dependency isolation:
{
"mcpServers": {
"near-wallet": {
"command": "uv",
"args": [
"--directory",
"~/projects/near-market/mcp-near-wallet",
"run",
"mcp-near-wallet"
]
}
}
}
Restart Claude Desktop
After updating the configuration, restart Claude Desktop completely:
- Quit Claude Desktop
- Restart the application
- The NEAR Wallet tools should now be available
Usage Examples
Once configured, you can ask Claude:
- "Check the balance of alice.near"
- "Show me account information for bob.near"
- "What access keys does charlie.near have?"
- "Check the status of transaction ABC123 sent by dave.near"
Development
Run tests
pytest
Format code
black src/
ruff check src/
Protocol
This server implements the Model Context Protocol (MCP) specification:
- Transport: JSON-RPC 2.0 over stdio
- Tool Schema: JSON Schema input validation
- Response Format: TextContent with JSON payloads
NEAR RPC Endpoints
- Mainnet: https://rpc.mainnet.near.org
- Testnet: https://rpc.testnet.near.org
Security Notes
⚠️ Important: This server is read-only by default. The send_near tool requires pre-signed transactions and does not handle private keys. Never share your NEAR private keys with any MCP server.
For transaction signing, use:
- NEAR CLI
- NEAR Wallet
- near-api-js
- Other official NEAR SDKs
License
MIT
Support
For issues and questions:
- NEAR Protocol: https://near.org
- MCP Specification: https://spec.modelcontextprotocol.io
Установка NEAR Wallet Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bigguybobby/mcp-near-walletFAQ
NEAR Wallet Server MCP бесплатный?
Да, NEAR Wallet Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для NEAR Wallet Server?
Нет, NEAR Wallet Server работает без API-ключей и переменных окружения.
NEAR Wallet Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить NEAR Wallet Server в Claude Desktop, Claude Code или Cursor?
Открой NEAR Wallet Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare NEAR Wallet Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
