Skip to main content
Glama
sylvainlondon136

onchain-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SOLANA_RPC_URLNoCustom Solana RPC URL (default: https://api.mainnet-beta.solana.com)
JUPITER_PRICE_APINoCustom Jupiter price API URL (optional)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 lamports and human-readable sol.

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 tokens list of {mint, amount, decimals, ui_amount}.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have distinct purposes, but get_account_info and get_sol_balance overlap because the former already returns lamports, which is the SOL balance. This could cause confusion for agents.

Naming Consistency5/5

All tools follow a consistent 'get_noun' pattern in snake_case, making it easy to predict tool names and understand their actions.

Tool Count5/5

With 8 read-only tools covering key Solana on-chain data (accounts, tokens, transactions, network info), the count is well-scoped and not excessive.

Completeness4/5

Covers essential read operations, but missing tools for querying program accounts or arbitrary account data, leaving minor gaps for advanced use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues