Skip to content

Conversation

batuhan
Copy link
Member

@batuhan batuhan commented Oct 6, 2025

No description provided.

stainless-app bot and others added 11 commits October 2, 2025 02:55
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.
Copy link

coderabbitai bot commented Oct 6, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit 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)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch batuhan/mcp

Comment @coderabbitai help to get the list of available commands and usage tips.

cursor[bot]

This comment was marked as outdated.

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.
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Replaces custom date utility functions with date-fns equivalents for improved reliability and readability. Updates date formatting and parsing logic in message mapping and formatting functions to use date-fns methods such as format, parse, isToday, isYesterday, isSameYear, and differenceInDays.
Deleted archive-chat, set-chat-reminder, and clear-chat-reminder handlers and their registrations. Refactored remaining handlers to use asTextContentResult for consistent output formatting. Updated mapMessagesToText type signature for improved type safety.
cursor[bot]

This comment was marked as outdated.

Changed the 'post', 'get', and 'del' HTTP handler functions to be exported. This allows them to be imported and used in other modules.
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

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.
cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant