Skip to content

chore(release): v2.8.1#35

Merged
stephendolan merged 2 commits intomainfrom
release/v2.8.1
Mar 10, 2026
Merged

chore(release): v2.8.1#35
stephendolan merged 2 commits intomainfrom
release/v2.8.1

Conversation

@stephendolan
Copy link
Owner

Summary

  • Fix MCP error handling: API errors now return structured isError tool results instead of writing raw multi-line JSON to stdout and calling process.exit(1)
  • Remove no-op withErrorHandling wrapper from YnabClient, unwrapping all method bodies

Closes #34

Release

Patch release: 2.8.0 → 2.8.1

🤖 Generated with Claude Code

stephendolan and others added 2 commits March 10, 2026 16:10
API errors were bypassing the MCP protocol by writing multi-line JSON
to stdout and calling process.exit(1), breaking stdio transports that
read line-by-line. Errors now propagate from the client and are caught
by MCP tool handlers as proper isError results.

Closes #34

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stephendolan stephendolan merged commit b80081d into main Mar 10, 2026
1 check passed
@stephendolan stephendolan deleted the release/v2.8.1 branch March 10, 2026 20:11
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.

MCP mode emits multi-line raw JSON on errors instead of JSON-RPC envelope

1 participant