SOLFIND
Web Lens
Portal home

Extensions Overview - Model Context Protocol

https://modelcontextprotocol.org/extensions/overview • 331 KB fetched
Open original page


Extensions Overview - Model Context Protocol Documentation Index Fetch the complete documentation index at: /llms.txt Use this file to discover all available pages before exploring further. Skip to main content Model Context Protocol home page Search... ⌘ K Ask Assistant ⌘ I * Blog * GitHub Search... Navigation Extensions Overview Documentation Specification Extensions Registry SEPs Community * Extensions Overview * Extension Support Matrix MCP Apps * Overview * Build an MCP App Authorization Extensions * Overview * OAuth Client Credentials * Enterprise-Managed Authorization Tasks * Overview On this page * MCP Extensions * Official Extension Repositories * MCP Authorization Extensions * MCP Apps * MCP Tasks * Experimental Extensions * Ground Rules * Graduation to Official Status * Creating Extensions * Requirements * SDK Implementation * Evolution * Negotiation * Client Capabilities * Server Capabilities * Graceful Degradation Extensions Overview Copy page Copy page Optional extensions to the Model Context Protocol Copy page Copy page ​ MCP Extensions MCP extensions are optional additions to the specification that define capabilities beyond the core protocol. Extensions enable functionality that may be modular (e.g., distinct features like authentication), specialized (e.g., industry-specific logic), or experimental (e.g., features being incubated for potential core inclusion). Extensions are identified using a unique extension identifier with the format: {vendor-prefix}/{extension-name} , e.g. io.modelcontextprotocol/oauth-client-credentials . Identifiers follow the same rules as _meta keys , with a mandatory prefix. Official extensions use the io.modelcontextprotocol vendor prefix. If you’re building a third-party extension, use a reversed domain name you own as the vendor prefix to avoid collisions (similar to Java package naming). For example, a company owning example.com would use com.example/ as their prefix (e.g., com.example/my-extension ). ​ Official Extension Repositories Official extensions live inside the Model Context Protocol GitHub organization in repositories with the ext- prefix. ​ MCP Authorization Extensions modelcontextprotocol/ext-auth Extensions for supplementary authorization mechanisms beyond the core specification. Extension Description OAuth Client Credentials OAuth 2.0 client credentials flow for machine-to-machine authentication. Enterprise-Managed Authorization Framework for enterprise environments requiring centralized access control. ​ MCP Apps modelcontextprotocol/ext-apps Extensions for interactive UI elements in conversational MCP clients. Extension Description MCP Apps Allows MCP Servers to display interactive UI elements (charts, forms, video players) inline within conversations To get started building MCP Apps, see the quickstart guide or read the full MCP Apps documentation . ​ MCP Tasks Extension Description MCP Tasks Asynchronous task execution for long-running operations, with polling, mid-flight input, and durable handles. ​ Experimental Extensions Experimental extensions provide an incubation pathway for Working Groups and Interest Groups to prototype ideas and collaborate on extension concepts before formal SEP submission. Experimental extension repositories live within the MCP GitHub organization with the experimental-ext- prefix (e.g., experimental-ext-interceptors ). ​ Ground Rules * Every experimental extension needs to be associated with a Working Group or Interest Group * Repositories and published packages need to clearly indicate their experimental status (e.g., in the README and package name) * Core Maintainers retain oversight of experimental extension repositories, including the ability to archive or remove them ​ Graduation to Official Status To promote an experimental extension to official status, it goes through the standard SEP process (Extensions Track). Feel free to reference the experimental repository and any reference implementations you built during incubation to demonstrate the extension’s practicality. ​ Creating Extensions The lifecycle for official extensions follows a SEP-based process. For full details, see SEP-2133: Extensions . * Propose : Create a SEP in the main MCP repository using the standard SEP guidelines with type Extensions Track . * Implement : Build at least one reference implementation in an official SDK — this is required before the SEP can be reviewed. * Review : Core Maintainers review the SEP and have final authority over inclusion. * Publish : Once approved, open a PR to add the extension to the extension repository. * Adopt : After that, other clients, servers, and SDKs can implement the extension too. ​ Requirements * Extension specifications need to use RFC 2119 language (MUST, SHOULD, MAY) * Extensions must have an associated working group or interest group ​ SDK Implementation SDKs can choose to implement extensions, but it’s not required for protocol conformance. SDK maintainers have full autonomy over which extensions they support. Where an SDK does support extensions, SDK documentation should list which extensions are supported. Extensions are always disabled by default and require explicit opt-in from the developer. ​ Evolution Extensions evolve independently of the core protocol. Updates are managed by the extension repository maintainers and don’t require core maintainer review. That said, backwards compatibility matters. When you need to change an extension, prefer using capability flags or versioning within the extension settings object rather than creating a new extension identifier. If a breaking change is unavoidable, use a new identifier (e.g., io.modelcontextprotocol/my-extension-v2 ). A breaking change is any modification that would cause existing implementations to fail or behave incorrectly, including: * Removing or renaming fields * Changing field types * Altering the semantics of existing behavior * Adding new required fields ​ Negotiation Clients and servers advertise their support for extensions in the extensions field within their respective capability declarations. ​ Client Capabilities Clients advertise extension support in _meta["io.modelcontextprotocol/clientCapabilities"] within each request: { "jsonrpc" : "2.0" , "id" : 1 , "method" : "tools/call" , "params" : { "name" : "get_weather" , "arguments" : { "location" : "New York" }, "_meta" : { "io.modelcontextprotocol/protocolVersion" : "2026-07-28" , "io.modelcontextprotocol/clientCapabilities" : { "extensions" : { "io.modelcontextprotocol/ui" : { "mimeTypes" : [ "text/html;profile=mcp-app" ] } } }, "io.modelcontextprotocol/clientInfo" : { "name" : "ExampleClient" , "version" : "1.0.0" } } } } ​ Server Capabilities Servers advertise extension support in the server/discover response: { "jsonrpc" : "2.0" , "id" : 1 , "result" : { "resultType" : "complete" , "supportedVersions" : [ "2026-07-28" ], "capabilities" : { "tools" : {}, "extensions" : { "io.modelcontextprotocol/ui" : {} } }, "_meta" : { "io.modelcontextprotocol/serverInfo" : { "name" : "ExampleServer" , "version" : "1.0.0" } }, "ttlMs" : 3600000 , "cacheScope" : "public" } } Each extension specifies the schema of its settings object; an empty object indicates no settings. ​ Graceful Degradation If one side supports an extension but the other doesn’t, the supporting side needs to either fall back to core protocol behavior or reject the request with an appropriate error if the extension is mandatory. It’s a good practice to document expected fallback behavior in your extension. For example, a server offering UI-enhanced tools should still return meaningful text content for clients that don’t support the UI extension. On the other hand, a server that requires a specific authentication extension can reject connections from clients that don’t support it. Was this page helpful? Yes No Extension Support Matrix github Assistant Responses are generated using AI and may contain mistakes.

Links found on this page

  1. /llms.txt [direct]
  2. Skip to main content [direct]
  3. Model Context Protocol home page [direct]
  4. Blog [direct]
  5. GitHub [direct]
  6. Documentation [direct]
  7. Specification [direct]
  8. Registry [direct]
  9. SEPs [direct]
  10. Community [direct]
  11. Extension Support Matrix [direct]
  12. Overview [direct]
  13. Build an MCP App [direct]
  14. Overview [direct]
  15. OAuth Client Credentials [direct]
  16. Enterprise-Managed Authorization [direct]
  17. Overview [direct]
  18. _meta keys [direct]
  19. Model Context Protocol GitHub organization [direct]
  20. MCP Apps documentation [direct]
  21. Working Groups and Interest Groups [direct]
  22. Core Maintainers [direct]
  23. SEP-2133: Extensions [direct]
  24. standard SEP guidelines [direct]