The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the SAP MCP Server listing page.
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:
/mcp for 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/.
| Area | Current behavior |
|---|---|
| Package version | 0.9.85 |
| MCP transport | stdio locally, Streamable HTTP remotely |
| Remote access | Bearerless public mode for hosted agents; API key or JWT for private modes |
| Config directory | ~/.config/mcp-sap only |
| Agent wallet | Dedicated wallet path under ~/.config/mcp-sap/keypairs/ by default |
| 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 /.well-known/agent-card.json |
Prerequisites:
From source:
Do not use npm install for source deployments. This repository is locked and verified with pnpm.
From the published package:
Create or select a profile:
Repair hosted SAP MCP runtime entries without recreating the profile:
After connecting hosted SAP MCP in an agent runtime, start the agent context with one short message:
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:
Start local stdio MCP:
or from source:
Hosted 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 at https://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.
For local agents, let SAP MCP follow the active profile manager instead of hard-coding wallet paths or stale RPC overrides:
Codex uses TOML rather than the JSON mcpServers shape. For hosted remote MCP, add this to ~/.codex/config.toml and restart Codex:
For paid/write hosted tools, add the local non-custodial payment bridge as well:
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:
On Windows, use command = "npx.cmd".
See 04. Local Stdio MCP Runbook.
Remote deployments expose MCP over Streamable HTTP:
Production 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 / 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. Hosted Streamable HTTP Deployment and 07. HTTP Endpoints, MCP Clients, And Smoke Tests.
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 | tools/list, prompts/list, resources/list, bootstrap/status/repair, cost estimation, local payment bridge control, SOL/SPL/x402 balance readiness, single-asset price snapshots, memory/audit, transaction preview/finalize helpers | Free |
| Micro read | exact agent/profile reads, compact directory pages, SNS availability, escrow state, lightweight trader context | $0.001 |
| Premium read | broad discovery, enriched holdings/DAS, token lists, quotes/routes, history/OHLCV, analytics, larger pages | $0.002 |
| Builder or batch | complex builders, SNS/domain batch checks, unsigned transaction builders, routing preparation | $0.006, batch = sum of paid calls |
| Value action | selected value-linked operations | fixed $0.06 standard, $0.035 selected heavy paths, plus optional bps |
Enable x402:
Initialize and run the OOBE facilitator:
Generate 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.
See 06. x402/pay.sh Monetization Settlement.
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:
The helper signs payment payloads with the user's local SAP MCP profile and never sends keypair bytes to the hosted server.
Installed binaries:
| Command | Purpose |
|---|---|
sap-mcp-server | Local stdio MCP server and CLI entry point |
sap-mcp-remote | Remote MCP server with bearerless, API key, and JWT modes |
sap-mcp-config | Config CLI, profile manager, approval workflow, and wizard |
sap-mcp-wizard | TUI configuration wizard |
sap-signing-proxy | Local signing proxy |
sap-mcp-facilitator | Self-hosted x402 SVM facilitator |
sap-mcp-pay-sh-spec | pay.sh provider YAML generator |
sap-mcp-x402-paid-call | Legacy terminal/custom-wrapper fallback for hosted x402 paid MCP tools |
Start with 00. Engineering Documentation Index.
| Document | Purpose |
|---|---|
| 01. Product Scope Deployment Model | Product model, users, public/private repo guidance, and wizard distribution. |
| 02. Runtime Architecture Trust Boundaries | Runtime modules, local flow, remote flow, signing, payments, and trust boundaries. |
| 03. Profile Config Wizard Injection | Profile manager, wizard, wallet isolation, client injection, and config CLI. |
| 04. Local Stdio MCP Runbook | Local setup for Claude, Hermes, Codex, OpenClaw, and development agents. |
| 05. Hosted Streamable HTTP Deployment | Hosted deployment, reverse proxy, PM2, and customer onboarding. |
| 06. x402/pay.sh Monetization Settlement | Pricing, x402 gate, pay.sh provider YAML, facilitator signer, and settlement. |
| 07. HTTP Endpoints, MCP Clients, And Smoke Tests | HTTP endpoints, headers, smoke tests, and client examples. |
| 08. Security Policy Signing Runbook | Key material rules, signer modes, Bento policy, and transaction safety. |
| 09. Tool Skill Routing Agent Operations | Tool families, SDK doc pointers, skills, and agent behavior. |
| 10. Release Operations PM2 Runbook | Quality gates, PM2, secrets, release packaging, and changelog discipline. |
| 11. Engineering Quality Audit Report | Current engineering scorecard, release gates, quality rules, and residual risks. |
| 12. Signed Agent Chat Protocol | Signed thematic group chat, room manifests, retrieval, link sharing, privacy boundaries, and SDK roadmap. |
| 13. Bounty Program Technical Spec | Partner bounty scope, judging criteria, and technical requirements. |
| 14. Desktop Wizard Release Artifacts | Native wizard packaging, signing, checksums, and release artifacts. |
| 15. Demo Dashboard Screenshare Runbook | Demo flow for hosted landing page, dashboard, wizard, and payment surfaces. |
| 16. Agent Identity Registry Pipeline | Registry source truth, enrichment, validation, and display pipeline. |
| 18. Premium Plugin Runtime Contracts | Premium plugin manifest contracts, provider readiness, streams, and webhooks. |
| 19. Agentic Standards Interoperability | MCP, A2A, marketplace, x402/pay.sh, and runtime alignment. |
| 20. Engineering Operating Model Boundaries | Branch ownership, service contracts, release personas, and company-grade gates. |
The repository is a modular monorepo. Real source code lives in packages/*/src/; the corresponding src/ directories are thin compatibility wrappers (export * from '../../packages/...') that preserve existing import paths.
The root package.json re-exports all package surfaces so consumers can import from @oobe-protocol-labs/sap-mcp-server without referencing internal packages directly.
SAP MCP Server is released under the MIT License.
| Partner / Product | Integration |
|---|---|
| @bentoguard / Bento Guard | Optional policy layer for AI-assisted intent scoring, escalation, and hybrid local/Bento guardrails. Uses the optional @bentoguard/sdk package and credentials from app.bentoguard.xyz. |