Skip to content

fix(mcp): distinguish invalid JSON-RPC requests - #33

Merged
mstuart merged 1 commit into
mainfrom
fix/json-rpc-invalid-request
Sep 30, 2026
Merged

mstuart merged 1 commit into
mainfrom
fix/json-rpc-invalid-request

Conversation

@mstuart

@mstuart mstuart commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • return JSON-RPC parse errors only for malformed JSON
  • return Invalid Request for structurally invalid envelopes
  • reject unsupported JSON-RPC protocol versions

Verification

  • cargo test --locked
  • cargo clippy --all-targets --all-features -- -D warnings

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T04:08:19.364895Z 3a52f61 PR opened
🔒 Security Review ✅ Completed 2026-09-30T04:08:30.716123Z 3a52f61 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mstuart
mstuart merged commit eda39bf into main Sep 30, 2026
3 checks passed
@mstuart
mstuart deleted the fix/json-rpc-invalid-request branch September 30, 2026 05:03
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