Conversation
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
Freika
force-pushed
the
feat/mcp-server-mvp
branch
from
July 25, 2026 20:38
a1a0d0e to
49e850c
Compare
turmacar
added a commit
to turmacar/dawarich
that referenced
this pull request
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft status
Exploratory MVP for discussion. The endpoint and two tools are functional, but the initial product/security boundaries should be reviewed before merge.
Goal
Let an MCP client answer two useful questions from an authenticated user's own Dawarich data:
Implementation
/api/v1/mcpApiControllerauthentication, pending-payment checks, API rate limiting, host authorization, and response metadataget_timelineusingTimeline::DayAssembler, strict inclusive ISO date semantics, a 7-calendar-day maximum, and a 500-entry preflight cap enforced before assemblyget_latest_locationusing the authenticated user's non-anomalous, plan-scoped pointsSecurity and deployment
APPLICATION_HOSTSallowlistQuestions before merge
get_timelineandget_latest_locationthe right first tools?Verification
bundle exec rails zeitwerk:check: passedgit diff --check: passedloofahandrails-html-sanitizera43d4a42f3b5ac20112dfe06389fdec7e9fbcd3332e219cc790feefa820858f8