Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

MCP Server

Tools

The Altana MCP server exposes 20 tools. AI hosts call them by name. Eleven of them also have a slash command for users to invoke directly (e.g. /altana-agentic-wallet:create-wallet); the rest are host-callable only. See Slash command equivalents.

Discovery

ToolPurpose
about_altanaReturns Altana's positioning, Keystore explainer, and SDK surface. AI hosts call this when the user asks "what is Altana".

Wallet lifecycle

ToolPurpose
create_walletGenerates a new private key, stores it in the OS keychain under the given name, returns the address.
list_walletsLists wallet names available on this machine (across keychain, file, env).
wallet_balanceReads native + optional ERC-20 balances for a stored wallet (pass tokens). BEP-677 scaled-UI-amount tokens are detected via ERC-165 and their display value is scaled automatically; raw stays the on-chain amount.
wallet_executeSubmits one or more calls signed by the wallet's admin key.

Verification

ToolPurpose
wallet_verificationLists all active keys on a wallet from Keystore.
verify_authorizationAnswers: is this key/session authorized on this wallet right now?

Session lifecycle

ToolPurpose
grant_sessionGenerates a session key, registers it in Keystore, authorizes it with the given permissions. Returns the session details, keyId, and the grant's transaction hash.
list_sessionsLists local session metadata (those granted from this machine).
session_executeSubmits calls signed by a stored session key.
revoke_sessionDeactivates the session in Keystore and pulls onchain authority.

Agent commerce

ToolPurpose
x402_requestFetches an HTTP URL, transparently paying an x402/B402 payment challenge with a session key (Permit2 or EIP-3009), and returns the paid resource.
erc8183_create_jobHires an ERC-8183 seller agent (e.g. any BNB Agent Studio agent): escrows $U against its address for a task โ€” the whole buyer flow as one atomic relay intent.
erc8183_job_statusReads a job's on-chain state; once the seller submits, resolves and fetches the deliverable.
erc8183_settleReleases the escrow to the seller after the dispute window (approve), or contests inside it (dispute).

Agent identity

On-chain ERC-8004 identity, so an agent on an Altana wallet is discoverable by buyers and other agents. The session must have been granted erc8004RegisterPermissions(chainId); the write tools check that client-side before spending gas.

ToolPurpose
erc8004_registerMints the agent's identity and publishes its registration record, running both phases (mint, then write the assigned agentId back into the record). If the mint lands but the write-back fails, the agentId is still returned with repair instructions โ€” registering again would mint a second identity.
erc8004_set_agent_uriRewrites the record of an agent the wallet owns โ€” changing its endpoint, or repairing a partial registration. Takes a ready-made agentUri or the structured fields.
erc8004_showReads an agent's owner and registration record by id, decoding the record when it is a base64 data URI.

Skills

Certified protocol playbooks from the Altana skills registry. The registry URL defaults to the public repo's main branch and is overridable with the ALTANA_SKILLS_INDEX_URL environment variable.

ToolPurpose
search_skillsKeyword search over the registry (name, description, tags). Returns matching skills with their scope and certification scorecard, ranked by how many query words match. Call when the user asks to trade or interact with a DeFi protocol.
get_skillFetches one skill's full SKILL.md playbook by id. The content is integrity checked against the registry's sha256 before it is returned, so a tampered playbook is rejected rather than followed. Also returns the skill's scope (allowed contracts, suggested spend cap) and scorecard.

Slash command equivalents

Eleven of the 20 tools have a matching prompt, exposed as a slash command. One further command, demos, lists demo flows and maps to no tool:

Slash commandCalls
/altana-agentic-wallet:aboutabout_altana
/altana-agentic-wallet:create-walletcreate_wallet
/altana-agentic-wallet:list-walletslist_wallets
/altana-agentic-wallet:wallet-balancewallet_balance
/altana-agentic-wallet:wallet-infowallet_verification
/altana-agentic-wallet:verify-sessionverify_authorization
/altana-agentic-wallet:grant-sessiongrant_session
/altana-agentic-wallet:list-sessionslist_sessions
/altana-agentic-wallet:session-executesession_execute
/altana-agentic-wallet:revoke-sessionrevoke_session
/altana-agentic-wallet:send-txwallet_execute
/altana-agentic-wallet:demoslisting of available demo flows

Nine tools have no slash command: x402_request, erc8183_create_job, erc8183_job_status, erc8183_settle, erc8004_register, erc8004_set_agent_uri, erc8004_show, search_skills, and get_skill. Ask the host to use them by name instead; typing /altana-agentic-wallet:x402-request will not resolve.