-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(anthropic): support for mcp toolset tool #9551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(anthropic): support for mcp toolset tool #9551
Conversation
🦋 Changeset detectedLatest commit: 7c13d9d The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
hntrl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not define this inside of the tool definition?
tools.mcpToolset_20251120({
servers: {
type: "url",
url: "https://example-server.modelcontextprotocol.io/sse",
name: "example-mcp",
authorization_token: "YOUR_TOKEN",
},
}),
Because the tool defines configuration for a single MCP server. If we would extend that to allow configuring all server and their configuration, the tool would have to return an array of tools which seems awkward. Plus, |
e526c8d to
f39cebc
Compare
8eee7dc to
0dba245
Compare
0dba245 to
2be74c8
Compare
4b11ab5 to
7c13d9d
Compare
7c13d9d
into
cb/anthropic-bash-tool
Adds support for Anthropic's MCP (Model Context Protocol) connector feature, which enables Claude to connect to remote MCP servers directly from the Messages API without implementing a separate MCP client.
Motivation
The MCP connector is a new Anthropic feature (beta:
mcp-client-2025-11-20) that allows users to access tools from MCP servers through a simple API configuration. This eliminates the need to implement a separate MCP client while still benefiting from the MCP ecosystem of tools.Usage