Skip to content

Reject malformed remote MCP header declarations #415

Closed

Description

@devantler

🤖 Generated by the Agentic Engineer

Problem

Remote headers supplied as an array pass the package gate. A declared connection can be published with unusable authentication header configuration.

Proposed direction

Validate optional named string header maps for remote definitions without evaluating their contents.

Acceptance criteria

  • Reject non-object headers and nonstring values.
  • Preserve valid literal headers and variable references.
  • Do not launch or contact a server during validation.

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

Activity

  1. added theissue type on Oct 3, 2026
  2. moved this to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Oct 3, 2026
  3. self-assigned this
    on Oct 3, 2026
  4. added a commit that references this issue on 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