Skip to main content
Glama
erhnysr
by erhnysr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THRU_RPC_URLNoThru RPC endpointhttps://rpc.alphanet.thru.org
THRU_FAUCET_ACCOUNTNoFaucet account inspected by get_faucet_statustaxoImN8…In
THRU_NAME_SERVICE_PROGRAMNoName service program addresstaAAAA…UF

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_accountA

Look up a Thru account by public key and return its balance, nonce, owner program, size and flags. Balances are returned as raw integer strings.

get_transactionA

Fetch a Thru transaction by signature. Returns consensus status, execution result, fee payer, invoked program and resource consumption.

resolve_nameA

Resolve a Thru name service entry to its on-chain account. Accepts a root registrar name or a subdomain.root pair, derives the program address and decodes the account, returning the owner and any stored records.

get_faucet_statusA

Report the on-chain Thru faucet account: its current balance and the per-transaction withdraw limit. This is read-only — Thru exposes no HTTP faucet, so actually withdrawing requires submitting a signed transaction to the faucet program with a funded fee payer (use the thru CLI: thru faucet withdraw).

get_network_statusA

Check the health of the configured Thru RPC endpoint: node readiness, consensus state, chain id, current block heights and component versions.

query_eventsA

Query events emitted by Thru programs. Fetch one event by id, list an account's recent transaction history with its emitted events, or page through the most recent events chain-wide.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/erhnysr/thru-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server