Skip to main content
Self-hosting over HTTP is the right choice when you want WalletSuite MCP to run as a reusable local service instead of being launched separately by each MCP host. Use HTTP when:
  • your client prefers or requires a URL-based MCP server
  • you want one local endpoint that multiple tools can reuse
  • you are testing local deployment behavior or HTTP integrations
  • you operate production infrastructure (trading engine, vault manager, treasury ops, bot fleet) and want WalletSuite running alongside it as a long-lived local service, pinned at startup to its own OWS agent token — one deployment represents one identity
For most users, stdio is still simpler. If you do not specifically need an HTTP endpoint, use one of the Install Guides instead.

HTTP modes

WalletSuite MCP supports two HTTP runtime modes:

stateless

This is the default and the best choice for most local HTTP setups. Use it when:
  • you want simpler request-per-call behavior
  • you do not need session-oriented behavior
  • you want the least operational complexity

stateful

Use this only when you specifically need session-oriented behavior or resumability testing. Most users do not need it for day-to-day wallet queries or transfer preparation. If you use stateful, the main tuning knobs are:
  • MCP_SESSION_TTL_MS
  • MCP_MAX_SESSIONS
  • MCP_SHUTDOWN_TIMEOUT_MS

Key environment variables

VariableDefaultWhat it does
MCP_TRANSPORT=httpnoneStarts the server in HTTP mode
MCP_HTTP_MODEstatelessChooses stateless or stateful
PORT3000Sets the HTTP port
MCP_BANDSreadControls which tools are exposed
WALLETSUITE_API_KEYnoneAuthenticates the server to WalletSuite
MCP_SESSION_TTL_MS1800000Stateful mode only. Session time-to-live in milliseconds
MCP_MAX_SESSIONS1000Stateful mode only. Maximum active sessions
MCP_SHUTDOWN_TIMEOUT_MS5000Graceful shutdown timeout in milliseconds

OWS with HTTP

If you want local signing on top of HTTP, add the same OWS environment variables you would use in stdio mode:
  • OWS_ENABLED=true
  • OWS_AUTH_MODE=owner or agent
  • OWS_PASSPHRASE or OWS_AGENT_TOKEN
  • chain RPC URLs if you want local broadcast

When not to use HTTP

Do not use HTTP just because it sounds more flexible. Stay with stdio if:
  • your host already supports local stdio servers well
  • you only need one host on one machine
  • you do not want to run or monitor a separate local service

Roadmap: hosted deployment (Q2–Q3 2026)

A hosted WalletSuite deployment is planned for consumer-scale platforms and agent SaaS — the shape where a single backend serves many end-user agents. Signing runs inside a hardware-isolated Trusted Execution Environment (TEE) with per-tenant AEAD key isolation, KMS-managed envelope encryption, and remote attestation for integrity guarantees — architecturally distinct from self-hosted OWS and not a drop-in replacement for this page’s pattern. Contact us for early-access details.

Next steps