Purpose
Plori runs AI agents in cloud Workspaces. Multiple agents can work on a project at the same time, each on its own copy of the files, and Plori merges their changes back into the Workspace. Only the Workspace's files persist between runs. Users can talk to the agents in the web app, or drive them from their own tools via MCP and REST. This repository is the integration entry point; the product itself is at plori.ai, and the remote MCP server is at https://api.plori.ai/mcp。
Main capabilities
The MCP server exposes 23 tools in total, divided into five groups. A Workspace holds persistent files with saved revisions, a main conversation, and run history. Agents run in the Workspace, have a shell, and the Workspace files are at /workspace.
- Workspace and account: list_workspaces (lists the Workspaces you own, including status, default agent, current revision, and storage_readiness during storage startup), create_workspace (creates a Workspace and its first revision; unless default_manager_agent_id is passed, it also creates a default agent; idempotency_key makes retries return the same Workspace), delete_workspace (permanently deletes a Workspace and its files, revisions, copies, and conversations), read_workspace_file (reads a file or directory listing from a saved revision), get_workspace_costs (run costs charged to a Workspace or a task group within a time window), get_credits (prepaid balance, plan, and limits).
- Runs: send_workspace_message (sends a message to the Workspace conversation and waits for a reply; wait_seconds sets how long to wait; idempotency_key makes retries return the original run; callback_url plus callback_secret can send signed status notifications to your endpoint), get_run_result (the run's status, timestamps, credits, tokens, tool progress, and the reply once complete), list_runs (a given agent's run history, newest first), cancel_run (stops an in-progress run, first reporting cancelling and then cancelled), schedule_run (runs an agent once later, either after a delay or at a specified point in time; returns awaiting_confirmation and confirm_url, and the run is queued only after it is confirmed in the Plori web app).
- **Human-in-the-loop (human-in-the-loop): list_pending_inputs (runs paused due to an approval or input request), answer_pending_input (reject a request, or answer the agent's question, which starts a continuation run). MCP clients cannot approve operations: every paused approval carries an approve_url that must be opened in the Plori web app.
- Worker: create_workspace_worker (lets the agent start working on a separate copy of the Workspace files, so multiple Workers can run simultaneously without modifying each other's files), list_workspace_workers and get_workspace_worker (status, runs, and whether Plori has saved that Worker's files), steer_workspace_worker (send a message to a running Worker's turn), stop_workspace_task_group (stop all Workers in a task group).
- Changeset: submit_workspace_changeset (submit a Worker's saved files for review against the Workspace's current files), list_workspace_changesets and get_workspace_changeset (status, stage, and changed and conflicting paths), accept_workspace_changeset (make that Worker's changes the Workspace's current files as a new revision), reject_workspace_changeset (leave the Workspace files unchanged).
If a turn is still running when the wait ends, it continues on the server: send_workspace_message returns a run_id with running status and a poll_after_seconds delay, after which use get_run_result with wait=true (or a custom wait_seconds, up to 1800) to read the answer.
How to use
Plori is a remote MCP server (streamable HTTP), with nolocal installation or running required. Clients log in via OAuth 2.1 through the browser on first connection; headless environments can use an API key instead. API keys are generated in the Dashboard -> Settings of a registered account.
- Claude Code: paste "Set up https://plori.ai/SKILL.md”,Claude in the conversation to read the setup instructions and configure MCP if needed. If the new server has not loaded yet, enter /reload-plugins when Claude prompts, then continue in the same conversation. When pairing, open the short address shown by Claude, enter the code, log in, and approve. You can use your phone while Claude Code runs on a remote machine. No skills or plugins need to be installed.
- Cursor: use the one-click Add to Cursor button, or manually add the URL in Settings -> MCP -> Add server https://api.plori.ai/mcp。
- Codex: automatically detects plori's OAuth on login. One-step installation alternative with bundled skills: codex plugin marketplace add plori-ai/codex-plugin, then codex plugin add plori@plori.
- Cline: follow llms-install.md, which is written for Cline's automatic installer.
- Other clients: native streamable-HTTP clients connect directly https://api.plori.ai/mcp。仅支持 The stdio client can be bridged using the plori-mcp npm package (it is a lightweight wrapper around mcp-remote, with the endpoint already fixed; this repository is its source code).
Without MCP, using your own terminal: the plori CLI is not an MCP client; it is an independent door that opens the same live session as the web app: recent history, prompts, streaming output, and the approval queue are all in one place. Turns you send in the terminal stream live in the open browser tab. The installer places a static binary in ~/.local/bin, with no Node required; if that directory is not yet in PATH, the script prints the line that needs to be added. npm i -g @plori/cli also works. The additional argument is the agent name, agent id, or session id, so a session id copied from the web app can be used on its own. Ctrl-D detaches and lets the run continue on the server. The terminal does not give the agent access to your local files; the shell and Workspace files are all in Plori's cloud.
Verify the connection: ask the client, "List my plori Workspaces and tell me how many credits I have left." You should see the list_workspaces and get_credits tool calls and a real answer.
When to use it
Scenarios where you need to run AI agents in persistent cloud Workspaces, have multiple agents work on the same project in parallel and merge changes; where you want to drive agents from your own tools via MCP or REST, and approve and schedule runs; or where you want to use the terminal to view the same session as the web app in real time.
Limitations
- Running agents consumes plori credits from your account; reads (lists, results, balance) are free. See the pricing page for specific pricing.
- MCP clients cannot approve operations: every paused approval includes an approve_url, which must be opened in the Plori web app. schedule_run returns awaiting_confirmation and confirm_url, and the run is only queued after confirmation.
- In terminal mode, the agent cannot access your local files; the shell and Workspace files are all in the Plori cloud.
- Only the Workspace's files persist across runs.
- You can revoke a client's access at any time in the client settings, or revoke an API key in Dashboard -> Settings.