> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pwno.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Configure pwno-mcp for Cursor using HTTP or stdio transport.

Cursor MCP configuration can live in either of these files:

* Project: `.cursor/mcp.json`
* Global: `~/.cursor/mcp.json`

If you use project config, keep your target binary under `PROJECT_ROOT/workspace/`.

<CodeGroup>
  ```json HTTP theme={null}
  {
    "mcpServers": {
      "pwno-mcp": {
        "url": "http://127.0.0.1:5500/mcp"
      }
    }
  }
  ```

  ```json stdio theme={null}
  {
    "mcpServers": {
      "pwno-mcp": {
        "type": "stdio",
        "command": "docker",
        "args": [
          "run",
          "--rm",
          "-i",
          "--cap-add=SYS_PTRACE",
          "--cap-add=SYS_ADMIN",
          "--security-opt",
          "seccomp=unconfined",
          "--security-opt",
          "apparmor=unconfined",
          "-v",
          "${workspaceFolder}/workspace:/workspace",
          "ghcr.io/pwno-io/pwno-mcp:latest",
          "--stdio"
        ]
      }
    }
  }
  ```
</CodeGroup>

<Check>
  Open Cursor's MCP panel after saving the config and confirm the server is connected before starting debugger workflows.
</Check>
