Skip to main content
Glama

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

Related MCP server: MCP NEAR Wallet Server

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

Available Tools

3 tools
check_balanceC

Check NEAR account balance and key stats via JSON-RPC.

Inputs: account_id (required), network, rpc_url.

create_walletA

Create or import a NEAR wallet (keypair) and return implicit account info.

Inputs: network, account_id, private_key, include_private_key.

sign_transactionB

Sign a NEAR transaction payload (transfer/function_call actions) with an ED25519 private key.

Inputs: nonce (required), actions (required), signer_id (required), receiver_id (required), +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool performs a clearly distinct function: creating/importing a wallet, checking balance, and signing a transaction. No overlapping responsibilities or ambiguous boundaries.

    Naming Consistency5/5

    All tool names follow the verb_noun pattern in lowercase snake_case: create_wallet, check_balance, sign_transaction. Style is fully consistent across the set.

    Tool Count5/5

    Three tools is a compact and well-scoped set for a wallet manager covering creation, inspection, and transaction signing. Each tool serves a distinct and necessary purpose.

    Completeness4/5

    Core wallet functions are covered: create/import, balance query, and signing. Minor gaps exist, such as account cleanup or direct transaction submission, but agents can accomplish primary wallet management tasks without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform blockchain operations like wallet management, token info, DeFi swaps, cross-chain bridging, and price checking across Ethereum, BNB Chain, and Solana.
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes Nerve blockchain JSON-RPC and REST APIs as MCP tools, enabling AI agents to receive, pay, swap, and query balances with local account management and no gas fees.
      1
      -