obscura-mcp
Officialobscura-mcp
スクレイピングおよびAIエージェント自動化のための軽量Rust製ヘッドレスブラウザ、Obscura用のMCPサーバーアダプターです。
ObscuraのネイティブなCDP機能をクリーンなMCPインターフェースを通じて公開します。Chromeへの依存や、重量級のブラウザ自動化ツールは不要です。
インストール
npm install -g obscura-mcpインストールは一瞬で完了します。ブラウザバイナリ(約80MB)は初回使用時に遅延ダウンロードされます。
インストール後、以下のいずれかを行ってください:
obscura-mcp installを実行して、進捗状況を表示しながらバイナリをダウンロードする。単に
obscura-mcpを実行する。自動的にバイナリがダウンロードされ、サーバーが起動します。
バイナリは ~/.obscura/bin/ にキャッシュされ、npmのアップグレード後も保持されます。
カスタムバイナリパスを使用する場合:
export OBSCURA_PATH=/path/to/obscuraRelated MCP server: Algonius Browser
クイックスタート
# Install
npm install -g obscura-mcp
# Verify
obscura-mcp --version
# Download browser binary
obscura-mcp install
# Start MCP server
obscura-mcp --transport stdioツール
browse_url
ObscuraのCDPエンジンを使用してURLを取得します。ページコンテンツを返します。
パラメータ:
url(string, 必須): アクセスするHTTPまたはHTTPS URL。dump(string, 任意):html、text、またはlinks。デフォルトはhtmlです。cookies(array, 任意): ナビゲーション前に注入するCookie。browse_cookiesが返すものと同じ形式を受け入れます。実際のブラウザからエクスポートしたCookieを渡すことで、認証が必要なページにアクセスできます。stealth(boolean, 任意): 互換性のために受け入れられます。ステルス動作はObscuraサーバーによって制御されます。
browse_evaluate
URLに移動し、ページコンテキストでJavaScriptを実行します。評価結果を返します。
パラメータ:
url(string, 必須): アクセスするURL。expression(string, 必須): 評価するJavaScript式。例:document.title,navigator.userAgent,document.querySelector('h1').textContent。stealth(boolean, 任意): 互換性のために受け入れられます。
browse_cookies
URLに移動し、ページによって設定されたすべてのCookieを取得します。各Cookieの名前、値、ドメイン、パス、有効期限を返します。
パラメータ:
url(string, 必須): アクセスするURL。stealth(boolean, 任意): 互換性のために受け入れられます。
設定
Claude Desktop / Cline / Continue / その他のMCPクライアント
{
"mcpServers": {
"obscura-mcp": {
"command": "obscura-mcp",
"args": ["--transport", "stdio"]
}
}
}VS Code (Cline拡張機能)
{
"servers": {
"obscura-mcp": {
"command": "obscura-mcp",
"args": ["--transport", "stdio"]
}
}
}グローバルなnpmインストール後、obscura-mcp はPATHに含まれるため、絶対パスは不要です。
環境変数
変数 | デフォルト | 説明 |
| — | カスタムObscuraバイナリへのパス |
|
| HTTPトランスポートホスト |
|
| HTTPトランスポートポート |
|
| トランスポートモード: |
|
| Obscura CDPの起動を待機するミリ秒 |
|
| ページ遷移後に待機するミリ秒 |
|
| CDP応答を待機するミリ秒 |
なぜObscuraなのか?
Chrome不要 — 純粋なRust製、200MBのブラウザバンドルは不要
CDPネイティブ — Chrome DevTools Protocolを直接公開
検知回避 — スクレイピング対策サイト向けのステルス機能を内蔵
超軽量 — 約15MBのバイナリ、ミリ秒単位で起動
ライセンス
MIT
Available Tools
3 toolsbrowse_cookiesA
Navigate to a URL and retrieve all cookies set by the page. Returns cookie name, value, domain, path, and expiry for each cookie.
Inputs: url (required), stealth.
browse_evaluateA
Navigate to a URL and execute JavaScript in the page context. Returns the evaluated result as a string. Supports extracting data, clicking elements, filling forms, and reading page state.
Inputs: url (required), expression (required), stealth.
browse_urlA
Fetch a URL using Obscura's lightweight CDP engine. To access authenticated pages, pass cookies previously exported from browse_cookies.
Inputs: url (required), dump, cookies, stealth.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool serves a distinct purpose: retrieving cookies, executing JavaScript, and fetching a URL. There is no ambiguity between the three operations.
All tool names follow the consistent pattern 'browse_<operation>', using snake_case and a common prefix, ensuring predictability.
With only 3 tools, the surface is thin for a browser automation server. It covers basic actions but feels minimal, so it is borderline appropriate.
The set covers URL fetching, cookie extraction, and JS execution, but lacks direct interaction tools (e.g., clicking, form filling, waiting). Workarounds are possible via JS, but gaps exist.
Related MCP Connectors
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
An MCP server that provides agents access to the KeldynAI platform
Related MCP Servers
AlicenseAqualityCmaintenanceA local MCP server that lets AI agents bypass bot detection, geo-restrictions, and JavaScript rendering challenges when scraping the web, backed by ScraperAPI's services285MIT
Algonius Browserofficial
AlicenseNot gradedqualityDmaintenanceAn open-source MCP server that provides browser automation capabilities to external AI systems, enabling navigation, DOM interaction, and web content extraction.20Apache 2.0- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI agents to automate browser interactions using Playwright and Cloudflare Workers, supporting tasks like navigation, clicking, typing, and screenshots.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for web scraping and browser automation, enabling AI agents to extract clean, token-efficient content from web pages.1MIT