fix(mcp-sse): sync tool schemas for SSE/MCP parity#104
Merged
jack-arturo merged 1 commit intomainfrom Mar 2, 2026
Merged
Conversation
- Add enum constraint to associate_memories.type (16 valid relation types) - Add type and confidence to update_memory inputSchema - Add parameter descriptions to all tool properties - Add MCP annotations (readOnlyHint, destructiveHint) to all 6 tools - Extract RELATION_TYPES and MEMORY_TYPES as shared constants Made-with: Cursor
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughIntroduces RELATION_TYPES and MEMORY_TYPES constant sets to enforce enum constraints on tool inputs. Expands input schemas for six MCP tools with richer field descriptions, annotations (readOnly, destructive), and validation rules. No functional flow changes; improves metadata for client tooling. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
jack-arturo
added a commit
that referenced
this pull request
Mar 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.13.0](v0.12.0...v0.13.0) (2026-03-02) ### Features * **bench:** benchmark testing infrastructure for rapid iteration ([#97](#97)) ([80a6f93](80a6f93)) * **recall:** add min_score threshold and adaptive floor filtering ([#73](#73)) ([#101](#101)) ([8df3c08](8df3c08)) * **viewer:** add standalone graph-viewer runtime files ([5bcb6db](5bcb6db)) * **viewer:** consolidate stable core and split-ready compatibility ([#94](#94)) ([958da72](958da72)) * **viewer:** externalize visualizer with /viewer compatibility routes ([29bafcf](29bafcf)) * **viewer:** merge visualizer stable core branch ([96b27bf](96b27bf)) ### Bug Fixes * FalkorDB data not persisting across restarts ([3bbc834](3bbc834)) * FalkorDB data not persisting across restarts ([#99](#99)) ([8490d36](8490d36)) * **mcp-sse:** sync tool schemas for SSE/MCP parity ([#104](#104)) ([d99b86d](d99b86d)) ### Documentation * **bench:** add PR [#73](#73), [#80](#80), and [#87](#87) experiment results ([#103](#103)) ([8533fac](8533fac)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This was referenced Mar 2, 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.
Summary
Fixes the SSE server side of #90 — tool description drift between SSE and MCP transports.
associate_memories.type: Was unconstrained string, now enum with all 16 valid relationship types (synced fromautomem/config.py RELATIONSHIP_TYPES)update_memory: Added missingtypeandconfidenceproperties (MCP package already had these)descriptionfields to every propertyannotations(readOnlyHint,destructiveHint) for spec complianceRELATION_TYPESandMEMORY_TYPESarrays so they're easy to keep in syncWhat's NOT in this PR (separate repo / follow-up)
The MCP npm package (
verygoodplugins/mcp-automem) still needs:per_query_limit,sort,formatadded torecall_memorystore_memoryexpanded from 6 to 13 propertiesoutputSchemadefinitions (both SSE and MCP)Test plan
mcp-sse-servertests passCloses the SSE-server portion of #90.
Made with Cursor