An agent bar for any app with an MCP server.
Your users get their own Claude agent inside your app. It changes their data through your MCP tools, and nothing else.
How it works
- The user turns it on from your app's settings. It's optional, and your app works unchanged without it.
- They sign in to Fly.io and Claude. Their agent runs on their own Fly Sprite, with their own Claude account.
- They ask in plain words ("add my new job", "shorten my headline"). The agent can only use your MCP's tools, as that user, and asks before anything you mark as sensitive.
What your app provides
- An MCP server, and a token for it per user.
- A JWKS that verifies your users' session tokens.
- One script tag, and an "Enable agent" control:
<script>window.anymcp = { token: async () => userSessionJwt };</script>
<script src="https://anymcp.chat/bar.js" data-tenant="yourapp" defer></script>
When a tool changes something, the bar fires anymcp:changed so your page can refresh.
Plays well with other bars
The bar follows agentbar.md, a small open standard so several chat bars can share one page without clashing.