Skip to content

Clarifying WebMCP's Place in the Machine Readable Web Stack #97

Open

Description

@admbradford

Thanks for sharing this proposal. I like the direction. Moving agents from brittle UI actuation toward explicit, app provided tools feels like the right long term shape, especially for human in the loop workflows.

I have some firm opinions loosely held here. I do not think we would adopt WebMCP soon, but I could be convinced. A few questions would help me understand how this fits into the broader web stack and whether it can avoid fragmentation.

First, on overlap with the Semantic Web and existing action semantics:

  • One of the original goals of the Semantic Web is machine-readable data and capabilities. There are already established approaches for machine readable meaning and offered actions, including schema.org’s action model (potential actions, entry points, input/output annotations). How do you see WebMCP relating to that ecosystem?
  • Is the intent that WebMCP is purely an execution layer and deliberately does not try to model action semantics? If so, is there a recommended mapping or best practice so sites do not have to publish two parallel and potentially divergent descriptions of the same capability?

Second, on security model:

  • What is the intended authn/authz and consent model for tool calls? Are calls user scoped, agent scoped or both?
  • How are prompt injection, tool metadata poisoning and output injection meant to be handled in a way that is consistent across agent providers and browser vendors?
  • Is there an explicit threat model for cross-origin data flow when tool outputs from one site become inputs to another?

Third, on determinism versus interpretation:

  • Inputs can be typed via JSON Schema, but are outputs deliberately untyped, or do you expect a standardized output contract to emerge?
  • What parts of tool behavior are enforceable versus hint-based (for example, read-only hints)? What can an agent safely rely on?

Finally, on incentive alignment and adoption:

  • Who is the adoption wedge here? Browsers, sites, or AI platforms?
  • If cross-browser support is uncertain, what is the near-term value proposition for sites to implement WebMCP versus continuing with backend integrations and existing structured metadata?

Appreciate any clarification. I think the UI-present, user controlled workflow goal is compelling. I mainly want to understand how WebMCP coexists with existing machine readable web approaches and how you prevent fragmentation while you scale security and determinism.

Activity

  1. DavidMulder0 commented on Feb 19, 2026

    @DavidMulder0
    Contributor

    As an outsider:

    I am struggling to understand many of your questions, but it seems to me that you're coming at this from the perspective of WebMCP tool execution happening on the server and this being just another way to expose server actions. I believe the point of this is instead the ability of a user to control their own device through their voice. Both Google and Apple have given demos on smartphones where their respective LLM based assistents open and do things in applications. These are things that primarily happen on the client, and might have effects on the server. There is no authentication and authorization model, because the "scope" is the browser. Imagine a user selecting a piece of text in a text editor and saying "hey gemini, make this dark green and big", because they decided that was faster than searching through the menu.

    (Having read a couple more issues here... there is a general influx of people here that from my perspective "confuse" the same thing and seem to treat WebMCP as a way to "market" MCP server... so either I am the one who is confused, or the "MCP" branding just is very confusing to people 🤷)

    Is there an explicit threat model for cross-origin data flow when tool outputs from one site become inputs to another?

    I think the assumption would (initially?) be that the assistent is only able to stuff on the current website (hopefully without any access to "memory"-features, meaning "go to a new site" => new chat). Personally I am inclined to bet that this will long term be an insurmountable problem for "agentic" solutions, and the current "wild west" will be more and more replaced with properly contained "sandboxes".

  2. johannhof commented on Feb 24, 2026

    @johannhof
    Contributor

    Second, on security model:

    • What is the intended authn/authz and consent model for tool calls? Are calls user scoped, agent scoped or both?

    WebMCP does not prescribe an explicit authn/authz model right now, it's up to the site / page. There are various issues already in the tracker that raise this question as well or propose solutions to it. However, I personally don't think that this is something WebMCP should tackle in an initial MVP state. For now, it targets mostly browser agents using existing web primitives, e.g. Cookie based user sessions, navigation based OAuth flows, sign in with autofill. We can consider going beyond that based on concrete needs and use cases, but should be very deliberate about it and consider where existing technologies can already serve these use cases, given that adding new Web Platform APIs to major browsers is not a lightweight, and a very consequential process.

    • How are prompt injection, tool metadata poisoning and output injection meant to be handled in a way that is consistent across agent providers and browser vendors?

    This is a major challenge, which we've discussed in this group before. Parts of any agent's defense are expected to be both agent-specific and probabilistic (i.e. relying on LLMs) - both being relatively unchartered territory for W3C, which has largely been able to rely on deterministic specifications to encode secure behavior such as the same-origin policy. Wherever possible, we will try to enforce these kinds of deterministic rules that can be standardized, but, again, we'll have to deal with the fact that things work differently here. One popular suggestion which we're exploring is sharing an eval dataset of attacks that can be used by implementers to verify prompt injection resistance, at least to some degree. There are a lot of open questions around how to manage such a dataset sustainably and responsibly.

    • Is there an explicit threat model for cross-origin data flow when tool outputs from one site become inputs to another?

    There is no explicit threat model for "tainting" agent state to prevent cross-origin exposure. I imagine that too strong deterministic restrictions in the spec would be impractical for implementers right now. However, agentic browsing is clearly a space that needs better guidance from standards entities and potentially new security standards. We should probably also be a bit more specific about cross-origin leaks in our Security & Privacy considerations.

  3. johannhof commented on Feb 24, 2026

    @johannhof
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions