{"type":"mcp_server","name":"mcp-sol","description":"This repository provides a Model Context Protocol (MCP) server for Solana clients, enabling Claude Desktop to interact with the Solana blockchain using a variety of tools for retrieving data and managing transactions.","category":"Developer Tools","language":"Python","stars":4,"forks":0,"owner":"tywenk","github_url":"https://github.com/tywenk/mcp-sol","homepage":null,"setup":"## Setup\n\nTo install mcp-solana for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@tywenk/mcp-solana):\n\n```bash\nnpx -y @smithery/cli install @tywenk/mcp-solana --client claude\n```\n\nInstallation of server:\n\n```sh\ngit clone git@github.com:tywenk/mcp-sol.git\ncd mcp-sol\nuv sync\nmcp install src/server.py\n```\n\nEnsure the Claude desktop JSON config at `/Users/{user}/Library/Application Support/Claude` (on a Mac) looks something like this. Note that the `uv` binary and paths are all absolute.\n\n```json\n{\n  \"globalShortcut\": \"Alt+Space\",\n  \"mcpServers\": {\n    \"Solana Client\": {\n      \"command\": \"/Users/tywen/.local/bin/uv\",\n      \"args\": [\n        \"--directory\",\n        \"/Users/tywen/Developer/mcp-sol\",\n        \"run\",\n        \"--with\",\n        \"mcp\",\n        \"mcp\",\n        \"run\",\n        \"/Users/tywen/Developer/mcp-sol/src/server.py\"\n      ]\n    }\n  }\n}\n```","tools":"## Available Tools\n\n1.  get_balance (Retrieves the balance of an account.)\n2.  get_transaction (Retrieves a specific transaction.)\n3.  get_block (Retrieves a specific block.)\n4.  get_block_height (Retrieves the current block height.)\n5.  get_block_time (Retrieves the time of a specific block.)\n6.  get_blocks (Retrieves a range of blocks.)\n7.  get_cluster_nodes (Retrieves information about the cluster nodes.)\n8.  get_epoch_info (Retrieves information about the current epoch.)\n9.  get_epoch_schedule (Retrieves the epoch schedule.)\n10. get_genesis_hash (Retrieves the genesis hash.)\n11. get_identity (Retrieves the identity.)\n12. get_inflation_governor (Retrieves the inflation governor.)\n13. get_inflation_rate (Retrieves the inflation rate.)\n14. get_largest_accounts (Retrieves the largest accounts.)\n15. get_latest_blockhash (Retrieves the latest blockhash.)\n16. get_minimum_balance_for_rent_exemption (Retrieves the minimum balance for rent exemption.)\n17. get_program_accounts (Retrieves accounts owned by a specific program.)\n18. get_recent_performance_samples (Retrieves recent performance samples.)\n19. get_signature_statuses (Retrieves the statuses of signatures.)\n20. get_slot (Retrieves the current slot.)\n21. get_slot_leader (Retrieves the slot leader.)\n22. get_supply (Retrieves the total supply.)\n23. get_token_account_balance (Retrieves the balance of a token account.)\n24. get_token_largest_accounts (Retrieves the largest token accounts.)\n25. get_transaction_count (Retrieves the transaction count.)\n26. get_version (Retrieves the version.)\n27. get_vote_accounts (Retrieves the vote accounts.)\n28. is_connected (Checks if the client is connected.)\n29. get_block_commitment (Retrieves the block commitment.)\n30. confirm_transaction (Confirms a transaction.)\n31. get_account_info (Retrieves information about an account.)\n32. get_fee_for_message (Retrieves the fee for a message.)\n33. get_first_available_block (Retrieves the first available block.)\n34. get_inflation_reward (Retrieves the inflation reward.)\n35. get_leader_schedule (Retrieves the leader schedule.)\n36. get_minimum_ledger_slot (Retrieves the minimum ledger slot.)\n37. get_multiple_accounts (Retrieves multiple accounts.)\n38. get_signatures_for_address (Retrieves signatures for an address.)\n39. get_token_accounts_by_delegate (Retrieves token accounts by delegate.)\n40. get_token_accounts_by_owner (Retrieves token accounts by owner.)\n41. get_token_supply (Retrieves the token supply.)\n42. request_airdrop (Requests an airdrop.)\n43. send_transaction (Sends a transaction.)\n44. validator_exit (Exits a validator.)","faq":null,"created_at":"2025-01-25T20:58:58+00:00","updated_at":"2025-03-18T13:12:04+00:00","source_url":"https://model-context-protocol.com/servers/solana-model-context-protocol-client","related_articles":[]}