Add deprecation notice pointing to hosted MCP server#205
Conversation
This self-hosted server is deprecated and no longer maintained. Surface a notice directing users to the official hosted server at https://mcp.shortcut.com/mcp: - Prepend the notice to the first successful tool result of each session via the shared CallTool handler in CustomMcpServer (covers both stdio and HTTP servers, which each create a server instance per session). - Log the notice to stderr on stdio server startup. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughTwo deprecation surfaces are added to the self-hosted MCP server: ChangesDeprecation Notices
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This self-hosted Shortcut MCP server is deprecated and no longer maintained. This adds a notice directing users to the official hosted server at https://mcp.shortcut.com/mcp.
CallToolhandler inCustomMcpServer— covers both the stdio and HTTP servers, which each create a server instance per session.Testing
bun test— 368 pass, 0 failbun run ts— clean🤖 Generated with Claude Code
Summary by CodeRabbit