Skip to content

Connect an agent to Ployz Cloud

An agent app that speaks MCP can use the Ployz tools straight from Ployz Cloud. You add one link, sign in once in your browser, and pick the organization the agent works in. Nothing to install on your computer, and no token to copy.

This works on ployz.dev. A Self-hosted Cloud doesn't serve it; use ployz mcp there. ployz mcp has its own credential. Run ployz mcp login once to give it an agent token, which can't approve anything.

  1. Add https://ployz.dev/mcp to your agent as a remote MCP server. In Claude Code:

    claude mcp add --transport http ployz https://ployz.dev/mcp

    In other apps, look for Add custom connector or Remote MCP server and paste the link.

  2. The app opens Ployz in your browser. Sign in if you aren't already.

  3. Pick the Organization the agent works in and click Allow. The one you're working in now is picked to start with.

The agent now acts as you in that organization. To use another organization, connect again and pick it.

The same tools as the Ployz agent in the dashboard. It can create projects, change services, configs, volumes and domains, save and deploy, follow and redeploy deployments, and work on your servers and volumes. Tell it which project and environment to work in.

If a reply gets lost, the agent can resend a write without running it twice, as long as it sends the same request_key (or x-ployz-request-key header) both times. A call without one is a new run each time, and Ployz tells agents this when they connect.

Every tool takes an intent: a short sentence on the goal the call serves, such as "Check why the web service is down". A call without one is refused with "Say why you are calling this tool. Send intent, a short sentence on the goal this call serves." The agent sees that and tries again with a reason. The tool never sees the intent, and it is not part of the call's inputs.

Ployz keeps the reason, the tool's name, how long it took and whether it worked, so the team can see what agents are trying to do and where they get stuck. It never keeps what you or the agent put in the call, or what came back. Agents are asked to describe people by role and to leave out personal details, and Ployz removes email addresses, phone numbers and keys it recognizes from the reason before it keeps it.

The Ployz agent in the dashboard works the same way.

The agent also has a send_feedback tool. It takes a type, one of missing_capability (something the work needed that Ployz can't do), issue, praise or other, a message, and optionally a sentiment. It needs no intent, answers "Thanks. The Ployz team reads this." and changes nothing in your organization.

Every deploy the agent asks for waits for you, even one that destroys nothing. The agent gets a link to the deploy and passes it to you.

  1. Open the link.
  2. Read what the deploy does, and approve it with your passkey, or deny it.
  3. The agent follows the deploy with proposal_status and carries on.

A service stop or restart waits on a link the same way. Anything else that removes something, such as a save that removes a service, a redeploy, removing or draining a server, removing a project or environment, or releasing a volume, is refused. The agent tells you it needs a person and where to do it: in Ployz Cloud, or the ployz command when there is one. None of this waits in an Agent sandbox nobody has claimed yet.

The agent can also plan several service restarts, stops and starts as one proposal. You approve it once in the dashboard with your passkey, and the steps run in order. The agent gets a link to the proposal and follows it with proposal_status. See Ployz agent for the card.

The agent never holds your approval. It can't approve a call or a proposal, and what you sign in the browser never reaches it.

To disconnect one agent, click Disconnect on its row under Account → Connected agents. Each agent you connected that can still use Ployz is listed there with its name, the organization and when you allowed it. It stops at once. The next time it needs Ployz, it asks you to connect again.

Any active sign-out or session revoke disconnects your agents that no remaining signed-in browser connected. That includes logging out of Ployz Cloud, clicking Sign out on a browser under Account, and signing a computer's CLI out with ployz logout, ployz token rm, or under Organization → Tokens. So signing out of the browser you connected an agent from disconnects that agent, even if you connected the same app from another browser too. Leaving the organization disconnects your agents in it. The next time the agent needs Ployz, it asks you to connect again.

A lapse disconnects nothing. When your browser's sign-in runs out on its own, an agent keeps working without you opening the dashboard, as long as it uses Ployz at least once every 30 days.