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.
Several MCP types carry metadata intended for the user interface. They look harmless, but the spec devotes specific security requirements to them because they arrive from potentially hostile servers and end up rendered in the host's UI.
ImplementationDescribes a client or server. It travels in _meta.io.modelcontextprotocol/clientInfo (requests) and _meta.io.modelcontextprotocol/serverInfo (results), and in the legacy era in initialize.
| Field | Type | Notes |
|---|---|---|
name |
string | Programmatic identifier. Not unique across servers; not usable to disambiguate tools. |
version |
string | Software version. |
title |
string? | Display name. |
description |
string? | Added in 2025-11-25 to align with server.json. |
websiteUrl |
string? | |
icons |
Icon[]? |
Remember: self-declared, unverified, not suitable for security decisions.
title vs nameSince 2025-06-18 name is the programmatic identifier and title the human-readable name, in tools, resources, prompts and implementations. If title is missing, the UI MAY use annotations.title (in tools) or name.
iconsArray of Icon objects:
| Field | Mandatory | Description |
|---|---|---|
src |
yes | Icon URI: HTTPS or data: with base64. |
mimeType |
no | If the server's type is missing or generic. |
sizes |
no | ["48x48"], ["any"] for SVG, or several sizes. |
theme |
no | light or dark. |
They can be attached to Implementation, Tool, Prompt, Resource and ResourceTemplate.
Clients that render icons MUST support image/png and image/jpeg; they SHOULD support image/svg+xml and image/webp.
https: or data:; reject javascript:, file:, ftp:, ws: and local-app schemes; do not follow redirects to other origins or scheme changes.Authorization).icons from the catalogue sent to hosts.serverInfo.name as an inventory key: use the HTTP origin (or the stdio command) plus your own identifier.1. Which URI schemes are acceptable for icons.src?
Only https: or data:; javascript:, file:, ftp:, ws: and local-app schemes MUST be rejected.
2. Must a client send cookies or Authorization when downloading an icon?
The spec requires downloading without credentials to prevent leaks.
3. Which Implementation field is suitable for disambiguating tools from different servers?
The spec warns that serverInfo.name is not guaranteed unique and SHOULD NOT be used to disambiguate.