OC

ocular MCP Server

Published by xyun1996

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.0
SOURCE CHECKED
Dec 1, 2026

Quick answers

How do I add ocular MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'OCULAR_BASE_URL=<your-ocular-base-url>' --env 'OCULAR_API_KEY=<your-ocular-api-key>' --env 'OCULAR_MODEL=<your-ocular-model>' --transport stdio ocular -- npx -y ocular-mcp

Replace the <your-…> placeholder with your own OCULAR_BASE_URL and OCULAR_API_KEY and OCULAR_MODEL.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "ocular": {
      "command": "npx",
      "args": [
        "-y",
        "ocular-mcp"
      ],
      "env": {
        "OCULAR_BASE_URL": "<your-ocular-base-url>",
        "OCULAR_API_KEY": "<your-ocular-api-key>",
        "OCULAR_MODEL": "<your-ocular-model>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own OCULAR_BASE_URL and OCULAR_API_KEY and OCULAR_MODEL.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add ocular --env 'OCULAR_BASE_URL=<your-ocular-base-url>' --env 'OCULAR_API_KEY=<your-ocular-api-key>' --env 'OCULAR_MODEL=<your-ocular-model>' -- npx -y ocular-mcp

Replace the <your-…> placeholder with your own OCULAR_BASE_URL and OCULAR_API_KEY and OCULAR_MODEL.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "ocular": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ocular-mcp"
      ],
      "env": {
        "OCULAR_BASE_URL": "<your-ocular-base-url>",
        "OCULAR_API_KEY": "<your-ocular-api-key>",
        "OCULAR_MODEL": "<your-ocular-model>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own OCULAR_BASE_URL and OCULAR_API_KEY and OCULAR_MODEL.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "ocular": {
      "command": "npx",
      "args": [
        "-y",
        "ocular-mcp"
      ],
      "env": {
        "OCULAR_BASE_URL": "<your-ocular-base-url>",
        "OCULAR_API_KEY": "<your-ocular-api-key>",
        "OCULAR_MODEL": "<your-ocular-model>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own OCULAR_BASE_URL and OCULAR_API_KEY and OCULAR_MODEL.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use ocular MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does ocular MCP Server need an API key?

To run it on your computer, set OCULAR_BASE_URL, OCULAR_API_KEY and OCULAR_MODEL first, with values from the publisher.

Is ocular MCP Server official?

It's published by xyun1996. The Official MCP Registry accepts names under io.github.xyun1996 only from the GitHub account or organisation xyun1996. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · ocular-mcp@0.1.0
View source repository