Skip to content

Real sign-in for every MCP server

Sesamcp puts an MCP server in front of your API, or in front of an MCP server you already have, and makes everyone sign in as themselves: through your identity provider (Authentik, Keycloak, any OpenID Connect), or with their own API key or password where there is no single sign-on. Each tool call then reaches your API with that person's own credential. You don't build OAuth.

Quick start See what runs on it

sequenceDiagram
  participant C as MCP client (claude.ai)
  participant S as Sesamcp
  participant I as your identity provider
  participant A as your API
  C->>S: connect by URL
  S-->>C: sign in here (OAuth 2.1, PKCE)
  C->>S: the person opens the sign-in page
  alt single sign-on
    S->>I: Continue with Authentik
    I-->>S: who it is, which groups
  else no single sign-on
    C->>S: their API key, or user name and password
    S->>A: is this key valid?
  end
  S-->>C: an opaque token, nothing else
  C->>S: tool call
  S->>A: the request, with that person's credential

The client only ever holds Sesamcp's own token; the person's key, password or provider token never leaves your servers.

  • Sign-in, not a shared key

    A form, your identity provider, or both on one page; link once ties a single sign-on account to an app key, asked for one time.

    Sign-in

  • Any API, by its OpenAPI spec

    One tool per operation, grouped into toolsets, with hints and hand-written guides where a model needs them.

    The library

  • Or in front of an MCP server

    A YAML file and a container: the sign-in in front, requests streamed through with the person's credential added.

    The service

  • Open source, and for sale

    AGPL-3.0 for everyone; a commercial licence for products that can't share their code.

    Licensing