-
Notifications
You must be signed in to change notification settings - Fork 186
Extend MCP v0.1 runtimeArguments.variables handling to all client adapters (P3 follow-up to #1444) #1452
Copy link
Copy link
Closed
Labels
area/mcp-configMCP server configuration depth, transports, variable resolution.MCP server configuration depth, transports, variable resolution.priority/highShips in current or next milestoneShips in current or next milestonestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/bugSomething does not work as documented.Something does not work as documented.
Milestone
Metadata
Metadata
Assignees
Labels
area/mcp-configMCP server configuration depth, transports, variable resolution.MCP server configuration depth, transports, variable resolution.priority/highShips in current or next milestoneShips in current or next milestonestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.One manifest, every target. Multi-target deploy, marketplace, packaging, install.type/bugSomething does not work as documented.Something does not work as documented.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Follow-up to #1444 (P3 -- vendor neutral by construction)
#1444 fixed VS Code's MCP client adapter to honor v0.1 runtimeArguments with
variables-shaped entries (Docker mount/-w args). The same v0.1 schema is consumed by every MCP client adapter -- copilot, codex, gemini, cursor, claude -- so Docker MCP servers from registry manifests using the v0.1 shape currently emit broken[run, -i, --rm, image]invocations on every non-VS Code target.Per PRINCIPLES.md P3 (vendor neutral by construction), registry-schema parsing on the neutral surface (MCP client adapters) must be uniform across adapters. Shipping #1444 in isolation creates vendor-uneven behavior on a neutral surface.
Scope
src/apm_cli/adapters/client/{copilot,codex,gemini,cursor,claude}.pyfor the equivalent of_extract_package_args(or its analog) and confirm whether they handle v0.1variables-shaped runtimeArguments.vscode.pyinto a shared helper (e.g.adapters/client/_mcp_v01_args.pyor_runtime_args.py).Origin
Surfaced by the batch-bug-shepherd Phase 1.5 strategic-alignment gate (apm-ceo persona) during retroactive review of #1444:
cc @sergio-sisternes-epam (original reporter of #1391)