A take-home project, live demo. View the source

One MCP endpoint for your whole team.

Register your MCP servers once. Give every teammate a key. Their editor and the built-in chat get every tool, while the upstream credentials stay on the server.

urumi · chat sample

What orders came in today?

woo__list_orders 118 ms ok

3 orders today, latest #1042 (processing).
Combined total 184.90 across the three.

A take-home project built for the Urumi AI FDE internship, not a product of Urumi.

  • Kubernetes
  • Helm
  • k3s
  • FastAPI
  • PostgreSQL
  • React
  • MCP
  • WooCommerce
  • cert-manager
  • nginx

The stack behind this demo.

Gateway

Connect, control, run.

Three jobs, one deployment. Everything below is running in the demo now.

Many servers in, one endpoint out. What to notice: every tool name carries its server prefix, so names never collide.

connect

Connect

One URL on every client's side.

  • One endpoint. Every enabled server's tools behind one MCP URL.
  • Namespaced tools. woo__list_orders, so names never collide.
  • Failure isolation. Per-server timeouts and a circuit breaker; one dead server never breaks the rest.

control

Control

Guardrails enforced per call.

  • Per-user keys. Hashed, shown once, revoked on the next call.
  • Tool permissions. Hide and reject tools per role.
  • Audit log. Who, which tool, how long, what happened.

run

Run

One chart from laptop to VPS.

  • One Helm chart. Kind locally, k3s on a VPS, only values change.
  • Deny by default. NetworkPolicies, non-root containers.
  • Safe upgrades. Rollback on failure, data kept.

Setup

From zero to a tool call.

Three steps, all in the dashboard. No YAML for day-to-day use.

  1. 01

    Register servers once

    An admin adds each server's URL and credential. The credential is encrypted and never sent to a client.

    server url
  2. 02

    Issue keys

    Invite members; each creates a personal API key.

    api key urumi_sk_••••••••••••••••

    Shown once at creation, then only as a hash. sample

  3. 03

    Use it anywhere

    One URL and one key in an MCP client, or the built-in chat. Every call is permission-checked and audited under its caller.

    POST /mcp · woo__list_orders · 200 ok · 118 ms
mcp.json
{
  "mcpServers": {
    "urumi": {
      "url": "https://dashboard.<apex>/mcp",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

The URL is this deployment's real gateway endpoint; the key is the visible placeholder Bearer <your-api-key>, never a real key.

Under the hood

How a tool call travels

From the client to the store and back, every hop checked and written down.

The boundary: the client key is checked at step 2 and never forwarded. Steps 4 and 5 run with the gateway's own credential, which never reaches the client.

Resilience

Kill a server. Nothing else notices.

Click a server to select it, then break it. This is a browser simulation; nothing is sent anywhere.

wooConnected
  • woo__list_products
  • woo__get_product
  • woo__create_product
  • woo__list_product_images
  • woo__add_product_image
  • woo__list_orders
  • woo__get_order
  • woo__update_order_status
timeConnected
  • time__get_current_time
  • time__convert_time
notesConnected
  • notes__create_note
  • notes__list_notes
  • notes__search_notes
Combined tool list13 tools
  • woo__list_products
  • woo__get_product
  • woo__create_product
  • woo__list_product_images
  • woo__add_product_image
  • woo__list_orders
  • woo__get_order
  • woo__update_order_status
  • time__get_current_time
  • time__convert_time
  • notes__create_note
  • notes__list_notes
  • notes__search_notes
Sample requestssample data

    A simulation of the real behaviour. The real checks run in make test and scripts/verify-server-tools.mjs.

    Control

    Every call, on the record.

    • Revoke a key and the next call is rejected.
    • Disable a server and its tools vanish everywhere.
    • Restrict a tool and it is hidden and refused.

    Admins do this from the dashboard; members see the change on their next call.

    Audit logsample data
    TimeUserServerToolTookOutcome
    14:02:11alicewoowoo__list_orders118 msok
    14:01:54bobnotesnotes__search_notes64 msok
    14:01:02bobwoowoo__update_order_statusn/apermission denied
    14:00:59alicetimetime__convert_time12 msok
    14:00:31bobwoowoo__get_order210 mserror

    The live Audit page reads GET /api/audit: user, tool, server, duration and outcome for every call. Rows above are sample data.

    Who, what, how long: and never the arguments.

    Observability

    See the whole fleet.

    Fourteen-day window, computed from GET /api/stats. Values below are sample data.

    Overviewsample data
    Tool calls4,812
    Success rate98.9%
    p95 latency240 ms
    Servers connected3 of 3
    timeout connection refused auth rejected

    Failure reasons are grouped in plain words on the Overview page; the chips above are the same categories.

    Platform

    Public, private, and state.

    One Helm chart deploys all three tiers; only the values file changes between laptop and VPS.

    Three zones, one chart. What to notice: the private servers have no internet route at all; the only door in is the gateway.

    public

    Public

    Ingress, the gateway, the dashboard, this page.

    private

    Private

    The MCP servers and the store, reachable only from the gateway.

    state

    State

    Postgres and MariaDB on persistent volumes.

    values-local vs values-prod
    Settinglocal (kind)prod (k3s)
    Hosts*.127.0.0.1.nip.ioreal domain, values only
    TLSself-signed test certLet's Encrypt via cert-manager
    Imagesnode-local, pullPolicy Neverpinned GHCR tags
    Storagestandardlocal-path

    Prod keeps no hostname in git: the domain arrives by --set or an uncommitted overlay.

    Security

    Security, stated plainly.

    Two auth domains: your key opens the gateway, the gateway holds the upstream credentials. They never meet.

    A member can

    • Call every tool not denied by policy, with their own key.
    • See their own keys, their own activity and the tools they may use.
    • Use chat, which acts with exactly their permissions.

    A member cannot

    • See an upstream credential. Not in any API response, ever.
    • See another member's keys or activity.
    • Call a denied tool: rejected before any upstream contact, audited as permission_denied.
    • Manage servers, members or permissions.

    Hashed keys

    argon2id with a SHA lookup hash. Shown once at creation, never stored in the clear.

    Server-side credentials

    Fernet-encrypted in Postgres, injected at proxy time only.

    SSRF guard

    Upstream URLs validated at save and re-resolved at connect. Redirects are never followed.

    Default-deny network

    Every allow rule is explicit, selector-driven and values-fed. Throwaway probes are blocked.

    Non-root containers

    Explicit uids, all capabilities dropped, read-only roots where the image allows.

    Login lockout

    5 failures in 300 seconds per username and per IP, then 429. Transitions are audited.

    Honest quotes

    From the design notes

    Statements from this project's own docs, linked to their source. Not testimonials; nobody said these but the docs.

    "Client keys are never forwarded upstream. The gateway uses its own credential."

    System design and tradeoffs

    "One dead server never takes down the rest."

    System design and tradeoffs

    "Revoking a key takes effect on the very next call."

    Threat model

    Read the details

    Docs.

    Every claim on this page traces to one of these.

    See it running.

    Open the store

    The demo includes a live WooCommerce store (a 12-product catalog) and three MCP servers behind the gateway.