part…
Building governance for MCP?
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
MCP defines a small set of primitives. Each one has an explicit "who controls" in the spec, and that fact determines what consent and what UI are expected. For a governance platform, the "who controls" is also the "who must approve".
| Primitive | Control | What it is | Methods (2026-07-28) |
|---|---|---|---|
| Tools | Model-controlled: the LLM discovers and invokes them according to context. | Executable functions with an input/output schema. | tools/list, tools/call, notifications/tools/list_changed |
| Resources | Application-driven: the host decides how to incorporate context. | Data identified by URI (files, DB schemas, etc.). | resources/list, resources/read, resources/templates/list, notifications/resources/list_changed, notifications/resources/updated |
| Prompts | User-controlled: the user selects them explicitly (e.g. slash commands). | Message templates with arguments. | prompts/list, prompts/get, notifications/prompts/list_changed |
Although "control" is a recommended interaction model, the spec clarifies that implementations are free to expose each primitive however they wish; what it does maintain are the security warnings: for tools there SHOULD always be a human in the loop able to deny invocations.
| Primitive | State | What it is | How it travels in 2026-07-28 |
|---|---|---|---|
| Elicitation | Active | Request information from the user, as a form (form) or via an out-of-band URL (url). | elicitation/create inside InputRequiredResult.inputRequests |
| Sampling | Deprecated | Request a generation from the client's LLM, optionally with tools. | sampling/createMessage inside inputRequests |
| Roots | Deprecated | Request the list of relevant directories/files. | roots/list inside inputRequests |
server/discover (versions, capabilities, identity, instructions).ttlMs and cacheScope on listings and reads.completion/complete for prompt arguments and resource templates.progressToken and notifications/progress.notifications/cancelled (stdio) or stream closure (HTTP).subscriptions/listen and notifications/subscriptions/acknowledged.notifications/message with a per-request level.Tasks (io.modelcontextprotocol/tasks), MCP Apps (io.modelcontextprotocol/ui), Skills (io.modelcontextprotocol/skills), OAuth Client Credentials and Enterprise-Managed Authorization. They add methods (tasks/get, skills/list, ui/*) and resultType values ("task").
capabilities and you must respect that.1. Which primitive is defined as user-controlled?
Prompts are exposed for the user to select explicitly; tools are model-controlled and resources application-driven.
2. Which of these client primitives remains Active in 2026-07-28?
Sampling and Roots are Deprecated; Elicitation is the current mechanism.
3. Where are additional resultType values such as "task" declared?
Only extensions advertised in capabilities can add resultType values.