Skip to main content
Glama
ch-yousafali

Multilogin Browser MCP

by ch-yousafali

Multilogin Browser MCP

Multilogin X アンチ検出ブラウザプロファイルを CDP 経由で操作し、ストリーミング可能な HTTP MCP サーバーを通じて AI エージェントに公開する FastAPI サービスです。

特徴

  • プロファイル管理 — Multilogin プロファイルの一覧表示、検索、作成、削除(バッチ作成は人為的な上限なしでサポート)。

  • ブラウザセッション — プロファイルの起動、CDP 経由での Playwright 接続、セッションライフサイクルの管理。

  • ブラウザアクションカタログ — ナビゲーション、クリック、タイピング、JS 評価、スクリーンショット、タブ、クッキー、スクロール、ホバーなど。

  • デュアルインターフェース — 統合用の REST API とエージェントフレームワーク用の MCP。

  • セッションウォッチドッグ — 最大 TTL 15 分とアイドルタイムアウトによるクリーンアップ。

  • Railway 対応PORT.env で駆動。

Related MCP server: BrowserPilot

要件

  • Python 3.12+

  • ローカルで実行中の Multilogin デスクトップアプリ / エージェント(ランチャーを https://launcher.mlx.yt:45001 で公開し、127.0.0.1 に解決)

  • Multilogin オートメーショントークン、またはユーザー名 + パスワード

インストール

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

playwright install は不要です — Multilogin が起動するブラウザに CDP 経由で接続します。

設定

サンプルをコピーして値を入力してください:

cp .env.example .env
# Option A: automation token (recommended for servers)
MULTILOGIN_AUTOMATION_TOKEN=your_token

# Option B: username + password
# MULTILOGIN_USERNAME=you@example.com
# MULTILOGIN_PASSWORD=your_password

# Optional overrides
# MULTILOGIN_API_URL=https://api.multilogin.com
# MULTILOGIN_LAUNCHER_URL=https://launcher.mlx.yt:45001
# PORT=8000
# SESSION_MAX_TTL_SECONDS=900
# SESSION_IDLE_TIMEOUT_SECONDS=300

実行

python main.py
# or
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
  • REST ドキュメント: http://localhost:8000/docs

  • MCP エンドポイント: http://localhost:8000/mcp/(POST; GET /mcp はここにリダイレクト)

REST API

メソッド

パス

目的

GET

/api/v1/profiles/

プロファイルの一覧表示 / 検索

POST

/api/v1/profiles/search

プロファイルの検索

GET

/api/v1/profiles/statuses

実行中のプロファイル(ランチャー)

POST

/api/v1/sessions/

セッションの起動(プロファイル開始 + 接続)

GET

/api/v1/sessions/

アクティブなセッションの一覧

GET

/api/v1/sessions/{id}

セッションのステータス / 有効期限

DELETE

/api/v1/sessions/{id}

セッションを閉じる + プロファイルを停止

GET

/api/v1/browser/actions

利用可能なブラウザアクションの一覧

POST

/api/v1/browser/sessions/{id}/action

セッションでアクションを実行

フロー例

# 1. list profiles
curl http://localhost:8000/api/v1/profiles/

# 2. launch a session
curl -X POST http://localhost:8000/api/v1/sessions/ \
  -H 'content-type: application/json' \
  -d '{"profile_id":"<pid>","folder_id":"<fid>"}'

# 3. drive it
curl -X POST http://localhost:8000/api/v1/browser/sessions/<sid>/action \
  -H 'content-type: application/json' \
  -d '{"action":"navigate","params":{"url":"https://example.com"}}'

# 4. close (auto-closes after 15 min anyway)
curl -X DELETE http://localhost:8000/api/v1/sessions/<sid>

MCP ツール

ストリーミング可能な HTTP MCP クライアントを http://localhost:8000/mcp/ にポイントします。

検出

  • list_profiles

  • search_profiles

プロファイル管理

  • create_profile — 1 つのプロファイルを作成

  • create_profiles — 1 回の呼び出しで任意の数のプロファイルを作成(人為的な上限なし)

  • remove_profiles

セッション

  • launch_session

  • session_status

  • list_sessions

  • close_session

ブラウザ

  • browser_action — 名前で任意のアクションを実行

  • list_browser_actions — 完全なカタログを表示

完全なアクションカタログには以下が含まれます: navigateclicktype_textpress_keyget_textget_htmlget_urlscreenshotwait_forevaluate_jslist_tabsswitch_tabnew_tabclose_tabgo_backgo_forwardreloadscrollhoverselect_optionset_checkedupload_filecookies

クライアント設定例

{
  "mcpServers": {
    "multilogin-browser": {
      "url": "http://localhost:8000/mcp/"
    }
  }
}

デプロイ

Railway

  1. リポジトリをプッシュします。

  2. Railway で .env の環境変数を設定します。

  3. 開始コマンドを python main.py(または uvicorn app.main:app --host 0.0.0.0 --port $PORT)に設定します。

ランチャーに関する注意

Multilogin デスクトップランチャーは現在 127.0.0.1 に解決されます。リモートホスト(例: Railway)の場合、ランチャーは同じホストで実行するか、トンネル / VPN 経由で到達可能にする必要があります。

ライセンス

MIT

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI to control browsers via natural language for web automation, testing, and data scraping. Supports Chrome-based browsers and integrates with any MCP-compatible AI tool.
    2
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to control a CamoFox anti-detect browser via MCP tools, supporting navigation, clicking, typing, and more through a REST API wrapper.
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a real browser that bypasses bot detection (Cloudflare, Turnstile) for AI agents, enabling navigation, clicking, typing, screenshots, and data collection through MCP tools.
    71
    MIT

View all related MCP servers

Related MCP Connectors

  • Stealth web browser for agents: search, fetch, click and type through persistent sessions over MCP.

  • A paid remote MCP for AI agent browser approval MCP, built to return verdicts, receipts, usage logs,

  • A paid remote MCP for AI agent browser MCP session, built to return verdicts, receipts, usage logs,

View all MCP Connectors

Latest Blog Posts

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/ch-yousafali/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server