You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add MCP tool annotations and migrate from deprecated server.tool() to registerTool() #32
No tool declares annotations. MCP hosts use readOnlyHint, destructiveHint, idempotentHint, and openWorldHint to decide when to prompt the user and how to display a tool. Right now a host can't tell steam_getPlayerCount from steam_grantInventoryItem, so the five write tools get no annotation-driven approval UX.
Every tool uses server.tool(...), which is marked @deprecated Use registerTool instead in the installed SDK (node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts).
registerTool also supports title and outputSchema/structuredContent, so clients get typed JSON instead of parsing pretty-printed text.
Suggested approach
Migrate all 26 tools to registerTool({ title, description, inputSchema, outputSchema?, annotations }).
Activity
feat: migrate all tools to registerTool() with titles and MCP annotat…