Skip to content

fix(mcp): expose structured results to text-only clients - #28

Merged
davidrobertson merged 1 commit into
mainfrom
fix/cursor-mcp-text-results
Sep 1, 2026
Merged

fix(mcp): expose structured results to text-only clients#28
davidrobertson merged 1 commit into
mainfrom
fix/cursor-mcp-text-results

Conversation

@davidrobertson

Copy link
Copy Markdown
Contributor

Summary

  • serialize each structured MCP result into the first text content block for text-only clients
  • preserve the short human summary and the existing structuredContent payload
  • update the compiled package output and add regression coverage

Validation

  • npm run typecheck
  • npm test (413 passed, 2 Windows-only skips)
  • npm run smoke
  • npm pack --dry-run
  • MCP integration suite (34 passed)
  • synthetic Cursor capture followed by real stdio lcm_grep and lcm_pack_context; serialized text parsed equal to structuredContent
  • independent QA, code review, and final gate approved commit 81133f74ff77f9c487054f335d8fc24767aad187

Risk

Structured results now appear in both text and structured form. This increases response bytes for large results, but existing search, paging, and packing limits still bound the payloads.

@davidrobertson
davidrobertson merged commit 996ff5c into main Sep 1, 2026
3 checks passed
@davidrobertson
davidrobertson deleted the fix/cursor-mcp-text-results branch September 1, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant