New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

oculo-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oculo-mcp

MCP server for Oculo — AI-powered browser automation. Control the live browser with 16 tools: navigate, click, fill forms, extract data, run pipelines, generate media, and more.

latest
Source
npmnpm
Version
0.4.4
Version published
Maintainers
1
Created
Source

oculo-mcp

npm version npm downloads

MCP (Model Context Protocol) server for Oculo — the AI-powered native browser. This package connects any MCP client (Claude Code, Claude Desktop, Cursor, Windsurf) to a running Oculo instance via stdio transport.

Prerequisites

  • Node.js >= 18
  • Oculo browser must be running (download from getoculo.com)

Quick Start

Claude Code

claude mcp add oculo -- npx oculo-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "oculo": {
      "command": "npx",
      "args": ["-y", "oculo-mcp"]
    }
  }
}

Cursor / Windsurf

Add to your MCP settings:

{
  "oculo": {
    "command": "npx",
    "args": ["-y", "oculo-mcp"]
  }
}

Global Install (alternative)

npm install -g oculo-mcp

Then use oculo-mcp as the command instead of npx oculo-mcp.

How It Works

Oculo writes its port to ~/.oculo-port on startup. This bridge reads that file, speaks MCP over stdio, and forwards tool calls to Oculo's HTTP server. Tools are always discoverable (even when Oculo isn't running) — errors surface at call time with clear instructions.

Available Tools (16)

ToolDescription
pageDescribe current page (compact, a11y tree, or markdown extraction)
actClick, navigate, scroll, type, login, screenshot, and 50+ browser actions
fillFill form fields by visible label (text, select, checkbox, contenteditable)
readExtract structured data (tables, lists, search results, articles)
runMulti-step pipelines with conditionals — cached for replay
mediaGenerate images (Nano Banana / DALL-E 3) or videos (Veo 3.1)
shellExecute shell commands non-interactively
tabsList and manage open browser tabs
researchDeep web research across multiple tabs
previewPre-fetch a URL without navigating
translateTranslate page content or text
lensVisual analysis via screenshot
abortCancel pending tool calls
statusList pending tool calls
webmcp_listDiscover WebMCP tools registered by the page
webmcp_callCall a WebMCP tool from the page

Example Usage

Once connected, your AI assistant can:

"Navigate to github.com and star the oculo repo"
"Fill out the contact form on this page"
"Extract all product prices from this table"
"Take a screenshot and describe what you see"
"Research the latest news about AI browsers"

Troubleshooting

IssueSolution
"Oculo browser is not running"Launch the Oculo app first
"Connection refused"Oculo may have crashed — restart it
Stale port fileThe bridge auto-cleans ~/.oculo-port if Oculo isn't responding
Tools show but calls failMake sure Oculo is in the foreground with a page loaded

License

MIT

Keywords

mcp

FAQs

Package last updated on 19 Mar 2026

Related posts