Skip to content

Add note about configuring certificate on firefox#659

Merged
TownLake merged 1 commit into
productionfrom
abracchi-tw-patch-2
Jan 20, 2021
Merged

Add note about configuring certificate on firefox#659
TownLake merged 1 commit into
productionfrom
abracchi-tw-patch-2

Conversation

@abracchi-tw

Copy link
Copy Markdown
Contributor

No description provided.

@TownLake
TownLake merged commit 0b58128 into production Jan 20, 2021
@TownLake
TownLake deleted the abracchi-tw-patch-2 branch January 20, 2021 11:07
agents-git-bot Bot pushed a commit that referenced this pull request Nov 21, 2025
This sync updates the documentation to reflect the breaking API change
in @modelcontextprotocol/sdk v1.22.0, which changed tool registration
from:
  server.tool(name, description, schema, handler)
to:
  server.registerTool(name, { description, inputSchema }, handler)

Updated files:
- model-context-protocol/mcp-agent-api.mdx
- model-context-protocol/tools.mdx
- model-context-protocol/authorization.mdx
- model-context-protocol/mcp-handler-api.mdx
- x402.mdx

Synced from cloudflare/agents PR #659
cloudflare/agents#659

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
agents-git-bot Bot pushed a commit that referenced this pull request Nov 25, 2025
This updates all MCP server examples to use the new registerTool API from @modelcontextprotocol/sdk v1.22.0, which introduces a breaking change to the tool registration syntax.

Changes:
- Replace server.tool() with server.registerTool()
- Update tool registration to use object-based configuration with description and inputSchema properties
- Update examples across all MCP-related documentation pages

The new API improves clarity by explicitly separating the tool description and input schema into a configuration object.

Synced from cloudflare/agents PR #659

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants