SAP MCP Server
The SAP MCP Server is a production-ready Model Context Protocol server for the Solana Agent Protocol (SAP) ecosystem, enabling AI agents to register, manage, pay, and interact with on-chain agent infrastructure on Solana. It supports both local stdio and remote Streamable HTTP deployments.
Agent Registry & Management
Register, update, deactivate, reactivate, and close SAP agents on-chain
Report served call counts and self-reported reputation metrics (latency, uptime)
Fetch agent identity, stats, profiles, and active status by wallet or PDA
Discovery & Indexing
List and discover agents by protocol, capability, or category
Fetch global registry state, network overviews, tool descriptors, and capability/protocol indexes
Get SAP network statistics (agent counts, call volumes, etc.)
Tool Registry
Publish, update, deactivate, and reactivate on-chain tool descriptors
Report tool invocation counts
Escrow & Payments (V1 & V2)
Create, deposit into, settle, batch-settle, withdraw from, and close V1 and V2 escrows
Estimate and calculate per-call costs with optional volume curve pricing
Prepare x402 payment contexts and build x402 HTTP payment headers
Finalize pending V2 settlements, file V2 disputes, and read next settlement index
Subscriptions
Create, fund, and cancel recurring agent subscriptions
Staking
Initialize, deposit, request unstake, and complete unstake for agent stake accounts
Reputation & Trust
Give, update, and revoke on-chain feedback and attestations for agents
Score agents with FairScale and evaluate them through a trust gate
Memory & Sessions
Initialize on-chain memory vaults and open sessions by session hash
Inscribe encrypted memory (standard and compact modes)
Start, read, and check status of high-level SDK sessions; fetch session ledgers and epoch pages
Solana Name Service (SNS)
Check availability and batch-check
.soldomainsResolve domains to SAP agent identity, wallet, and SNS records
Register
.soldomains for SAP agent wallets (with USDC payment)Manage SNS records (create, update, delete) and set primary domains
Solana & SPL Token Operations
Fetch SOL balances for any wallet
Deploy new SPL tokens with Metaplex metadata
Transfer SPL tokens between wallets (with optional ATA creation)
Additional Features
Professional setup wizard with profile-managed configuration
Optional Bento policy integration for enhanced control
Self-hosted x402 facilitator support and
pay.shprovider YAML generationAuthentication options: bearerless, API key, or JWT
Click on "Install 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 MCP Serverlist all agents"
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 MCP Server
Production-oriented Model Context Protocol server for OOBE Synapse Agent Protocol, Solana, Synapse AgentKit, SNS, and monetized hosted agent workflows.
SAP MCP exposes the same typed tool registry through two supported MCP launch modes:
Local stdio for desktop agents and local development.
Remote Streamable HTTP at
/mcpfor hosted customers and orchestrators.
It also includes a professional setup wizard, profile-managed config under ~/.config/mcp-sap, optional Bento policy integration, local and external signing modes, x402 monetization, a self-hosted OOBE facilitator, pay.sh provider YAML generation, and an A2A-compatible discovery card.
User-facing setup docs live in USER_DOCS/. Operator and engineering docs live in docs/.
1. Status
Area | Current behavior |
Package version |
|
MCP transport | stdio locally, Streamable HTTP remotely |
Remote access | Bearerless public mode for hosted agents; API key or JWT for private modes |
Config directory |
|
Agent wallet | Dedicated wallet path under |
Solana CLI keypair | Never modified by the wizard |
Policy | Local policy by default, optional Bento or hybrid policy |
Monetization | Optional remote-only x402/pay.sh payment flow with per-tool pricing |
Signing | Local dedicated wallet or external signer, depending on profile mode |
Discovery | A2A-compatible card at |
Related MCP server: hivegate
2. Install
Prerequisites:
node --version # >= 22.12.0
corepack enable
corepack prepare pnpm@11.7.0 --activate
pnpm --version # 11.7.0From source:
pnpm install
pnpm run buildDo not use npm install for source deployments. This repository is locked and verified with pnpm.
From the published package:
npm install -g @oobe-protocol-labs/sap-mcp-server3. Quick Start
Create or select a profile:
npx sap-mcp-config wizardRepair hosted SAP MCP runtime entries without recreating the profile:
npx sap-mcp-config repairAfter connecting hosted SAP MCP in an agent runtime, start the agent context with one short message:
Start SAP MCP.The agent should call the free sap_agent_start tool or sap-agent-start
prompt, load sap_skills_bundle, and use the local sap_payments bridge for
paid/write hosted calls.
Inspect the active profile:
npx sap-mcp-config show
npx sap-mcp-config pubkey
npx sap-mcp-config profilesStart local stdio MCP:
sap-mcp-serveror from source:
node dist/cli.jsHosted customers connect their agents to https://mcp.sap.oobeprotocol.ai/mcp, but signing remains user-controlled. The recommended setup for most users is the wizard-managed pair of MCP entries:
sap: hosted Streamable HTTP SAP MCP athttps://mcp.sap.oobeprotocol.ai/mcp;sap_payments: local non-custodial payment bridge for x402/pay.sh paid/write calls.
Any user who wants to pay x402/pay.sh charges, register or operate a SAP identity, or execute value-moving Solana/SAP tools should run the wizard first and keep the dedicated wallet under ~/.config/mcp-sap/keypairs/ or behind an external signer. Read-only hosted discovery can use the remote URL without a local signer.
4. Local Client Config
For local agents, let SAP MCP follow the active profile manager instead of hard-coding wallet paths or stale RPC overrides:
{
"mcpServers": {
"sap": {
"command": "sap-mcp-server",
"env": {
"SAP_MCP_ALLOW_ENV_CONFIG_OVERRIDE": "false",
"SAP_LOG_LEVEL": "info"
}
}
}
}Codex uses TOML rather than the JSON mcpServers shape. For hosted remote MCP, add this to ~/.codex/config.toml and restart Codex:
[mcp_servers.sap]
url = "https://mcp.sap.oobeprotocol.ai/mcp"For paid/write hosted tools, add the local non-custodial payment bridge as well:
[mcp_servers.sap_payments]
command = "npx"
args = ["--yes", "--package", "@oobe-protocol-labs/sap-mcp-server@0.9.3", "sap-mcp-server"]
startup_timeout_sec = 300
tool_timeout_sec = 300
[mcp_servers.sap_payments.env]
SAP_MCP_ALLOW_ENV_CONFIG_OVERRIDE = "false"
SAP_MCP_PAYMENTS_BRIDGE_ONLY = "true"
SAP_ALLOWED_TOOLS = "all"
SAP_LOG_LEVEL = "info"On Windows, use command = "npx.cmd". The wizard can write this automatically.
Codex supports Streamable HTTP MCP servers with URL-based entries in config.toml. Use local stdio through npx only when you specifically want Codex to launch the local SAP MCP process:
[mcp_servers.sap]
command = "npx"
args = ["--yes", "--package", "@oobe-protocol-labs/sap-mcp-server@0.9.3", "sap-mcp-server"]
[mcp_servers.sap.env]
SAP_MCP_ALLOW_ENV_CONFIG_OVERRIDE = "false"
SAP_LOG_LEVEL = "info"On Windows, use command = "npx.cmd".
5. Remote Server
Remote deployments expose MCP over Streamable HTTP:
node dist/remote/server.jsProduction environment values should come from a private secret store or private deployment file, not from public docs. Public hosted agent-facing deployments can use SAP_MCP_AUTH_TYPE=none when x402, rate limits, and policy are enabled. API key or JWT auth remains available for private beta, enterprise, and admin deployments.
Remote endpoints:
GET /
GET /docs
GET /server.json
GET /favicon.png
GET /favicon.ico
GET /health
GET /openapi.json
GET /.well-known/x402
GET /pay/provider.yml
GET /.well-known/agent-card.json
GET /.well-known/sap-mcp-wizard.json
GET /wizard/install.sh
POST /mcp
GET /mcp
DELETE /mcpGET / is a public, share-safe landing page with Open Graph/Twitter metadata. It exposes only public server information; keypair bytes, private wallet paths, RPC query secrets, and VPS-local paths must never appear there.
GET /docs serves the public documentation site for install, start, configuration, hosted remote MCP, x402/pay.sh payments, and MCP client setup.
Marketplace listings such as Smithery can use smithery.config.schema.json
to explain the hosted setup path. The schema intentionally asks for no
secrets: SAP MCP hosted reads work remotely, while paid/write calls use the
wizard-managed local sap_payments bridge, local profile policy, and
user-controlled signer.
See 05. Remote VPS Deployment and 07. Endpoints And Clients.
6. Monetization
Hosted HTTP deployments can require payment for paid tools/call requests while leaving local stdio and base MCP protocol calls free.
Initial model:
Tier | Examples | Price |
Free |
| Free |
Premium read |
|
|
Builder or batch | complex builders, SNS/domain batch checks, enriched analytics |
|
Value action | selected value-linked operations | fixed |
Enable x402:
SAP_MCP_MONETIZATION_ENABLED=true
SAP_MCP_MONETIZATION_PROVIDER=x402
SAP_MCP_MONETIZATION_PAY_TO=YOUR_SOLANA_USDC_RECIPIENT
SAP_MCP_X402_FACILITATOR_URL=YOUR_PRIVATE_OR_HOSTED_FACILITATOR_URLInitialize and run the OOBE facilitator:
npx sap-mcp-facilitator init
npx sap-mcp-facilitator startGenerate a pay.sh provider YAML:
The hosted public catalog is available at https://mcp.sap.oobeprotocol.ai/pay/provider.yml.
It is secret-free and intended for pay.sh catalog/proxy discovery.
npx sap-mcp-pay-sh-spec \
--out sap-mcp-pay-sh.yml \
--upstream-url https://mcp.sap.oobeprotocol.ai \
--network mainnet \
--recipient YOUR_SOLANA_USDC_RECIPIENTSee 06. Payments, x402, And pay.sh.
For local agent runtimes that cannot replay x402 challenges natively, install
the wizard's local sap_payments bridge and call sap_payments_call_paid_tool.
The legacy CLI helper is still available for terminal use:
npm exec --yes --package @oobe-protocol-labs/sap-mcp-server -- sap-mcp-x402-paid-call \
--tool sap_list_all_agents \
--arguments '{"limit":5}' \
--max-usd 0.02 \
--confirmThe helper signs payment payloads with the user's local SAP MCP profile and never sends keypair bytes to the hosted server.
7. Commands
pnpm run typecheck
pnpm run lint
pnpm test -- --run
pnpm run build
pnpm run verify:releaseInstalled binaries:
Command | Purpose |
| Local stdio MCP server and CLI entry point |
| Remote MCP server with bearerless, API key, and JWT modes |
| Config CLI, profile manager, approval workflow, and wizard |
| TUI configuration wizard |
| Local signing proxy |
| Self-hosted x402 SVM facilitator |
| pay.sh provider YAML generator |
| Legacy terminal/custom-wrapper fallback for hosted x402 paid MCP tools |
8. Documentation
Start with 00. Documentation Index.
Document | Purpose |
Product model, users, public/private repo guidance, and wizard distribution. | |
Runtime modules, local flow, remote flow, signing, payments, and trust boundaries. | |
Profile manager, wizard, wallet isolation, client injection, and config CLI. | |
Local setup for Claude, Hermes, Codex, OpenClaw, and development agents. | |
Hosted deployment, reverse proxy, PM2, and customer onboarding. | |
Pricing, x402 gate, pay.sh provider YAML, facilitator signer, and settlement. | |
HTTP endpoints, headers, smoke tests, and client examples. | |
Key material rules, signer modes, Bento policy, and transaction safety. | |
Tool families, SDK doc pointers, skills, and agent behavior. | |
Quality gates, PM2, secrets, release packaging, and changelog discipline. | |
Current engineering scorecard, release gates, quality rules, and residual risks. | |
Signed thematic group chat, room manifests, retrieval, link sharing, privacy boundaries, and SDK roadmap. |
9. Repository Layout
src/
adapters/ MCP and Solana adapter helpers
config/ Runtime config, secure config manager, setup wizard pipeline
core/ Shared runtime types, errors, logger, constants
payments/ x402 monetization, facilitator, usage ledger, pay.sh spec
policy/ Local, Bento, and hybrid policy engines
remote/ Streamable HTTP MCP server
resources/ MCP resources
security/ Private-key, unsafe-action, and permission guards
server/ MCP server factory and capability registration
signer/ Local, delegated, and external signer adapters
tools/ SAP, Solana, AgentKit, SNS, profile, skill, chat, and payment tools
transports/ stdio and local HTTP transport helpers10. License
SAP MCP Server is released under the MIT License.
11. Partner Products
Partner / Product | Integration |
Optional policy layer for AI-assisted intent scoring, escalation, and hybrid local/Bento guardrails. Uses the optional |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/OOBE-PROTOCOL/sap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server