This server enables MCP-compatible clients to interact with the Nano cryptocurrency network by:
Send Nano: Send a specified amount of Nano from a predefined account to a destination address
Get Account Info: Retrieve detailed information about any Nano account, including balance, representative, and frontier block
Get My Account Info: Retrieve information about the server's predefined account used for sending
Get Block Info: Retrieve detailed information about a specific Nano block using its hash
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nano Currency MCP Serversend 0.001 nano to nano_3abc123xyz789"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nano Currency MCP Server
Nano Currency MCP Server gives MCP-compatible clients (including AI agents) the ability to send Nano currency and retrieve account & block information via the Nano node RPC.
AI agents are increasingly adopting the MCP standard and this server gives them the ability to send Nano at their owner's request or possibly autonomously in some setups π€
Nano Currency MCP Server also allows for the creation of x402-compatible headers, giving AI agents the ability to pay for APIs/resources using Nano.
β What is MCP?
The Model Context Protocol (MCP) is an open framework that defines a standardized approach for applications to deliver context to Large Language Models (LLMs).
Related MCP server: EVM MCP Server
β What is Nano Currency?
Nano is a digital currency designed to enable fast, scalable, and feeless transactions. It aims to address common issues in traditional cryptocurrencies, such as high fees and slow processing times, making it an efficient option for everyday peer-to-peer payments. Learn more at nano.org
β What is x402?
x402 is an internet-native payment protocol that revives the unused HTTP 402 Payment Required status code to enable instant, programmatic, and permissionless payments over the web. Learn more at x402.org. Nano-specific x402 schemes and implementation code can be found at the x402nano GitHub resource.
π¨ Before Proceeding π¨
Caution: LLMs can hallucinate and not always perform as you want, so test this server with small amounts of Nano. Use either the RAW_MAX_SEND_AMOUNT or NANO_MAX_SEND_AMOUNT environment variables described later to restrict the maximum amount of Nano that can be sent at a time.
π οΈ Tools Provided by Nano Currency MCP Server
π§ raw_send - Send a specified amount of raw units from a predefined Nano account to a destination Nano account.
π§ nano_send - Send a specified amount of nano units from a predefined Nano account to a destination Nano account.
π§ nano_account_info - Retrieve detailed information about a specific Nano account, including balance (in both nano and raw units), representative, and frontier block.
π§ nano_my_account_info - Retrieve detailed information about my Nano account, including balance (in both nano and raw units), representative, and frontier block. This is the account that is used to send Nano from.
π§ block_info - Retrieve detailed information about a specific Nano block.
π§ x402_payment_signature_exact_scheme_create - Create the PAYMENT-SIGNATURE header for a Nano x402 transaction conforming to the exact scheme.
π Installation
Make sure you have Node.js with NPM installed on your system.
You will need an MCP client to connect to Nano Currency MCP Server. Each client will have its own way to connect to MCP servers. For your chosen client you will have to find out how environment variables for a MCP server are set. When you know how you will need to set the following environment variables to use the Nano Currency MCP Server.
βοΈ Environment Variables
NANO_RPC_URL (required) - URL which should be used to communicate with a Nano node RPC. This can be a local or remotely hosted endpoint.
NANO_WORK_GENERATION_URL - URL which should be used to communicate with an endpoint that supports the work_generate RPC command for work generation. If not specified, defaults to NANO_RPC_URL. Used by tools π§ nano_send π§ raw_send π§ x402_payment_signature_exact_scheme_create
NANO_PRIVATE_KEY - Nano private key which will be used to sign send transactions and to derive the Nano account from. Caution: π¨NOT THE WALLET SEEDπ¨. Test with the private key of an account with a small Nano balance. Used by tools π§ nano_send π§ raw_send π§ nano_my_account_info π§ x402_payment_signature_exact_scheme_create
RAW_MAX_SEND_AMOUNT - Maximum amount (in raw units) which can be sent in a single transaction. For safety purposes the default maximum send amount is 10000000000000000000000000000 raw (ΣΎ0.01). You must set this variable explicitly to grant the power to send higher amounts. Used by tools π§ raw_send π§ x402_payment_signature_exact_scheme_create
NANO_MAX_SEND_AMOUNT - Maximum amount (in nano units) which can be sent in a single transaction. For safety purposes the default maximum send amount is 0.01 nano (ΣΎ0.01). You must set this variable explicitly to grant the power to send higher amounts. Used by tools π§ nano_send π§ x402_payment_signature_exact_scheme_create
X402_NANO_NETWORK - The Nano network that an x402 Nano transaction is being created for. The default network is "nano:mainnet". Used by tools π§ x402_payment_signature_exact_scheme_create
Setup Example
The following is an example of a setup for Nano Currency MCP Server in Claude Desktop.
π¨ Disclaimer π¨
As always when working with real world value, in this case Nano, be careful when using this software. The authors and contributors shall not be held liable for any use of this software's functionality, intentional or unintentional, that leads to an undesired loss of funds.
π License
MIT