Skip to content

Expose custom client capabilities - #55

Merged
jakekaplan merged 4 commits into
mainfrom
feat/client-capabilities
Jul 29, 2026
Merged

Expose custom client capabilities#55
jakekaplan merged 4 commits into
mainfrom
feat/client-capabilities

Conversation

@jakekaplan

@jakekaplan jakekaplan commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Adds typed capabilities options to Client and MultiServerClient, merging caller declarations with capabilities FastMCP-TS already infers instead of replacing them. For example, Horizon’s browser Inspector can advertise MCP Apps support:

capabilities: {
  extensions: {
    'io.modelcontextprotocol/ui': {
      mimeTypes: ['text/html;profile=mcp-app'],
    },
  },
}

The extension travels through legacy initialize and modern 2026 per-request metadata. Sampling and roots are deprecated in modern MCP, but preserving their existing advertisement keeps auto-negotiated legacy 2025 connections working; this PR does not introduce new reliance on them or add extension-specific behavior.

@mintlify

mintlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
fastmcp-ts 🟢 Ready View Preview Jul 29, 2026, 9:18 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@@ -0,0 +1,5 @@
---

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't totally understand this so let me know if I should take it out

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just how we're doing auto changelogs and releases so this is perfect!

@jakekaplan
jakekaplan merged commit a9ba088 into main Jul 29, 2026
8 checks passed
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