mastrophot avatar

Near Wallet Manager

mastrophot/near-mcp-wallet-manager

This server gives Claude direct access to NEAR Protocol wallet operations through three focused tools: creating ED25519 keypairs with implicit account IDs, fetching account balances via NEAR's JSON-RPC, and signing transaction payloads for transfers or function calls. It's built for agent workflows that need to provision wallets on the fly, check balances, and execute deterministic transaction signing without manual intervention. The sign_transaction tool handles the full signing flow and returns both the signature and base64 encoded transaction blob ready for broadcast. Useful when you're building agents that need to manage NEAR accounts programmatically or execute on-chain actions as part of automated workflows on testnet or mainnet.

tools
3
transport
STDIO
last updated
Mar 16, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

create_walletGenerates ED25519 keypair or imports existing private key, returning public key + implicit account id.

Generates ED25519 keypair or imports existing private key, returning public key + implicit account id.

No parameter schema in public metadata yet.

check_balanceFetches account balance over NEAR JSON-RPC, returning total/locked/available balances and key count.

Fetches account balance over NEAR JSON-RPC, returning total/locked/available balances and key count.

No parameter schema in public metadata yet.

sign_transactionSigns NEAR transaction payloads with transfer/function_call actions, returning transaction hash, signature, and base64 signed transaction blob.

Signs NEAR transaction payloads with transfer/function_call actions, returning transaction hash, signature, and base64 signed transaction blob.

No parameter schema in public metadata yet.

Sponsors

Readme

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"
}

View the full README on GitHub

Details

Repository
github.com/mastrophot/near-mcp-wallet-manager
Package
mcp-near-wallet-manager
Transport
STDIO
Registry
MCP registry, active

More from mastrophot