Language
Stoa

Heimdall

Shipping

One Rust binary in front of your APIs and your MCP servers.

Open the demo ↗ heimdall.demo.stoasuite.com
01

What it does

MCP traffic has the blast radius of an API call and, in most estates, none of the controls. Heimdall treats both the same way: one binary in front of your REST services and your MCP servers, giving every request the same disciplined treatment — and holding no LLM call anywhere in the path.

  • Runs two data planes in one binary: a REST reverse proxy and an MCP Streamable-HTTP gateway with aggregation, per-tool access control, sticky sessions and threat scanning.
  • Authenticates inbound traffic natively — JWT with HS256, RS256 or live JWKS, API keys, and mTLS — and acquires outbound credentials through OAuth2 client credentials, token relay and token exchange.
  • Shares rate limits and circuit-breaker state across the cluster over Redis, and fails open and fast when Redis is unavailable.
  • Runs WASM plugins on wasmtime with a fuel budget and crash isolation, orchestrated by a declarative flow engine: set a header, invoke a plugin, branch, parallelize, loop within bounds, shadow.
  • Exports Prometheus metrics, W3C Trace Context and OTLP, with pluggable access-log sinks.
  • Hot-reloads configuration, authentication, rate limits, flows and plugins from a file, from etcd, or from an audited ledger that gives the config a tamper-evident history with time travel and rollback.
02

How it works

  1. 01

    Authenticate

    The caller is identified by JWT, API key or client certificate before anything downstream is touched.

  2. 02

    Govern

    Cluster-shared rate limits and circuit breakers apply, and per-tool access control decides which MCP tools this caller may see at all.

  3. 03

    Transform

    A declarative flow runs: headers, plugins, branching, parallel calls, bounded loops, shadow traffic.

  4. 04

    Forward and observe

    The request reaches the right upstream, and a metric, a trace and an access-log record leave on the way out.

03

What it does not do

  • It makes no LLM call in the request path. The data plane is LLM-free by design.
  • It depends on no cloud service at runtime, which is what makes it usable in a sovereign or air-gapped estate.
  • It does not need a restart to change configuration, authentication, rate limits, flows or plugins.
04

At a glance

LanguageRust — one binary
Data planesREST reverse proxy and MCP Streamable-HTTP gateway
ExtensionsWASM plugins on wasmtime, fuel-budgeted
SovereigntyFully on-prem; usable under KVKK, BDDK and SEDDK

Talk to us

Tell us which environment you have to defend, or which delivery chain you have to prove. We answer with specifics.

Open the demo ↗ heimdall.demo.stoasuite.com