Spanly Docs
Gateway

Overview

The Spanly gateway is a hosted endpoint in front of your MCP server that captures traffic with no code changes.

The gateway is a hosted reverse proxy you put in front of your MCP server. Your end users connect to a Spanly endpoint, the gateway proxies every request to your server, and you get full observability with no SDK and no code changes.

When to use the gateway

GatewaySDKCLI
Code changesnonewrap your servernone
Distributionyou point users at a Spanly URLships in your appruns beside your server
Transportstreamable HTTPany the SDK supportsHTTP
Edge featuresrate limit, IP rules, client keys, custom domainsnono

Choose the gateway when you want observability without touching your server, or when you need edge controls (auth, rate limiting, IP rules) in front of a server that has none.

How it works

end user / MCP client
        │  HTTPS to <slug>.gateway.us.spanly.com

Spanly regional gateway  ──►  your MCP server

        └──►  capture (side path) ──► your Spanly dashboard

The gateway runs one service per region (US in Oregon, EU in Frankfurt) and is pinned to your environment's region. Capture is a side path: if any part of Spanly is degraded, your traffic keeps flowing and only the observability copy is affected.

On this page