Skip to main content
This page is about transport, not signing. “Self-hosting over HTTP” means running the MCP server itself as an HTTP service. It is independent of signing: you can run the MCP server over HTTP and signing still runs through MPC. See Choose Your Setup for the transport decision guide.
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, treasury ops, bot fleet) and want WalletSuite running alongside it as a long-lived local service
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

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

Signing over HTTP

This page is about transport: it controls where the MCP server runs, not where signing happens. You can run the MCP server over HTTP and signing still runs through MPC 2-of-2. See Choose Your Setup.

Next steps

  • Use Security Model to understand how signing works with your HTTP deployment
  • Use Troubleshooting if the server starts but your host cannot connect