Solo project
Relay.
A team MCP gateway on Kubernetes: one endpoint where every teammate reaches every tool server with their own key, while the credentials stay on the server and every call is written down.
MCP lets an AI client call tools, but each client connects to each server itself and holds its credentials. For a team that means shared secrets on every laptop and no record of who did what. With Relay an admin registers each server once, members connect with a personal key, and the gateway routes every call, keeps the credentials and records it. The first servers run a WooCommerce store.
MCP servers
3
WooCommerce, order risk and fulfilment, written from scratch.
Tools, one endpoint
11
listed from every enabled server, prefixed by server.
Automated tests
464
across five services, plus two end-to-end suites.
Helm charts
2
the platform and a store, with local and production values.
How it works
From client to store and back.
Connect
A teammate adds one URL and their own API key to Claude Code or Cursor, or asks the chat agent in the dashboard, which calls the same gateway as the signed-in user and asks before any tool that changes the store.
Check the key
The gateway looks the key up (stored as a SHA-256 hash), learns which stores its owner may use, and refuses unknown or revoked keys before anything else runs.
List the tools
Listing fans out to every enabled server at once with a 5-second timeout and prefixes each tool with its server's name, so two servers can share a tool name. A dead server is left out, not fatal.
Route the call
A call goes to the server its prefix names. The server's credential is decrypted (AES-256-GCM) and attached on the way out, so the caller never sees it, and a 30-second timeout turns a hung server into a clear error.
Record it
Every call lands in an append-only, hash-chained audit log with the user, server, tool, duration and outcome, and the dashboard can check that the chain is unbroken.
Tech stack
What it's built with.
Gateway and backend
- Python, FastAPI
- The platform API: sign-in, team, keys, servers and audit
- MCP Python SDK
- The gateway's Streamable HTTP endpoint and its upstream clients
- PostgreSQL, SQLAlchemy, Alembic
- Users, hashed keys, encrypted credentials and the audit log
- Redis
- Token-bucket rate limits, revoked sessions and server health
Chat agent
- LangGraph
- The tool loop, with its state saved in PostgreSQL
- Groq, gpt-oss-20b
- The model, through an OpenAI-compatible API
Tool servers
- WooCommerce MCP
- Seven product and order tools over the store's REST API
- Risk check
- Scores orders against five fixed rules
- Fulfilment
- Packing, shipping and delivery records in PostgreSQL
Platform
- Kubernetes, k3d
- Every service in the cluster, with probes, limits and Secrets
- Helm
- Two charts; local and production differ only in values
- NetworkPolicies
- Only the gateway can reach the tool servers
- Traefik
- Ingress for the dashboard, API, gateway and storefront
- Next.js
- The dashboard
My part
What I built.
- Built the MCP gateway: concurrent tool listing across servers with server-prefixed names, routing with per-call timeouts, and failure isolation so one dead server never breaks the others.
- Wrote three MCP servers (WooCommerce with seven tools, order risk, fulfilment) and a LangGraph chat agent that acts as the signed-in user and confirms before any write.
- Secured it end to end: hashed API keys, AES-256-GCM upstream credentials, HttpOnly cookie sessions, Redis rate limits and a tamper-evident audit log.
- Packaged it as two Helm charts with probes, resource limits, Secrets and NetworkPolicies, and covered it with 464 automated tests and two end-to-end suites.
Next project
Rottom MailHiring for backend, forward-deployed or GPU work? Let’s talk.
saxena.shikhar1808@gmail.com