WhoBuilt

Agents, Access, and the Future of Machine Identity

Jun 30, 2025· 14 min· 881 views·Watch on YouTube

Speakers

Nick Nisi, developer experience engineer at WorkOS, and Lizzie Siegle, developer advocate at Cloudflare, discuss agent authorization and persistent storage in a live MCP demo at an AI Engineer conference.

Give agents user-level authorization

Lizzie describes building agents to vote in the NBA Finals and book tennis courts, which raises the question of what agents should be allowed to do. Nick says MCP setup can be difficult for non-developers, especially when it requires editing JSON and providing a personal access token. He argues agents need credentials and authorization like user-facing applications, including OAuth so they can act on a person’s behalf.

Cloudflare building blocks for agents

Lizzie describes Cloudflare services for running code and AI, including Workers, Vectorize, databases, and Durable Objects for persistent memory. She says bindings let apps and agents connect to Cloudflare products, and the Agents framework includes OAuth authorization to identify who an agent is acting for.

Connect an MCP server and place an order

Nick deploys a basic MCP server built with Cloudflare and WorkOS, then connects it to Claude and signs in with GitHub. Claude uses the server’s tools to check shirt inventory and place an order after Nick provides a size, address, and company name. Nick shows the resulting order data in Cloudflare KV storage.

Combine identity with per-user state

Nick asks Claude what it knows about him and shows that the JWT provides his name, email, favorite song, and admin role. He then changes the demo mode using a tool that stores state in a Durable Object associated with the worker. That state blocks a second shirt order, while a separate pretty-please tool allows one after Nick asks nicely.

Build toward finer controls and audit trails

Nick says Cloudflare can quickly deploy an authless MCP server, but recommends adding authorization. Lizzie describes future possibilities such as permission controls per tool or per change, plus audit trails showing whose authority an agent used and what happened. Nick points attendees to the demo repository and mcp.shop.

Takeaways

  • Use OAuth to let agents act with a user’s identity instead of relying on manually shared personal access tokens.
  • Design agent permissions around the user and the tools they can access, then refine controls as tasks become more granular.
  • Keep per-user agent state in persistent storage when the agent needs to remember settings across actions.
  • Log who an agent acted for, what it did, and where an action failed to support review and debugging.
  • Treat a quick authless MCP deployment as a prototype; add authorization before connecting tools to user accounts.

Mentioned in this talk

Search inside this talk

What was claimed 10

Show all 10 facts

Related talks