WalletMCP logo

WalletMCP

by paulfruitful

WalletMCP is a Model Context Protocol (MCP) server implementation for interacting with the Solana blockchain. It exposes developer-friendly tools for working with wallets, transactions, program buffers, logs, and SOL transfers through MCP-compatible interfaces.

View on GitHub

Last updated: N/A

What is WalletMCP?

WalletMCP is an MCP server that provides tools for interacting with the Solana blockchain, allowing developers to easily manage wallets, transactions, program buffers, and SOL transfers.

How to use WalletMCP?

To use WalletMCP, clone the repository, install dependencies, and build the server. Then, configure the Claude Desktop MCP Client to connect to the server. Once configured, you can use the provided tools by asking questions or providing prompts related to Solana wallets.

Key features of WalletMCP

  • Retrieve wallet transactions and SOL balances

  • Access program logs from the Solana blockchain

  • Claims Unused Rents (List and close BPF Upgradeable Loader buffers)

  • Send SOL transactions programmatically

  • Fully MCP-compliant tool definitions using Zod for schema validation

Use cases of WalletMCP

  • Checking recent transactions for a Solana wallet

  • Retrieving the SOL balance of a wallet

  • Automating SOL transfers between wallets

  • Analyzing program logs for debugging purposes

  • Claiming unused rents from BPF Upgradeable Loader buffers

FAQ from WalletMCP

How do I install WalletMCP?

Clone the repository, install dependencies using npm install, and build the server using npm run build.

How do I connect WalletMCP to Claude Desktop?

Edit the Claude Desktop config file (claude_desktop_config.json) and add the WalletMCP server configuration with the correct path to the index.js file.

What kind of questions can I ask Claude Desktop to use WalletMCP?

You can ask questions relating to Solana wallets, such as 'What are my recent transactions?', 'How much SOL do I have?', or 'Can you send SOL to account [accountAddress]?'

What security measures should I take when using WalletMCP?

Always protect your private keys. The server does not store or log keys, but it's crucial to keep them secure.

Can I contribute to WalletMCP?

Yes, the project is open to contributions. You can open an issue or submit a pull request with your improvements.