Save your spot

Live eventA single Agent, 3 surfaces

Introducing WebMCP for CopilotKit

By Eli Berman
September 3, 2026
Introducing WebMCP for CopilotKit

Introducing WebMCP for CopilotKit

AI agents visiting your site can now use it — not just look at it.

Today we're shipping WebMCP support in CopilotKit. Any tool you register with useFrontendTool becomes discoverable and callable by any WebMCP-compatible browser agent — ChatGPT Atlas, Comet, Dia, and whatever comes next — alongside your own in-app copilot.

CopilotKit is now the best place to build for WebMCP. Two reasons:

1. Trivially define WebMCP tools with the same battle-tested abstractions

If you already use CopilotKit, WebMCP is one field on useFrontendTool. Same API, DX, and auto-lifecycle.

useFrontendTool({
  name: "searchOrders",
  description: "Search orders by status",
  parameters: z.object({
    status: z.enum(["open", "shipped", "delivered"]),
  }),
  handler: async ({ status }) => searchOrders(status),
  webmcp: { annotations: { readOnlyHint: true } },
});

Opt-in per tool. Auto-register and unregister on mount. Built-in annotations so agents know what's safe to call. React, Vue, Angular, React Native and more. Graceful fallback in SSR and unsupported environments.

2. Add a Codex-grade agent to your app that uses your own WebMCPs

CopilotKit isn't just a way to expose tools — it's how you build the in-app agent that uses them. Ship an agent that speaks your WebMCPs and supports:

  • Generative UI: render custom React components mid-conversation
  • Threads: persistent agent sessions
  • Shared state: bidirectional sync between agent and app
  • Human-in-the-loop: interrupts and approvals mid-run
  • Any backend: LangGraph, Mastra, CrewAI, Pydantic AI, Google ADK, custom and many more

Try it with this prompt

Drop this into Cursor, Claude Code, or your AI coding tool of choice:

Set up WebMCP in this project using https://docs.copilotkit.ai/webmcp.

First inspect the app and extend its existing CopilotKit setup if present; do not add a backend agent solely for WebMCP. If I haven’t specified a tool, ask what I want to expose. If I don’t have one in mind, add a small, read-only demo tool that fits the app. Finish by verifying that a compatible browser can discover and call it.

Get started

This is open source and requires just one line of config.

Try it in the docs


Want to bring CopilotKit into your stack? Talk to our engineers and we'll help you set it up.

Follow CopilotKit on Twitter for updates. If you get stuck, reach out in the CopilotKit or AG-UI communities.

Top posts

See All
OpenBot vs Instinct: Open-Source Alternative to the AI Personal Assistant
Anmol Baranwal and Eli BermanDecember 3, 2026
OpenBot vs Instinct: Open-Source Alternative to the AI Personal AssistantOpenBot vs Instinct: an open-source alternative to the AI personal assistant you text or call. Instinct runs personal errands on undisclosed models, by invite only, while OpenBot gives every team AI coworkers for work, with any model and your own agents, in an enterprise-ready workspace. See how they compare on models, agents, data, controls and pricing, and when to choose which.
OpenBot vs Viktor: Open-Source Alternative With Self-Hosted AI Employees
Anmol Baranwal and Eli BermanDecember 3, 2026
OpenBot vs Viktor: Open-Source Alternative With Self-Hosted AI EmployeesOpenBot vs Viktor: a self-hosted, open-source alternative to the hosted AI employee. Viktor runs one shared AI employee per workspace in its own cloud on credits, while OpenBot gives every team AI coworkers with their own computers, any model and your own agents, in an enterprise-ready workspace priced per user. See how they compare on models, agents, data, controls and pricing, and when to choose which.
OpenBot vs Paperclip: Open-Source AI Agents With Their Own Computers
Anmol Baranwal and Eli BermanDecember 3, 2026
OpenBot vs Paperclip: Open-Source AI Agents With Their Own ComputersOpenBot vs Paperclip: an open-source alternative to the app for managing a team of AI agents. Paperclip organizes agents you bring and run yourself, while OpenBot comes with self-learning AI coworkers that are ready to work, each on its own computer. You can use any model and run your own agents under the hood. See how they compare on agents, setup, controls, sign-in and pricing, and when to choose which.
Are you ready?

Stay in the know

Subscribe to our blog and get updates on CopilotKit in your inbox.