io.github.mastrophot/near-wallet-manager

السجل الرسمي المالية والمدفوعات

MCP server for NEAR wallet creation, balance checks, and transaction signing.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mcp-near-wallet-manager
Claude Code
claude mcp add near-wallet-manager -- npx -y mcp-near-wallet-manager@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "near-wallet-manager": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-near-wallet-manager@0.1.1"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-near-wallet-manager
  2. What This Delivers (Job Mapping)
  3. Install
  4. MCP Config Example (Claude Desktop)
  5. Tool Inputs
  6. Development
  7. Security Notes
  8. Publish Targets
  9. License

mcp-near-wallet-manager

MCP server for NEAR wallet operations with three production tools:

  • create_wallet
  • check_balance
  • sign_transaction

Designed for agent workflows where wallets must be provisioned, checked, and used for deterministic signing.

What This Delivers (Job Mapping)

  1. Wallet creation
  • Generates ED25519 keypair or imports existing private key
  • Returns public key + implicit account id
  1. Balance checking
  • Fetches account balance over NEAR JSON-RPC
  • Returns total/locked/available balances and key count
  1. Transaction signing
  • Signs NEAR transaction payloads with transfer/function_call actions
  • Returns transaction hash, signature, and base64 signed transaction blob

Install

npm install -g mcp-near-wallet-manager

MCP Config Example (Claude Desktop)

{
  "mcpServers": {
    "near-wallet-manager": {
      "command": "mcp-near-wallet-manager"
    }
  }
}

Tool Inputs

create_wallet
{
  "network": "testnet",
  "include_private_key": true
}
check_balance
{
  "account_id": "near",
  "network": "mainnet"
}
sign_transaction
{
  "signer_id": "alice.testnet",
  "signer_private_key": "ed25519:...",
  "receiver_id": "bob.testnet",
  "nonce": "7",
  "recent_block_hash": "11111111111111111111111111111111",
  "actions": [
    {
      "type": "transfer",
      "deposit_yocto": "1"
    }
  ]
}

Development

npm install
npm run check

Security Notes

  • create_wallet may return a private key: treat as sensitive secret.
  • Never store private keys in plaintext logs.
  • Use dedicated signer accounts and minimal permissions.

Publish Targets

  • npm package: mcp-near-wallet-manager
  • Agent framework integration notes: deliverables/agent-framework-integration.md
  • MCP Registry metadata: server.json

License

MIT

الأسئلة الشائعة

ما هو io.github.mastrophot/near-wallet-manager؟

MCP server for NEAR wallet creation, balance checks, and transaction signing.

كيف أثبّت io.github.mastrophot/near-wallet-manager؟

يعمل على جهازك. في Claude Code: claude mcp add near-wallet-manager -- npx -y mcp-near-wallet-manager@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.mastrophot/near-wallet-manager إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.mastrophot/near-wallet-manager مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.mastrophot/near-wallet-manager؟

ينشره mastrophot. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.