Back to site

Heimdall

1 / 07

Heimdall · API and MCP gateway

One binary in front of your APIs and your MCP servers

The blast radius of MCP traffic is that of an API call, yet in most organisations none of those controls exist. Heimdall treats both with the same discipline.

Heimdall01 / 07

The problem

New traffic arrived without the old controls

  • 1

    MCP does not behave like an API

    Tools open doors into internal systems, but identity, limits and records are mostly not in place.

  • 2

    Two protocols, two separate disciplines

    Controls built for REST get rebuilt, differently, on the MCP side.

  • 3

    The gateway itself creates a dependency

    A control plane that needs the cloud cannot be used in a sovereign or air-gapped installation.

Heimdall02 / 07

How it works

Four steps, the same for every request

  1. 01The caller is authenticated: a JWT, an API key or a client certificate
  2. 02Rate limits and circuit breakers apply; which tools this caller may see is decided
  3. 03A declarative flow runs: set headers, call plugins, branch, parallelise
  4. 04The request reaches the right upstream and leaves a metric, a trace and a log behind

No LLM on the request path

The data plane is LLM-free by design. Because the gateway asks no model anything, its latency stays predictable and its behaviour repeatable.

  • No cloud service is needed at runtime
  • A configuration change needs no restart
Heimdall03 / 07

What sets it apart

Two data planes, one binary

REST reverse proxy

  • Classic service traffic
  • Routing, rate limits, circuit breakers
  • Outbound credentials obtained at the gateway

MCP gateway

  • Many MCP servers aggregated behind one endpoint
  • Per-tool access control
  • Sticky sessions and threat scanning

Why one binary

As two separate products the same controls would be built twice and drift apart in time: the same caller would meet two different limits at two gateways.

  • One authentication, one set of limits, one observability output
  • Rate limits and circuit-breaker state are shared across the cluster
Heimdall04 / 07

What it gives you

General features

  • 1

    Local verification

    JWT, API key and mTLS are verified at the gateway; nothing outside is asked.

  • 2

    Cluster-wide limits

    Rate-limit and breaker state is shared; if the store is unreachable it fails open fast.

  • 3

    Plugins and flows

    WASM plugins running in isolation, and a declarative flow engine.

  • 4

    Hot reload

    Configuration comes from a file or an audited ledger; it has a history and can be rolled back.

Heimdall05 / 07

Boundaries

What it does not do

  • 1

    It calls no LLM on the request path

    The data plane is LLM-free by design.

  • 2

    It does not reach for the cloud

    It needs no external service at runtime.

  • 3

    It does not stop to change

    Authentication, limits, flows and plugins all change without a restart.

Heimdall06 / 07

Summary

A new protocol, a familiar discipline

Heimdall does not treat MCP as something special: it applies the same controls as for API traffic, in the same place, in the same binary.

In short

  • Language: Rust — a single binary
  • Data plane: a REST reverse proxy and an MCP Streamable-HTTP gateway
  • Plugins: budgeted WASM plugins running in isolation
  • Data sovereignty: fully on-prem; usable under KVKK, BDDK and SEDDK
Heimdall07 / 07

→ / space next · ← back · F full screen · O overview · N notes