SAP MultiHopper Mandate Vault MCP Server
Provides tools for deriving OOBE Protocol SAP v2 mandate hierarchies and evaluating/encoding SAP mandate vault state.
Enables interaction with Solana Mainnet, including PDA derivation for SAP and MultiHopper programs, mandate evaluation, fee/revshare calculation, webhook verification, and mainnet program deployment verification.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SAP MultiHopper Mandate Vault MCP Server quote the MultiHopper fee split for a 5 SOL route"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SAP MultiHopper Mandate Vault (@lbcron/sap-multihopper-vault)
Non-custodial Rust Solana Mandate Vault, TypeScript SDK, JSON-RPC 2.0 MCP Server, and Interactive Web Console purpose-built for Steve Capital (OOBE Protocol SAP v2) and MultiHopper Programmable Asset Routing on Solana Mainnet.
Live Interactive Console:
https://lbcron.github.io/sap-multihopper-vault/Integrator & Rewards Wallet (Solana Mainnet):
32647Bri8KhJQE11x26iF7fpae9nouCJSZ8Y2VPpq5yMAuthor: Ronan Chen Lopes (
@LBCron)
Architecture Overview
flowchart LR
Owner["Human Owner Wallet"] -->|Initialize 234B Borsh State| Vault["Rust SAP Mandate Vault (crates/sap-mandate-program)"]
Steve["Steve Capital MCP Workspace"] -->|JSON-RPC 2.0 stdio| MCP["MCP Server (src/mcpServer.ts)"]
MCP -->|Evaluate >=20 USDC Gate, 24h Cap & Anti-Wash| Vault
MCP -->|Partial-Sign v0 Preserving Server Ephemeral Sig| Router["MultiHopper Core (3jLoS2wb...spFh)"]
Router -->|Atomic 0.25% Integrator RevShare| Treasury["32647Bri8KhJQE11x26iF7fpae9nouCJSZ8Y2VPpq5yM"]Core Capabilities
Deterministic Rust On-Chain Mandate Engine (
crates/sap-mandate-program/)Implements
MandateVaultState(234bytes deterministic Borsh layout with 8-byte FIPS 180-4 SHA-256 Anchor discriminators) andSubAgentDelegateState.Enforces the Steve Capital
>= 20.00 USDC(20,000,000micro-USDC) Arena readiness invariant, per-route principal caps, rolling86,400s(24h) ceilings, monotonic clock progression, owner-only emergency pause, and specialist sub-agent protocol/expiry scopes.Blocks self-transfers, circular intermediate hops, duplicate dispersion wallets, and
> 20Multi-Send bundles (MH_041) while counting routed principal strictly once per route.
Byte-Exact TypeScript SDK & Crash-Safe v0 Signer (
src/)Derives deterministic PDAs across OOBE SAP v2 (
SAPpUhsWLJG1FfkGRcXagEDMrMsWGjbky7AyhGpFETZ), MultiHopper Core (3jLoS2wbNgtKzieUUxwg6Xhdv6gbZkHDtPWA9ZAgspFh), MultiHopper Orchestrator (4TPCmR2uN3hDM1FbTsf7ZtFXwXGSz4u1Kxv5YHj6eruX), and Token-2022 Transfer Hook Guard (2JEv3pD6nczEvn1xDXaEzehkJofPPjoQQpnW5nGY3r52).Computes exact
BigIntMultiHopper0.50%(50 bps) fees and0.25%(25 bps) atomic integrator revenue shares (993,905,472lamports ->4,969,527total fee /2,484,763integrator share) with zero lost dust across<= 20weighted Multi-Send recipients.Preserves server-side ephemeral partial signatures on
VersionedTransaction (v0)(signPreservingPartialV0) and verifiesx-multihopper-signaturewebhooks via constant-timeHMAC-SHA256.
Drop-In Steve Capital MCP Server (
src/mcpServer.ts)Exposes
sap_derive_hierarchy,mandate_evaluate_and_encode,multihopper_quote_fee_split,multihopper_verify_webhook, andsolana_verify_mainnet_programsover JSON-RPC 2.0 (protocolVersion: "2025-06-18").
Related MCP server: Web3 MCP
Quickstart & Verification
# Install dependencies
npm install
# Run full Rust crate tests + TypeScript strict check + Vitest suite (including live Solana Mainnet RPC check)
npm test
# Verify live Solana Mainnet-Beta program deployment directly
npm run verify:mainnet
# Start JSON-RPC 2.0 MCP server for Steve Capital MCP Workspace
npm run mcpLicense
MIT — Copyright (c) 2026 Ronan Chen Lopes (@LBCron).
Available Tools
5 toolsmandate_evaluate_and_encodeC
Evaluates Steve Capital >=20 USDC gate, rolling 24h cap, anti-wash rules, and encodes the Anchor authorize_multihopper_route instruction.
Inputs: recipients (required), agentWallet (required), ownerWallet (required), hopAmountRaw (required), +6 more.
multihopper_quote_fee_splitB
Computes exact BigInt 0.50% MultiHopper fee and 0.25% atomic integrator revenue share wired to 32647Bri8KhJQE11x26iF7fpae9nouCJSZ8Y2VPpq5yM.
Inputs: hopAmountRaw (required).
multihopper_verify_webhookC
Verifies x-multihopper-signature HMAC-SHA256 webhook payload in constant time.
Inputs: secret (required), rawBody (required), signatureHex (required).
sap_derive_hierarchyC
Derives deterministic OOBE SAP v2, MultiHopper Core/Orchestrator, and SAP Mandate Vault PDAs.
Inputs: owner (required), vaultId (required), routeHex (required), agentWallet (required), +1 more.
solana_verify_mainnet_programsC
Verifies live Solana Mainnet-Beta executable status of OOBE SAP v2 and MultiHopper programs.
Inputs: rpcUrl.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a clearly different operation: PDA derivation, mandate policy evaluation plus instruction encoding, fee-split BigInt math, HMAC webhook verification, and on-chain program status checks. The only mild overlap is between sap_derive_hierarchy and solana_verify_mainnet_programs, which both touch on-chain program/PDA state, but their purposes remain distinct.
All names are snake_case and follow a subsystem-prefix + verb_noun pattern (sap_derive_hierarchy, mandate_evaluate_and_encode, multihopper_quote_fee_split, multihopper_verify_webhook, solana_verify_mainnet_programs). The prefixes vary by subsystem (sap_/mandate_/multihopper_/solana_), which is readable but slightly less uniform than a single global verb_noun convention.
Five tools is well-scoped for a narrow, specialized mandate-vault/fee-quoting workflow. Each tool covers a distinct piece of the pipeline (derive, evaluate/encode, quote, verify webhook, verify programs) with no filler.
The surface covers derivation, policy evaluation/encoding, fee quoting, and two verification paths, but there is no read/query tool for mandate state, rolling 24h usage, or existing routes, and no way to sign/dispatch or check the status of an encoded instruction. Agents can work around some of this off-chain, but key lifecycle steps are missing.
Maintenance
Related MCP Connectors
Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.
Non-custodial Solana toolkit: rug-checks, swaps, token tools, multisig, DLMM pools, Arweave.
Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Solana rug checks, memecoin tools, swaps, and JestSprout Pay pages (Apple Pay, Solana Pay) + shop.
Related MCP Servers
- AlicenseAqualityBmaintenance9-tool MCP server for the anchor-x402 commodity services: dual-chain hash anchoring (Base + Solana), OFAC sanctions screening, signed decision attestation, mainnet tx decode, ENS/SNS name resolution, USD spot price, EVM calldata decode, datetime parser, and bundled wallet intelligence. Agents pay $0.001–$0.010 USDC per call directly from a Base wallet via x402 — no API keys, no accounts.14128 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to interact with multiple blockchains including Solana, Ethereum, Cardano, THORChain, XRP Ledger, TON, and UTXO chains through simple RPC endpoints for balances, transactions, swaps, and network queries.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables querying blockchains across EVM, Solana, Bitcoin/UTXO, and Cosmos through a unified interface, with tools for resolving addresses, checking balances, fetching transactions and blocks, reading contracts, decoding calldata, and building unsigned transfers.4 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to derive OOBE SAP v2 PDAs, evaluate mandate and allocation constraints, plan crash-safe MultiHopper routes, verify webhooks, and check Solana mainnet program status through six JSON-RPC tools.MIT