← The Store

MCP Control Plane

One policy layer for what AI agents may do, with a record of every decision.

Builders & toolkitsIn progressNode.jsSupabaseOAuth 2MCP
22tools under policy

What it is

A policy layer over the MCP servers on this site. Access groups are rules over who is asking (role, team, clearance), what is asked for (tool, data class, environment) and when (time, network, risk). Default deny, an explicit deny always wins, and every decision names the rule behind it. Policies are versioned and immutable, with a dry run against recent requests and a one-step rollback; decisions go to a hash-chained, append-only audit log; servers fetch signed policy bundles. An OAuth authorization server for MCP (PKCE, client registration, tokens bound to one server) says who is calling. The Press connector is attached to it. Built and tested: tests hold that existing clients keep today’s behavior.

Take it with you

A portable spec of this system. Copy or download it, code paths and all.

Where it lives

  • packages/mcp-policy/src/index.mjs
  • src/lib/mcp-control/policies.mjs
  • src/lib/mcp-control/audit.mjs
  • src/lib/mcp-control/bundle.mjs
  • src/lib/mcp-oauth/flow.mjs
  • src/app/api/mcp-control/
  • supabase/migrations/0076_mcp_control_plane.sql

See it in action

AI acceptable-use policy →

FAQ

What does it decide?

For each tool call an agent makes, whether that caller may use that tool, on that data, in that setting, at that time. The answer is allow or deny and it names the rule that produced it. With no matching allow the answer is deny, and an explicit deny beats any allow.

How can I check it without the code?

Two public addresses answer. The Press connector at foxriverpress.com/.well-known/oauth-protected-resource says which sign-in server it trusts, and www.jakelawrence.xyz/mcp-oauth/jwks serves the public key tokens are checked against. A token signed with any other key is refused with a 401 and the reason bad_signature.

Does it change what existing clients can do?

No. The default policies reproduce what each server did before policy existed, and tests hold that.

Why is it marked in progress?

It is built and tested, and the Press connector is attached, but it has not yet recorded decisions for real callers. The status changes when it has.

Related systems

OG & Metadata ToolkitOne helper that gives every page consistent SEO and social cards.Theme Token SystemThe site-wide design language: Material 3 roles, two looks, light and dark.Structured Data ComponentsReusable JSON-LD schema builders for rich search results.

Explore the full catalog →

Want a system like this built for you?Work with me →