ocular for Grok
io.github.xyun1996/ocular
Vision tools for coding agents: screenshots, OCR, UI diffs, errors, tables, and charts.
client:Grok
transport:stdio
runtime:npm
Install ocular in Grok
.mcp.json (in your project root)
{
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs