onchain-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SOLANA_RPC_URL | No | Custom Solana RPC URL (default: https://api.mainnet-beta.solana.com) | |
| JUPITER_PRICE_API | No | Custom Jupiter price API URL (optional) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_sol_balanceA | Get the native SOL balance of a Solana account. Args: address: Base58-encoded account/wallet address. Returns a dict with the raw |
| get_token_holdingsA | List the non-zero SPL token balances held by a Solana wallet. Args: address: Base58-encoded wallet address. Returns a dict with a |
| get_token_priceB | Get the USD price of an SPL token by its mint address (via Jupiter). Args: mint: Base58-encoded token mint (e.g. the USDC or SOL mint). Returns {mint, price_usd, found}. |
| get_transactionA | Summarize a Solana transaction by its signature. Args: signature: Base58-encoded transaction signature. Returns slot, block_time, fee, error status, and log messages. |
| get_account_infoA | Get basic on-chain info for an account: owner program, lamports, executable flag. |
| get_token_supplyA | Get the total on-chain supply of an SPL token mint. Args: mint: Base58-encoded token mint address. Returns {mint, amount (raw), decimals, ui_amount}. |
| get_recent_signaturesA | List the most recent transaction signatures touching an account. Args: address: Base58-encoded account/wallet address. limit: Max number of signatures (1-100, default 10). Returns {address, count, signatures: [{signature, slot, block_time, succeeded}]}. |
| get_epoch_infoA | Get current Solana network epoch/slot info (epoch, slot, block height, progress). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sylvainlondon136/onchain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server