WebMCP
API
is
a
new
JavaScript
interface
that
allows
web
developers
to
expose
their
web
application
functionality
as
“tools”
-
JavaScript
functions
with
natural
language
descriptions
and
structured
schemas
that
can
be
invoked
by
agents
,
browser’s
agents
,
and
assistive
technologies
.
Web
pages
that
use
WebMCP
can
be
thought
of
as
Model
Context
Protocol
[MCP]
servers
that
implement
tools
in
client-side
script
instead
of
on
the
backend.
WebMCP
enables
collaborative
workflows
where
users
and
agents
work
together
within
the
same
web
interface,
leveraging
existing
application
logic
while
maintaining
shared
context
and
user
control.
2.
Terminology
An
agent
is
an
autonomous
assistant
that
can
understand
a
user’s
goals
and
take
actions
on
the
user’s
behalf
to
achieve
them.
Today,
these
are
typically
implemented
by
large
language
model
(LLM)
based
AI
platforms
,
interacting
with
users
via
text-based
chat
interfaces.
A
browser’s
agent
is
an
agent
provided
by
or
through
the
browser
that
could
be
built
directly
into
the
browser
or
hosted
by
it,
for
example,
via
an
extension
or
plug-in.
An
AI
platform
is
a
provider
of
agentic
assistants
such
as
OpenAI’s
ChatGPT,
Anthropic’s
Claude,
or
Google’s
Gemini.
6.
Acknowledgements
Thanks
to
Brandon
Walderman,
Leo
Lee,
Andrew
Nolan,
David
Bokan,
Khushal
Sagar,
Hannah
Van
Opstal,
Sushanth
Rajasankar
for
the
initial
explainer,
proposals
and
discussions
that
established
the
foundation
for
this
specification.
Also
many
thanks
to
Alex
Nahas
and
Jason
McGhee
for
sharing
early
implementation
experience.
Finally,
thanks
to
the
participants
of
the
Web
Machine
Learning
Community
Group
for
feedback
and
suggestions.