Skip to content

Reject malformed MCP process argument lists #413

Closed

Description

@devantler

🤖 Generated by the Agentic Engineer

Problem

An args object passes package validation despite process arguments needing a list of strings. Installation can therefore deliver a connection that cannot start.

Proposed direction

Validate an optional argument list without altering legitimate empty arguments or argument order.

Acceptance criteria

  • Reject non-array arguments and nonstring members.
  • Preserve missing, empty and ordered string arguments.
  • Run behavioral package regressions.

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

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