---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://perfloop.ai/.well-known/search?q={query}"
  method: "GET"
---

situation

# Performance work your coding agent can steer

Perfloop has a remote MCP server at `https://app.perfloop.ai/mcp`. Your coding agent uses it to find performance problems, bugs and security flaws in your repos and to start the work that proves a fix. It works with any agent that supports remote MCP over HTTP with OAuth, such as Claude Code or Cursor.

## Connect

In Claude Code:

```
claude mcp add --transport http perfloop https://app.perfloop.ai/mcp
```

Then run `/mcp`, choose `perfloop`, and sign in with your Perfloop account. In Cursor, add this to `~/.cursor/mcp.json`, then open Settings → Tools & MCP and authenticate `perfloop`:

```
{
  "mcpServers": {
    "perfloop": {
      "url": "https://app.perfloop.ai/mcp"
    }
  }
}
```

There is no anonymous access: your role in the workspace decides what the agent can read or change. No account yet? Follow step 1 of the [Quickstart](https://perfloop.ai/docs/work/quickstart). A workspace has nothing to show until an Admin selects repos in Setup. [The MCP server](https://perfloop.ai/docs/work/mcp) gives the steps for each agent and the plugin for Claude Code and Codex.

## What your agent can do

1. Review a pushed branch with `submitDiff` and read its ranked findings with `diff`. Pass `measure: true` to measure the base and head commits.
2. Prove a finding with `workCase`, which starts paid work, and read the verdict with `cases`.
3. Steer a Case with `fileFeedback`, for example to set the batch size the benchmark uses.
4. Read a pending pull request proposal with `inbox`. When you accept it, `approve` lets Perfloop open the pull request; you still review and merge it on your code host.

Model builds and experiments run on Perfloop and use Usage, your workspace's prepaid balance. Your conversation still uses your coding agent's tokens.

## What it cannot do

Perfloop opens pull requests, or an issue when a result suits one better. It cannot approve, merge, or deploy. A proven result opens nothing until a member selects **Allow & open PR** or **Allow & open issue** in Inbox, unless an Admin set that repo's **Pull requests** control to **Open**. When your repo's rules hold a result, the hold shows on its Case page instead. A hypothesis the evidence disproves stays on its Case as refuted. Start with the [Quickstart](https://perfloop.ai/docs/work/quickstart).
