Designing a company-wide MCP platform in one day with AI

How I used Claude to write two MCP platform architecture papers in one working day, what they recommend and which decisions I left for humans to make.

Chatis Santos · October 19, 2026 · 8 min read · For engineers and leaders

In one working day, with Claude as a design partner, I wrote two architecture option papers for a shared MCP platform at Northfield Energy, a solar asset operations company with about a dozen engineering teams. MCP is the Model Context Protocol, the way Claude.ai, Claude Code and Cursor call tools. The papers recommend two to four gateways, one per domain, behind a single FusionAuth sign-in, with team-owned tool backends that a merged pull request deploys, and they have tools reach Salesforce and Databricks with their own credentials by default while acting as the signed-in user only for Gmail and Drive. Discovery for a design like this usually takes me about two weeks. Most of that time goes on enumerating options and tabulating them. That is the part the model did. The decisions that matter still sit with the client.

This is the hub for the series, and each section below links to the article that goes deeper.

What Northfield asked for

The platform team wanted every engineer to reach internal tools from Claude.ai, Claude Code and Cursor through one endpoint, phrased as "one MCP with a bunch of tools". The rest of the list:

  • Google sign-in through FusionAuth, with a FusionAuth application whose roles represent teams.
  • Per-tool sharing. The data team sees all of its tools, other engineers see a read-only subset.
  • Self-service launches. A team ships a new MCP by merging a PR. The platform team is not in the path.
  • Tools handle their own downstream auth to Salesforce, databases and similar systems.
  • Fits Bedrock AgentCore, which the platform team had already chosen for its agents.

It's also a shared production surface. One team's bad tool or sharing mistake can't be allowed to reach the others.

The decisions hiding in one request

The ask bundles several decisions that look like one. How many front doors there are (one endpoint, a few or one per team), who owns the code and how it ships, who issues identity, who authorizes each call and what credential reaches the downstream system. I settled them in that order, since the front-door choice constrains ownership, ownership constrains identity and so on down the list.

The conflation worth separating early is between "sign in with Gmail", which is authentication and FusionAuth's job, and "read my Gmail from a tool", which is authorization against a downstream API and not FusionAuth's job at all. The three planes of an MCP platform goes into why those belong to different planes.

What the papers recommend

Two to four gateways, one per domain, behind one FusionAuth sign-in, with team-owned backends behind them and a Git registry that decides what ships and who may call it. The first paper compared three topologies, one server with all tools, many standalone servers and a gateway in front of team backends, and picked the gateway because clients get one URL and one login while backends deploy on their own schedule and each user sees only the tools their role allows. A single server is the fastest v1. It also puts every team's code in one process, and the platform team ends up owning the release train. Standalone servers fail on client registration, since an admin adds each one as a connector in Claude.ai Enterprise and Claude Code and Cursor need per-server config.

The second paper mapped that onto AgentCore, compared five shapes and landed on two to four AgentCore Gateways, one per domain (mcp-data, mcp-crm, mcp-fleet), sharing one FusionAuth sign-in. The split keeps each tool list under roughly 40 tools. Past a few dozen, model accuracy at picking the right tool drops off, and every listed tool costs context on every turn whether or not it gets used. Five architectures for a shared MCP server has the full comparison table.

The gateway has its own costs. Every tool call takes one more hop, every tool depends on the gateway staying up, each engineer adds two to four connectors instead of one and the per-tool policy layer still has to be built or verified on AgentCore Gateway before any of this works. I'd still rather pay those than own the release train for a dozen teams' code, or sit in an admin queue every time a team wants to ship.

The rest of the design follows from that choice:

  • Identity. FusionAuth is the only authorization server and the only place that knows about Google. Teams are FusionAuth groups, groups grant application roles and the roles ride in the JWT. Group membership comes from a teams.yaml in the registry repo, so joining a team is a PR.
  • Authorization. Each tool declares which roles may call it in its manifest. CI compiles that into policy and the gateway enforces it on every tools/list and tools/call. A tool's default audience is the owning team, and widening it to all engineers is an explicit line a reviewer can see. Hiding is better than blocking here, since a tool the user can't call still costs the model context on every turn if it stays in the list.
  • Downstream credentials. Service identity by default (a Databricks service principal, a Salesforce integration user, a database role). User delegation, or on-behalf-of, where the tool acts as the signed-in person with a token they granted once, only where the downstream system's own permissions or audit trail matter. That means Gmail and Drive, which are always per user, and probably Salesforce writes, though that's the first item on the client's decision list below. The FusionAuth token stops at the gateway, and each backend uses its own credential or one minted for it.
  • Self-service. A monorepo registry with one manifest per MCP and CODEOWNERS per directory. CI validates the manifest against a schema and policy rules, builds and scans the image when there is code, deploys the backend under the team's own IAM role and registers the target with the gateway. A manifest can point at an externally built image, so a team with its own repo isn't blocked.

