Rename mcp.json gateway field to syncBackend#6
Conversation
Keeps parity with the get-based (app) repo copy. `gateway` alongside `transport: stdio` could be misread as the MCP transport URL; `syncBackend` makes clear it's the data backend the locally-spawned process talks to. Also documents the cross-repo mirror in CLAUDE.md. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryRenames the non-standard
Confidence Score: 5/5Safe to merge — the change is a one-line rename of a custom non-standard field and a documentation addition with no runtime impact. Both changes are non-functional: the renamed field is a custom extension not parsed by any MCP transport layer, and the CLAUDE.md update is purely documentation. No logic, auth, or data-path is touched. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["MCP client discovers\n/.well-known/mcp.json"] --> B["Reads transport: stdio\nhosting: local"]
B --> C["Spawns getbased-mcp\nprocess locally"]
C --> D["getbased-mcp reads\nsyncBackend URL"]
D --> E["Fetches context data from\nhttps://sync.getbased.health"]
E --> F["Returns health data\nto MCP client"]
style D fill:#d4edda,stroke:#28a745
Reviews (1): Last reviewed commit: "Rename mcp.json gateway field to syncBac..." | Re-trigger Greptile |
Summary
Follow-up to a Greptile review on the app-repo mirror (get-based#227). Keeps the two
.well-known/mcp.jsoncopies in parity.gatewayfield tosyncBackend.gatewaynext to"transport": "stdio"is ambiguous — a strict parser could read it as the MCP transport URL and try to connect tosync.getbased.healthdirectly, instead of spawninggetbased-mcplocally.syncBackendmakes the role unambiguous: it's the data backend the local process talks to.CLAUDE.mdso future version/tool/auth changes update both copies (Greptile flagged the silent-drift risk).Test plan
curl https://getbased.health/.well-known/mcp.jsonshowssyncBackendand validates as JSON🤖 Generated with Claude Code