Skip to content

Reject repeated fields in bundled MCP JSON #416

Closed

Description

@devantler

🤖 Generated by the Agentic Engineer

Problem

The package gate accepts a connection with repeated command fields, silently using one interpretation. Package validation should not choose between contradictory declarations on behalf of different clients.

Proposed direction

Require a single complete unambiguous MCP JSON object before semantic validation.

Acceptance criteria

  • Reject repeated scalar and container fields and concatenated documents.
  • Preserve distinct fields and valid server maps.
  • Exercise duplicate declaration regressions at the package boundary.

Reproduced on current main before implementation. Rough size: S.

Activity

  1. added theissue type on Oct 3, 2026
  2. self-assigned this
    on Oct 3, 2026
  3. added a commit that references this issue on Oct 3, 2026
  4. moved this from 🏃🏻‍♂️ In Progress to ✅ Done in 🌊 Project Boardon Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions