← Blog

· The Ploybot team

Codex and Claude Code with permission: how to deploy your coding agents

Your teams already work with Codex, Claude Code or OpenCode. This is how they connect to Ploybot: first over MCP by pasting a URL, then with the workstation recipe and, in the enterprise, with no model keys on the laptop.

Hands typing on a laptop

Codex, Claude Code and OpenCode are already part of many teams’ daily work. They write code, but more and more they also act: they deploy, query an internal API, open a ticket. And to do so they usually inherit the credentials of whoever is using them.

Ploybot does not replace those tools. It sits between them and your systems, so the agent asks for permission instead of carrying the keys. There are three levels, and you can stop at whichever one you need.

Level 1: connect over MCP by pasting a URL

Every Ploybot agent has its MCP at a URL like this:

https://app.ploybot.com/mcp/<agentId>

You will find it under My agents in the console. Paste it into your tool as a remote MCP server. The first time, the client works out how to authenticate on its own, opens the browser, and you sign in with your Ploybot account, using a passkey or password. No tokens to copy or leave in a file.

With Claude Code, for example:

claude mcp add --transport http ploybot https://app.ploybot.com/mcp/<agentId>

From then on the tool sees exactly the tools assigned to that agent, and nothing else. If it asks for something sensitive, it gets PENDING_APPROVAL: whoever decides gets a notification on their phone with the change in front of them, and once they approve, the agent tries again.

Level 2: the workstation recipe

When a whole team works with the same agent, configuring each laptop by hand does not scale. That is why each agent can have a workstation recipe in the catalogue: which tool it uses (Codex, Claude Code or OpenCode), which model from which provider (Anthropic, OpenAI or Bedrock), which other MCP servers and which skills.

With the Ploybot CLI installed, it is applied in a single command:

ploybot install oauth <agentId>

The browser opens, you sign in, and the CLI leaves the tool configured according to the recipe. The person signs in, not the agent: nobody receives the agent’s secret, and the recipe carries no model keys. If the team swaps Codex for Claude Code tomorrow, you change the recipe; the agent, its history and its evidence stay the same.

Level 3: no model keys on the laptop

In the enterprise there is one more step. The model provider’s key (Anthropic or OpenAI) does not need to be on any laptop. With the Ploybot AI gateway:

For the developer nothing changes: they open Codex or Claude Code as usual. What changes is that the company knows which model was used, with what data and for what, and that losing a laptop does not mean losing the provider key.

What you get at any of the three levels

Where to start

Start with level 1: create an account, set up an agent with a read-only tool and paste its URL into your tool. The trial lasts 14 days and needs no card. If you want to go straight to level 3, tell us about your case.

Shall we try it with your agents?

Connect your first agent