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

  • previously at
    Developer Advocate
    “I'm a developer advocate at Cloudflare.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    Nick Nisi works at WorkOS
    DX / AI (Developer and Agent Experiences); GitHub README says Developer Experience Engineer
    “I'm a developer experience engineer at WorkOS.”
    YouTube
    Verified7 sources· Talk, Web· archived
  • feature
    WorkOS: Authorization and user management
    “We do authorization and user management.”
    YouTube
    Unverified1 source· Talk
  • feature
    Cloudflare: Workers can host code at the edge
    “Workers, where we can host your code on the edge.”
    YouTube
    Unverified1 source· Talk
  • feature
    Cloudflare Agents: OAuth framework for identifying who a Worker or agent acts on behalf of
    “has a whole OAuth framework that lets you set up authorization”
    YouTube
    Unverified1 source· Talk
  • integrates with
    MCP Shop integrates with Claude
    “I'm going to go over to my client, Claude”
    YouTube
    Unverified1 source· Talk
  • feature
    MCP Shop: Stores order data in key-value storage
    “there is an orders entry here”
    YouTube
    Unverified1 source· Talk
  • uses
    “your MCP server is a Durable Object”
    YouTube
    Unverified1 source· Talk
  • feature
    MCP Shop: Checks stored per-user mode before allowing an order
    “changes the mode to ban in the context associated with this worker object”
    YouTube
    Unverified1 source· Talk
  • feature
    agent authorization: Can support finer-grained permissions and audit trails
    “much more fine-grained authorization”
    YouTube
    Unverified1 source· Talk

Related talks