What AI drafted and what I decided in an MCP platform design
In this AI architecture design, the model drafted the options, tables and verification lists. The decisions that depend on the company stayed with people.
Chatis Santos · October 19, 2026 · 6 min read · For engineers and leaders
The model wrote most of the two Northfield Energy architecture papers for a shared MCP platform (Model Context Protocol, the standard Claude, Cursor and similar tools use to call internal tools). The decisions that depended on the company stayed with people. Both papers list them, the first in its closing decisions and open questions and the second in its verification list, and the split between the two piles is the same in each. A model is good at laying out an option space, filling a comparison table and listing what has to be verified, and it cannot know which of Salesforce, Databricks or Google needs a person's name in the audit log, what FusionAuth plan Northfield runs or how much risk their security team will accept on a self-service launch path.
The case study covers what the platform is. This piece is about who decided what.
What the model drafted
Nearly all of the structure and every comparison table came from the model. If you open either paper, these are the parts I'd point at:
- The three-plane model (identity, control, data), with one owner and one source of truth per plane.
- Five serving architectures, from a monolithic server to a custom hub, scored on eight criteria.
- The service identity versus on-behalf-of table (does a tool reach Salesforce or Google with its own service account, or as the signed-in person?), including the row that says Gmail and Drive are always per user.
- The manifest schema, the monorepo layout and the four CI steps that run on a PR and on merge.
- The eight-row risk table with a guardrail for each risk.
- The nine-item verification list against AgentCore Gateway, AgentCore Policy and FusionAuth.
These are the parts a senior engineer would otherwise write from memory and the vendor docs. The model produced the first version of all of them. It got the shape right, with comparisons in tables, unknowns in a checklist and a gate on each phase before the next, and where a typical discovery cycle for this work runs about two weeks the two papers took one working day.
The quality was uneven in the way you'd expect. The topology and authorization sections were strong from the start. The AgentCore mapping was the weakest part, and the paper says so in plain words: the claims about it "come from my knowledge as of mid-2026" and the reader should "treat each one as a hypothesis." I kept that sentence in. It is what turns the AgentCore section from a recommendation into a spike plan, and a reader who skips it will trust that section more than it deserves.
What I decided
The recommendations in both papers are mine. The model offered options with tradeoffs, and in each case I picked one and wrote down why. The ones that shape the build:
Service identity as the platform default. Every tool uses its own service account unless its manifest says otherwise, with on-behalf-of reserved for systems whose own permissions or audit trail matter. The model's table made the build cost obvious (one secret reference per backend versus a consent flow, a vault and refresh handling), and unattended agents cannot use delegation unless the agent runs as a specific person. The cost is that a tool open to many engineers runs with its service account's full rights, and the downstream audit log shows the service user, so the gateway log has to record the human on every call. Which systems get an exception (Salesforce writes, Gmail, Drive) is Northfield's call, because it is an audit question, and it decides whether the token vault is phase 1 or phase 3.
A filtered tools/list. If per-tool policy only rejects tools/call, every engineer still sees every tool, which wastes context and confuses the model. I made a filtered tools/list the target, with a separate FusionAuth application for each gateway as the fallback if AgentCore Policy cannot filter the list.
Default deny. A manifest's default audience is the owning team. Widening a tool to eng-all is an explicit line in the manifest, which is what makes it reviewable in a PR.
The lock-in boundary. The manifest and the policy format are vendor-neutral. The gateway is an implementation detail behind them, so if AgentCore Gateway cannot authorize per tool, a small FastMCP-based proxy or an open-source MCP gateway reads the same manifests. I wanted that written down before anyone at Northfield got attached to a vendor.
Phase 0 as a spike. It exists to answer the verification list with code. About two weeks, one hello-world MCP behind the gateway, connected from Claude.ai, Claude Code and one AgentCore agent. The exit gate is that Dynamic Client Registration (RFC 7591), the aud claim and role claims work with real clients, and the gateway filters tools by role. If the OAuth handshake fails there, the fix is a thin proxy in front of the gateway and the rest of the design stays as it is.
The two papers disagree on how many gateways to run (one, or two to four by domain), and I left that in, because the right number depends on Gateway's quotas and Northfield's expected scale, both on the lists below.
What stayed with Northfield
The first paper ends with six decisions as unchecked boxes. Each depends on something the company knows and the model does not.
| Decision | Why only Northfield can make it |
|---|---|
| Which downstream systems get an exception to service identity | Which of Salesforce, Databricks and Google need "who did this" to be a person is an audit and compliance question. If any of them do, the token vault moves from phase 3 to phase 1. |
| AgentCore Gateway or a custom gateway | Whether Gateway (with Policy or an interceptor) can authorize per tool on FusionAuth claims is a fact to verify, and whether the AgentCore integration is worth more than a proxy they fully control is a judgment about their platform team. |
| Clients in scope for v1 | Claude.ai only, or Claude Code and Cursor too. Each adds an OAuth client to register and test. |
| Monorepo registry, or team repos plus a manifest-only registry | Depends on which teams already have repos and how much CI drift they will tolerate. |
| Who approves broad sharing of a destructive tool | The owning team alone, or a security reviewer on the PR. This is risk appetite. |
| Source of truth for team membership | FusionAuth groups managed from teams.yaml, or Google Workspace groups synced into FusionAuth. Depends on who maintains the groups today. |
I set the default on the first row, and the phase plan puts the token vault in phase 3 on that basis. I didn't pick the exceptions. Nobody had asked Northfield's security team about Salesforce writes yet, and if they say a write has to be attributed to a person the vault moves to phase 1 and the plan changes with it. The fifth row is a policy decision that belongs to the people who carry the risk, so I left that open too.
Open questions and the verification list
The open questions in the first paper all needed facts from inside Northfield. The FusionAuth version and plan, because Dynamic Client Registration and client credentials depend on it. Expected scale in twelve months, which decides whether tool search and virtual servers belong in phase 1. And whether Claude.ai Enterprise is already the primary client, because if so the single-connector argument for a gateway is decisive on its own.
The second paper's verification list is longer and more specific. The items that matter most:
- Whether Gateway serves
/.well-known/oauth-protected-resource, so clients can find FusionAuth on their own. - Whether it forwards
sub,emailandrolesto targets. - Whether it accepts an MCP server on AgentCore Runtime as a target.
- Whether one FusionAuth sign-in can cover several gateways.
- How an on-behalf-of consent link reaches a chat client.
The discovery documents, Dynamic Client Registration, list filtering and one sign-in across several gateways each carry a fallback, so a "no" on any of them changes one component. Claim forwarding and the Runtime target have none. Quotas, pricing and the consent flow are measurements rather than yes-or-no questions. If Gateway does not forward sub, email and roles to targets, in-tool checks and the audit log lose the caller, and that is the item I would run first.
I wouldn't ask the model any of these again, because it has no more information than it already put in the paper. The answers come from running code against the real services, which is the whole point of phase 0, and from the kind of review I describe in how to review an AI-written design doc.
If you're deciding this
Let the model draft the option space and the verification list, then make every pick yourself and write the reason beside it. Anything that turns on your audit rules or your org chart stays an open box with an owner's name on it. Sorting a document like this before a build takes about a day, and it's a day I'd rather spend before the build than after.
- 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.
- How to review an AI-written design doc before you build on it
AI design doc review means sorting each claim into what a spec settles, what a spike settles and what only your company can answer. Start from the hedges.