GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — SEP-1004: Server Profiles · Issue #1004 · modelcontextprotocol/modelcontextprotocol Closed Labels DescriptionSEP Number: [To be assigned] AbstractProposal to add server profiles to the Model Context Protocol (MCP) specification. Server profiles define sets of behaviors and capabilities that servers can advertise to clients, enabling more predictable and interoperable interactions between MCP components. It envisions a registry of standardized profiles within MCP but also allows third-party custom profiles. MCP Servers can use standardized or custom profiles. MotivationMCP clients will be better served by choosing profiles of a server that ascertain certain properties and behaviors of the server, e.g. security. This will allow for more capable clients, or clients in more empowered environments to operate at a higher level of sophistication (e.g., in security) and prevent use of MCP Servers that do not support such profiles. Currently, MCP servers advertise their capabilities through individual feature flags in the InitializationResponse object. Adding a profile to this enables:
SpecificationProfile SpecificationEach Profile MUST have a specification document that describes the profile in detail. This is a document written using normative specification language that unambiguously specifies the characteristics of a profile. Profile URLA profile MUST provide a profile specification at the URL that is used to uniquely identify the profile. The URL must have a version suffix as the last component in its path. For example: Version NumberingProfiles MUST be numbered using a Profile GovernanceProfiles MAY be standardized, in that they are specified and defined officially in the MCP repository, or they MAY be custom, which can be specified by third-parties. Standardized Profile RegistryThe MCP repository SHALL define a "Profiles" folder containing standardized profile specifications. Each profile description MUST have a Profile Specification and a Profile Definition. Governance ProcessThe MCP governance process SHALL define:
Server BehaviorProfileSpec ObjectA ProfileSpec object has the following fields:
interface ProfileSpec { "profileURL": string; // The location where the profile is specified. "default": boolean; // whether this is the default profile for the server. "minMcpVersion": string; // this is the date in YYYY-MM-DD format that identifies the MCP version. } Profile DeclarationAn MCP Server MAY specify the profiles it supports through a document available at the well known location as described in RFC 8615 If this resource does not exist on the MCP Server, or if the document returned is empty, then the Client MUST assume that the MCP Server does not support Profiles. In all other cases, the returned document MUST be an JSON array containing ProfileSpec objects. The structure of the response is described in the schema below: [ ProfileSpec, ProfileSpec, ...] Note that since this document is fetched before the Client sends the A default profile is one that the server uses if the client does not request a specific profile. If the server has a default profile, it MUST be the first one in the array. Any ProfileSpec object in the response other than the first one SHALL NOT have the Client BehaviorProfile DiscoveryThe Client MAY fetch the Server’s Well Known URI to understand which profiles the server supports (if any). Initialize Request / Response ExtensionsInitializeRequest ExtensionThe interface InitializeRequest extends Request { method: "initialize"; params: { protocolVersion: string; capabilities: ClientCapabilities; clientInfo: Implementation; requestedProfiles?: [ URL, URL, ...]; // New optional field }; } The Client specifies zero or more profiles that it wants to use with the Server when it sends the InitializeResult ExtensionThe interface InitializeResult extends Result { protocolVersion: string; capabilities: ServerCapabilities; serverInfo: Implementation; instructions?: string; profile?: URL; // New optional field } The value of the Profile Negotiation
Fallback BehaviorIf the client does not specify a requestedProfiles value in the InitializeRequest, then:
RationaleThe Model Context Protocol currently employs a capability-based system where servers advertise individual features through discrete flags in the InitializationResponse. While this approach is free-form and flexible, it creates the following challenges that server profiles are designed to address:
Server profiles address these challenges by providing a standardized way to group capabilities with consistent semantics, enabling predictable behavior patterns, and supporting the diverse needs of the MCP ecosystem while maintaining backward compatibility with existing implementations. Backward CompatibilityThe introduction of profiles as an optional feature of Security ImplicationsOne of the main motivations for introducing this feature is to strengthen the security of MCP by making it possible for clients and servers to support and negotiate well-specified properties and behaviors. Open IssuesThis proposal does not address the following issues:
Reacted by PieterKas Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |