ModelRefs / MCP Workflow — Architecture Blueprint
MCP Workflow — Architecture Blueprint
Production architecture blueprint for MCP Workflow: components, deployment, cost and latency, failure modes, evaluation and governance.
Overview
This is the implementation view of MCP Workflow: the components it requires, where it can run, what it costs in latency and spend, how it fails, and what you must measure before putting it in front of users.
5 components to assemble, 6 documented failure modes, high implementation complexity. Every statement below comes from the canonical workflow record with its sources and review date; where the evidence does not settle a question, the page says so rather than filling the gap.
- Implementation complexity
- high
- Components
- 5
- Failure modes
- 6
- Evaluation readiness
- documented
- Sources
- 3read 2026-11-20
What this workflow takes in and produces
Takes in
- enterprise systems and APIs
- tool and resource definitions
- user identities and scopes
- audit and consent policies
Produces
- MCP servers exposing resources, prompts and tools
- scoped access tokens and consent records
- audit logs of tool calls
- client configuration
Applied to
- exposing enterprise systems to models through a standard protocol
- scoped, audited tool and data access
- reusing one integration across several clients
Components you need to assemble
A working implementation needs 5 distinct components. Each is a build-or-buy decision in its own right.
- MCP server and client implementation
- authorisation server and token validation
- consent and scope management
- egress controls and request validation
- audit logging and monitoring
Implementation complexity: high. This describes the integration and evaluation effort, not the difficulty of any single component.
Deployment patterns
Deployment options recorded for this workflow: managed-api, hybrid.
Topologies it has been recorded against: serverless-api, managed-container, self-hosted-cluster. Each changes the data-residency, scaling and cost profile, so confirm the one you need against current provider documentation.
Cost and latency
- Each tool call adds a network hop and an authorisation check. Measure end-to-end latency per tool and cache only what is safe to cache.
- Cost is dominated by integration and security work, not tokens, so budget for threat modelling and review.
How this workflow fails
Observed failure modes for this class of workflow. Design a check for each one before shipping, not after.
- token accepted that was not issued for the server
- confused deputy through a proxy server
- over-broad scopes granted up front
- tool description trusted from an untrusted server
- request forged to an internal address
- handle guessed to reach another user's state
Risk areas the evidence covers
- authorisation
- scope minimisation
- consent
- untrusted tool descriptions
- network and request forgery
- audit completeness
Proving it works before you ship
Evaluation readiness: Documented — Authorisation correctness, scope minimisation, tool-call accuracy, consent behaviour and audit completeness measures are defined; the systems exposed and their risk tiers remain required.
Worked evaluation case: Scoped access with adversarial servers and clients
Exercise the deployment with normal, over-scoped, expired-token, forged-URL and untrusted-description cases and check that consent, scopes and audit logs behave as specified.
What to measure
- requests rejected that should be rejected
- scopes granted beyond the minimum
- tool calls that succeed with the right arguments
- consent screens shown before first use
- audit entries complete and attributable
Governance and data handling
- Tools are arbitrary code execution paths. Require explicit user consent before invoking a tool and treat tool descriptions as untrusted unless they come from a trusted server.
- Servers must not accept tokens that were not issued for them and must verify every inbound request.
Implementation notes
- Start from the minimum scopes, raise them by explicit challenge, and log every elevation with a correlation identifier.
- Validate every URL a client fetches, block private address ranges, and run local servers sandboxed with explicit consent for their startup commands.
What this blueprint does not establish
- The specification states that the protocol cannot enforce its security principles itself, so safety depends on each implementation.
- The security page lists attack classes and mitigations and does not measure how often they occur.
- No system, risk tier, scope design, authorisation server or acceptance threshold is registered for a target deployment.
- No measured authorisation correctness, tool-call accuracy or audit completeness for a target deployment is attached.
Source coverage: Documented — The MCP specification supports a JSON-RPC protocol connecting hosts, clients and servers that offer resources, prompts and tools, and states user-consent, data-privacy and tool-safety principles. Its security best-practices page supports the named attacks and required mitigations, including a prohibition on token passthrough and guidance on scope minimisation. The OWASP Top 10 for LLM Applications names excessive agency as a risk. None evaluates a particular deployment.
Sources read on 2026-11-20. The specification versions over time (the page read was built on the 2026-07-28 schema) and deprecates features, so revalidate against the version your clients and servers support.
Sources
- Model Context Protocol specification Model Context Protocol project · official · accessed 2026-11-20
- Security Best Practices (Model Context Protocol) Model Context Protocol project · official · accessed 2026-11-20
- OWASP Top 10 for LLM Applications 2025 OWASP Gen AI Security Project · official · accessed 2026-11-20
Candidate models and benchmarks
Candidate models with published references, the providers behind them, and the benchmarks whose task shape bears on this workflow are on the MCP Workflow workflow reference. This blueprint covers implementation; that page covers selection.
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to MCP Workflow — Architecture Blueprint.