-
Notifications
You must be signed in to change notification settings - Fork 0
feat(mcp): customize MCP outputs #15
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
Conversation
…onfig.json This allows sdks to be built using tsgo - see microsoft/typescript-go#474
…kage‘s public interface
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Converted handlers: - search-messages - send-message - set-chat-reminder - clear-chat-reminder - open-app - search 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Added the 'date-fns' package to the dependencies in package.json for date utility functions. Updated yarn.lock to reflect the new dependency and registry URL changes.
Updated all handler files in packages/mcp-server/src/handlers to consistently use single quotes for imports and statements, and to terminate statements with semicolons. This improves code style consistency and readability across the codebase. No functional changes were made.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Introduces a new handlers module that allows overriding endpoint handlers via a HANDLER_OVERRIDES map. Updates the tools index to wrap endpoints with mapEndpoint, enabling custom handler injection for specific tools.
Replaces asTextContentResult with asMarkdownContentResult in all MCP server handlers to standardize content formatting. Adds asMarkdownContentResult utility to utils.ts. Updates imports accordingly for improved consistency and maintainability.
4fd0f03
to
58d11be
Compare
Keep MCP server output handlers from batuhan/mcp branch while accepting all other changes from main. The custom output handlers use asTextContentResult directly for cleaner implementation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Updated custom handlers to work with the new API signatures: - open-app.ts: Use client.focus() instead of client.open() - send-message.ts: Check output.pendingMessageID instead of output.success - utils.ts: Use MessagesCursorSearch type instead of MessagesCursor - utils.ts: Use message.id instead of message.messageID All builds now pass with 0 TypeScript errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
* feat(mcp): customize MCP outputs (#15) * release: 4.2.0 --------- Co-authored-by: batuhan <[email protected]> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
No description provided.