ocular MCP Server
by xyun1996io.github.xyun1996/ocularv0.1.0
Vision tools for coding agents: screenshots, OCR, UI diffs, errors, tables, and charts.
context tax
queued
security
queued
cold start
queued
freshness
Maintained59d ago
Install ocular MCP server
Install in Claude Code
claude mcp add ocular -e OCULAR_BASE_URL='<ocular-base-url>' -e OCULAR_API_KEY='<ocular-api-key>' -e OCULAR_MODEL='<ocular-model>' -- npx -y ocular-mcpInstall in Cursor
{
"mcpServers": {
"ocular": {
"command": "npx",
"args": [
"-y",
"ocular-mcp"
],
"env": {
"OCULAR_BASE_URL": "<ocular-base-url>",
"OCULAR_API_KEY": "<ocular-api-key>",
"OCULAR_MODEL": "<ocular-model>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ocular": {
"command": "npx",
"args": [
"-y",
"ocular-mcp"
],
"env": {
"OCULAR_BASE_URL": "<ocular-base-url>",
"OCULAR_API_KEY": "<ocular-api-key>",
"OCULAR_MODEL": "<ocular-model>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"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>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ocular": {
"command": "npx",
"args": [
"-y",
"ocular-mcp"
],
"env": {
"OCULAR_BASE_URL": "<ocular-base-url>",
"OCULAR_API_KEY": "<ocular-api-key>",
"OCULAR_MODEL": "<ocular-model>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OCULAR_BASE_URL | yes | — | OpenAI-compatible API base URL |
| OCULAR_API_KEY | yes | yes | API key for the configured vision model provider |
| OCULAR_MODEL | yes | — | Vision-capable model identifier |
Freshness
Maintained — last maintenance signal 59d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-12 · 59d ago · GitHub
Latest release
2026-08-12 · 59d ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-12 · 59d ago · official registry · v0.1.0
FAQ
›How do I install the ocular MCP server in Claude Code?
Run: claude mcp add ocular -e OCULAR_BASE_URL='<ocular-base-url>' -e OCULAR_API_KEY='<ocular-api-key>' -e OCULAR_MODEL='<ocular-model>' -- npx -y ocular-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does ocular require an API key?
Yes. It expects OCULAR_BASE_URL, OCULAR_API_KEY, OCULAR_MODEL, of which 1 is a secret.
›Can I use ocular as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is ocular in the official MCP registry?
Yes, as io.github.xyun1996/ocular.