Repository navigation
Replies: 1 comment
|
Adding a concrete documentation/consumer mismatch relevant to this auth discussion, while keeping client-specific OAuth behavior with the client implementer. The OpenAI plugin authentication guide, checked November 18, 2026, documents non-secret OAuth intent under an MCP server's At Codex commit I checked merged PR #85 and the 1.1.0 working-draft MCP schema. The draft already provides server-level namespaced extension data, so another proposal for that mechanism would duplicate it. The draft leaves namespace semantics client-owned and does not establish consumer adoption. Published 1.0.0 should remain unchanged. For this discussion's portable-auth question, the useful distinction is between preserving a declared requirement and supporting the corresponding login behavior. Dropping auth metadata or treating an authenticated endpoint as public changes the publisher's intent. A client or converter needs to retain supported non-secret intent, report an unsupported requirement safely, or require client-managed setup; an accepted extension alone does not prove usable authentication. Possible conformance cases for a future agreed auth contract:
Typed Validation is limited: fourteen tests passed against an independent offline reference model using an unpublished test-only contract marker, which rejects the published 1.0 identity. Proposed Rust parser/loader and Wiremock tests were not compiled or executed. The discovery failure is a static prediction at the pinned source. No live MCP/auth calls, installed-host acceptance or validated production patch are claimed; runtime incompatibility remains unresolved. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
Agent Plugins v1.0.0 made remote MCP transport declarations portable, but it intentionally leaves authentication entirely client-managed. A cross-host conversion into Microsoft 365 Copilot Cowork exposed a narrower missing contract: the package can say where a remote MCP server is, but cannot state the non-secret authentication requirement a target client must satisfy.
This is a follow-up to the auth portion of #7 now that v1.0.0 landed remote transport. If maintainers would rather keep the discussion on #7, I am happy for this to be folded back there; I split it only because the remaining gap is narrower than the original issue.
Current v1 boundary
Agent Plugins 1.0.0 §7.2.1 is explicit:
The same section is also explicit that
headersare fixed visible package data, clients must not perform placeholder or environment-variable expansion in them, and plugins must not embed credentials or other secrets there. Those are sound security choices.The interoperability gap is that a client or converter still cannot distinguish these common cases from the package alone:
An HTTPS URL does not answer that question, and silently guessing changes behavior.
Concrete cross-host result
We implemented a conservative Agent Plugins v1.0.0 → Microsoft 365 Copilot Cowork conversion.
The following mapped cleanly enough to compile:
skills/; andstreamable-httpMCP endpoint declarations.Authentication did not map. In Cowork, a remote connector ultimately needs a host-specific manifest posture such as:
None;OAuthPluginVaultplus a MicrosoftreferenceId;ApiKeyPluginVaultplus an existingreferenceId; orauthorization.Nothing in an Agent Plugin tells a converter which choice is true. A generated placeholder reference can be schema-valid while remaining operationally unusable.
Our converter now fails closed and requires an explicit per-server auth link instead of inferring OAuth from an HTTPS URL.
Request for v2 discussion
Could v2 define a portable, non-secret way for a package to declare a remote MCP server's authentication requirements?
The portable layer does not need to own credentials. In particular, this should not put bearer tokens, API keys, client secrets, or host-local credential IDs in
plugin.jsonormcp.json.It could instead let a package express enough intent for a client to decide whether and how it can satisfy the server, for example:
none/ public;The exact shape needs design. The important behavior is that clients can make unsupported auth requirements visible rather than discovering the mismatch only after connection, and converters do not have to invent target semantics from a URL.
Non-goals
Why a focused issue
#7 correctly identified the broader remote-MCP gap before v1.0.0 landed. Transport is now covered in v1.0.0. This issue isolates the remaining v2 question: how can a plugin describe remote-server auth requirements without carrying credentials? If you would rather keep that discussion on #7, feel free to merge or close this as a duplicate.
All reactions