The decisions I left for humans

These sit as a checklist at the end of the first paper, with the tradeoff written next to each one, because they turn on things only Northfield knows: its audit rules, its org chart and its FusionAuth contract. The first two carry the most weight.

  • Service identity or user delegation, per downstream system. Which of Salesforce, Databricks and Google need "who did this" to be a person? This decides whether the token vault is phase 1 or phase 3.
  • AgentCore Gateway or a custom gateway. Can Gateway, with AgentCore Policy or a request interceptor, authorize per tool on FusionAuth claims? If not, is the AgentCore integration worth more than a small FastMCP-based proxy the team owns?
  • Clients in scope for v1. Claude.ai only, or Claude Code and Cursor too. Each adds an OAuth client to register and test.
  • Monorepo or team repos. One registry repo with CODEOWNERS per directory, or team repos plus a manifest-only registry. The papers start with the monorepo.
  • Who approves broad sharing of a destructive tool. The owning team alone, or a security reviewer on the PR.
  • Source of truth for team membership. FusionAuth groups managed from teams.yaml, or Google Workspace groups synced into FusionAuth.

What I could not settle from outside the company was the FusionAuth version and plan, the expected scale in twelve months and whether Claude.ai Enterprise is already the primary client.

What needs verifying before anyone builds

The AgentCore claims in both papers are the model's. I didn't check them against the current docs that day, and AgentCore has been adding features quickly since it went generally available in late 2025, so a claim that was true when the model last saw the docs may be stale by now and one that was false may have become true. Each one is a hypothesis until the spike has run it.

The one that could change the architecture is per-tool authorization: whether AgentCore Gateway, with AgentCore Policy (Cedar) or a request interceptor, can filter tools/list per caller from the FusionAuth roles, or only validates the JWT and at best denies tools/call. If it can't filter, the fallback is one FusionAuth application per gateway, so a user who isn't registered for mcp-data can't get a token for it. The manifest and policy format stay vendor-neutral either way, so the gateway stays an implementation detail.

The MCP spec adds its own short list, and each item on it can block a client by itself.

  • Dynamic Client Registration (RFC 7591). Support depends on the FusionAuth version.
  • The aud claim. FusionAuth sets it to the client ID by default and the spec wants it scoped to the gateway.
  • Protected Resource Metadata (RFC 9728). The gateway, not FusionAuth, has to serve this at /.well-known/oauth-protected-resource, pointing clients at FusionAuth.

A hello-world MCP and a day of testing answer all of them.

The rollout plan

One platform engineer and one friendly first team gets you through phase 2 in about two and a half months: two weeks for the spike and a month each for the paved road and governance, with user delegation as an open-ended phase after that.

Phase Ships Exit gate
0. Spike FusionAuth application and Google sign-in, one hello-world MCP behind the gateway, connected from Claude.ai, Claude Code and one AgentCore agent Dynamic Client Registration, audience and role claims work with real clients, and the gateway filters tools by role
1. Paved road Registry repo, manifest schema, server template, CI deploy, first real MCP (data platform, service identity) A second team ships an MCP with no platform-team involvement
2. Governance Per-tool policy rules, central audit log, catalog page, tool namespaces and search, per-team quotas A destructive tool cannot be shared broadly without a security approval
3. User delegation Token vault, Google and Salesforce consent flows, agent workload identity, human confirmation for destructive tools in agent flows Gmail and Drive tools act as the signed-in user, and the audit trail names the person

If phase 0 fails its gate on the OAuth handshake, the fix is a thin proxy in front of the gateway that serves the discovery documents, and the rest of the design stays as it is.

Where the model earned its keep

What the model was good at shows in the shape of the documents: comparison tables with consistent criteria across five options, an example manifest and a repo layout drafted in full, a risk table with a guardrail per row and a nine-item verification checklist with a fallback next to the items that could block a client. What it couldn't do was know Northfield's FusionAuth plan, decide whether Salesforce writes need a human's name in the audit log or judge whether a custom proxy is worth owning. Those are the checklists above. They're the part of the work I watch most closely, because a model will fill in a plausible answer for each of them if nobody stops it. What AI drafted and what I decided goes through it line by line.

If you're deciding this

I'd run phase 0 before agreeing to anything else. The per-tool authorization question goes at the top of the list, because it's the one answer that could push the design from AgentCore Gateway to a proxy you own. I'd default to service identity and a monorepo, and I'd keep the manifest format vendor-neutral so the gateway can change without the teams noticing. If you want a pair of papers like these for your own stack, that's the work I do.

More in this series

All articles in the series