Skip to content
Cursor

ocular for Cursor

io.github.xyun1996/ocular

Vision tools for coding agents: screenshots, OCR, UI diffs, errors, tables, and charts.

client:Cursor transport:stdio runtime:npm

Install ocular in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ocular": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ocular-mcp"
      ],
      "env": {
        "OCULAR_BASE_URL": "<OCULAR_BASE_URL>",
        "OCULAR_API_KEY": "<OCULAR_API_KEY>",
        "OCULAR_MODEL": "<OCULAR_MODEL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

ocular in other clients