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
Slack Agents Night: OpenTag running on the Channels SDK
Anmol Baranwal and Sofía Sánchez-ZárateSeptember 2, 2026
Slack Agents Night: OpenTag running on the Channels SDKWe hosted Slack Agents Night with WorkOS in San Francisco, where Sofía from our team demoed Kite and OpenTag running on the Channels SDK. Kite drafted a real PR from a Slack thread, rendered native Block Kit components, and ran alongside Antigravity in the same conversation. Here's the full recording plus a breakdown of how the Channels SDK puts any AG-UI agent into Slack and Teams.
OpenBot passes 3,500 GitHub stars! Here's what's new in v0.0.5
Eli Berman September 1, 2026
OpenBot passes 3,500 GitHub stars! Here's what's new in v0.0.5OpenBot just crossed 3,500 GitHub stars, and v0.0.5 has tons of new features. Bots can now answer from Google Drive and Notion, hand off to each other, run on a schedule, and route untagged messages on their own. You can take the wheel of a Bot's browser mid-task, ship skills for smarter tool use, sign in with enterprise SSO, deploy via Helm on AWS, dry-run boundary rules, and lean on a wide security hardening pass. Open source and self-hostable! Check it on GitHub.
Mastra is now fully AG-UI compatible
Anmol Baranwal and Nathan TarbertAugust 24, 2026
Mastra is now fully AG-UI compatibleMastra is now fully AG-UI compatible, so the entire CopilotKit feature set runs on any Mastra agent, local or remote - including generative UI, shared state that streams live, interrupts, background tasks as live activity cards, frontend tools, subagents, multimodal, voice, reasoning and more. A2UI surfaces heal themselves, and generation runs in a dedicated sub-agent. Works across React, React Native, Next.js, and Angular on the web, plus Slack, Teams, and other messaging platforms via the Channels SDK. Everything is open source.
Are you ready?

Stay in the know

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