Skip to content

@agenttrust-sdk/mcp v0.4.4 — single-tool bootstrap wave

Latest

Choose a tag to compare

@mohit-1710 mohit-1710 released this 13 May 19:20
· 45 commits to main since this release

Headline: A brand-new wallet with only ~/.config/solana/id.json goes from zero to "I can simulate payments and emit feedback" in one tool call. No precondition steps, no spoon-feeding.

Install

npx -y @agenttrust-sdk/mcp@latest
# or pin: npm i -g @agenttrust-sdk/mcp@0.4.4

Hosted: https://mcp.agenttrust.tech (21 tools, devnet)

What's in this wave

Single-atomic-tx bootstrap. agenttrust_init_policy now prepends up to three init instructions before the policy itself, gated by fetchNullable existence checks so repeat callers pay no extra gas:

  1. register_agent_via_cpi — orchestrates Quantu agent registration through TrustGate (new on-chain instruction)
  2. init_authority — creates the TrustGate authority PDA
  3. init_killswitch — seeds the KillSwitchState PDA

Verified live on devnet: 2zxucf9DjPYrqSMBhzL9SXmw6ZEBx8ut8KdjuCp6SEwwCmmEUbgFUCvF89ZLWUi73aqsBi2nTpouDM9YBcQbp8La — 6 PDAs initialized in one atomic tx.

Two new write tools. Tool count goes from 19 to 21:

  • agenttrust_register_namespace — claim a capability namespace prefix
  • agenttrust_register_attestor — promote the signer to attestor role

Counterparty bootstrap envelope. When simulate_payment discovers a payee without a Quantu profile, the chain_error now carries a bootstrap_required hint with actionable copy and the discovery path (agenttrust_demo_state lists bundled counterparties).

On-chain orchestrator pattern. programs/trustgate/src/instructions/register_agent_via_cpi.rs is the first instance of TrustGate-as-orchestrator: cross-program CPIs into Quantu happen inside TrustGate's atomic transaction, so callers stay inside AgentTrust's surface and never need to learn Quantu's PDA layout.

Hot-fix patches included: 0.4.0 → 0.4.4 carried IDL refreshes (init_if_needed for TrustGateAuthority), agent_registry program in register_agent_via_cpi's remaining_accounts, and the KillSwitchState self-heal addition.

Gate evidence

End-to-end transcripts + on-chain signatures + PDA dumps from a fresh wallet under submission/e2e-claude-code-0.4.0-2026-05-13/. Six gate runs documented, four bugs the gate caught that unit tests missed.

Verification

curl -sf https://mcp.agenttrust.tech/ | jq '{ version, toolCount }'
# { "version": "0.4.4", "toolCount": 21 }

Companion release

Pairs with @agenttrust-sdk/trustgate@0.4.1.