Skip to content

docs: expand MCP binding configuration reference#385

Draft
jfallows wants to merge 2 commits into
developfrom
claude/youthful-hamilton-0pIpI
Draft

docs: expand MCP binding configuration reference#385
jfallows wants to merge 2 commits into
developfrom
claude/youthful-hamilton-0pIpI

Conversation

@jfallows
Copy link
Copy Markdown
Contributor

@jfallows jfallows commented Jun 6, 2026

Summary

Expanded and reorganized the MCP binding configuration documentation to include cache, authorization, and routing features. Split monolithic route documentation into binding-specific partials and added new configuration sections for proxy, client, and server bindings.

Key Changes

  • New partials for MCP proxy routes (routes-proxy.md): Separated proxy-specific routing logic with toolkit matching, capability filtering, and glob patterns for tools/prompts/resources
  • Cache configuration documentation (options-cache.md): Added cache store binding, TTL, and authorization credential configuration for upstream MCP responses
  • Authorization configuration (options-authorization.md): New partial documenting guard-based authorization for MCP sessions
  • Enhanced options documentation: Added elicitation (OAuth callback path and timeout) and timeout configuration to base options
  • Updated route examples: Removed toolkit-specific examples from generic routes partial; proxy routes now show complete examples with headers and tool filtering
  • Updated YAML examples: Enhanced proxy.yaml and server.yaml partials to demonstrate cache, authorization, and routing configurations
  • Reorganized includes: Updated proxy.md, client.md, and server.md to include appropriate authorization and cache partials

Implementation Details

  • Maintained schema alignment by using @include directives to compose reference pages from focused partials
  • Preserved property naming conventions (required props marked with \*, header depth matching path depth)
  • Added default values and type annotations per reference page structure guidelines
  • Examples now demonstrate real-world usage patterns (glob patterns, header overrides, credential scoping)

https://claude.ai/code/session_01Kmke6UevrnjCvVLCeNQmkA

claude added 2 commits June 5, 2026 17:37
…meout options

Complete the mcp binding reference with the options and route properties
exposed by the binding that were previously undocumented:

- options.elicitation (callback) and options.timeout, common to all kinds
- options.authorization (named guard) for server and client kinds
- options.cache (store, ttl, authorization) for the proxy kind
- routes when[].toolkit as proxy-only and required, with capability
  available to all kinds
- routes with[].cache override

Split the shared options/routes partials so each kind page reflects its
kind-specific properties, and enrich the server and proxy examples.

https://claude.ai/code/session_01Kmke6UevrnjCvVLCeNQmkA
The proxy route when condition now supports tools, prompts, and resources
allow-lists of glob patterns that filter which tool names, prompt names,
and resource URIs are exposed for a matched toolkit and capability. Each
filter is valid only when its corresponding capability is enabled and is
proxy-kind only. Update the proxy route reference and examples.

https://claude.ai/code/session_01Kmke6UevrnjCvVLCeNQmkA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants