ocular
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OCULAR_MODEL | Yes | Vision-capable model name | |
| MCP_HTTP_HOST | No | HTTP host binding | 127.0.0.1 |
| MCP_HTTP_PATH | No | HTTP path for MCP endpoint | /mcp |
| MCP_HTTP_PORT | No | HTTP port | 3000 |
| MCP_TRANSPORT | No | Transport mode (stdio or http) | stdio |
| MCP_AUTH_TOKEN | No | Auth token for HTTP transport | |
| OCULAR_API_KEY | Yes | Provider API key | |
| OCULAR_HEADERS | No | Optional custom provider headers as JSON | |
| MCP_AUTH_HEADER | No | Auth header name | authorization |
| MCP_AUTH_SCHEME | No | Auth scheme (e.g., Bearer) | Bearer |
| OCULAR_BASE_URL | Yes | OpenAI-compatible API base URL | |
| OCULAR_CACHE_DIR | No | Cache directory | |
| OCULAR_MAX_TOKENS | No | Maximum generated tokens | |
| OCULAR_TIMEOUT_MS | No | Provider timeout | |
| OCULAR_TEMPERATURE | No | Generation temperature | |
| OCULAR_UPLOADS_DIR | No | Persistent upload directory | |
| OCULAR_MAX_IMAGE_MB | No | Maximum image size | |
| OCULAR_CACHE_ENABLED | No | Enable result cache | |
| OCULAR_UPLOAD_URL_BASE | No | Public base URL used in upload instructions |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_imageB | Analyze a general image and return structured JSON for a coding agent. |
| extract_text_from_imageB | Extract OCR text from screenshots, documents, tables, terminal output, or code images. |
| analyze_ui_screenshotB | Analyze a webpage, app, UI, or design mockup screenshot for frontend implementation work. |
| diagnose_error_screenshotA | Analyze error, terminal, console, browser, or build failure screenshots. |
| compare_ui_screenshotsB | Compare two UI screenshots and return implementation-useful visual differences. |
| extract_table_from_imageC | Extract visible table data from an image as structured JSON, Markdown, or CSV-oriented output. |
| analyze_chart_imageB | Analyze a chart image and return labels, trends, approximate values, and limitations. |
| create_upload_sessionA | Returns upload instructions for the binary side channel (use this to analyze LOCAL image files without base64 corruption). Before uploading, verify the local file exists and is non-empty with Bash (e.g. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xyun1996/ocular'
If you have feedback or need assistance with the MCP directory API, please join our Discord server