Skip to main content
Glama
ch-yousafali

Multilogin Browser MCP

by ch-yousafali

Multilogin Browser MCP

Ein FastAPI-Dienst, der Multilogin-X-Anti-Detect-Browserprofile über CDP steuert und sie KI-Agenten über einen streambaren HTTP-MCP-Server bereitstellt.

Funktionen

  • Profilverwaltung — Multilogin-Profile auflisten, suchen, erstellen und entfernen (Stapelerstellung wird ohne künstliche Begrenzung unterstützt).

  • Browser-Sitzungen — Ein Profil starten, Playwright über CDP verbinden und den Sitzungslebenszyklus verwalten.

  • Browser-Aktionskatalog — Navigieren, Klicken, Tippen, JS ausführen, Screenshots, Tabs, Cookies, Scrollen, Hover und mehr.

  • Doppelte Schnittstelle — REST-API für Integrationen und MCP für Agent-Frameworks.

  • Sitzungs-Watchdog — Maximale TTL von 15 Minuten und Bereinigung bei Leerlauf-Timeout.

  • Railway-bereit — Über PORT und .env gesteuert.

Related MCP server: BrowserPilot

Anforderungen

  • Python 3.12+

  • Lokal laufende Multilogin-Desktop-App / Agent (stellt den Launcher unter https://launcher.mlx.yt:45001 bereit, der auf 127.0.0.1 aufgelöst wird)

  • Ein Multilogin-Automatisierungstoken oder Benutzername + Passwort

Installation

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

Kein playwright install erforderlich — wir verbinden uns über CDP mit dem Browser, den Multilogin startet.

Konfiguration

Kopieren Sie das Beispiel und füllen Sie die Werte aus:

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

Ausführen

python main.py
# or
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
  • REST-Dokumentation: http://localhost:8000/docs

  • MCP-Endpunkt: http://localhost:8000/mcp/ (POST; GET /mcp leitet hierher weiter)

REST-API

Methode

Pfad

Zweck

GET

/api/v1/profiles/

Profile auflisten/suchen

POST

/api/v1/profiles/search

Profile suchen

GET

/api/v1/profiles/statuses

Laufende Profile (Launcher)

POST

/api/v1/sessions/

Sitzung starten (Profil starten + verbinden)

GET

/api/v1/sessions/

Aktive Sitzungen auflisten

GET

/api/v1/sessions/{id}

Sitzungsstatus/-ablauf

DELETE

/api/v1/sessions/{id}

Sitzung schließen + Profil stoppen

GET

/api/v1/browser/actions

Verfügbare Browser-Aktionen auflisten

POST

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

Aktion auf einer Sitzung ausführen

Beispielablauf

# 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-Tools

Richten Sie einen beliebigen streamable-HTTP-MCP-Client auf http://localhost:8000/mcp/ aus.

Erkennung

  • list_profiles

  • search_profiles

Profilverwaltung

  • create_profile — ein Profil erstellen

  • create_profiles — beliebig viele Profile in einem Aufruf erstellen (keine künstliche Begrenzung)

  • remove_profiles

Sitzungen

  • launch_session

  • session_status

  • list_sessions

  • close_session

Browser

  • browser_action — jede Aktion nach Namen ausführen

  • list_browser_actions — den vollständigen Katalog ansehen

Der vollständige Aktionskatalog umfasst: navigate, click, type_text, press_key, get_text, get_html, get_url, screenshot, wait_for, evaluate_js, list_tabs, switch_tab, new_tab, close_tab, go_back, go_forward, reload, scroll, hover, select_option, set_checked, upload_file, cookies.

Beispiel-Client-Konfiguration

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

Bereitstellung

Railway

  1. Repository pushen.

  2. Umgebungsvariablen aus .env in Railway festlegen.

  3. Startbefehl auf python main.py setzen (oder uvicorn app.main:app --host 0.0.0.0 --port $PORT).

Hinweis zum Launcher

Der Multilogin-Desktop-Launcher wird derzeit auf 127.0.0.1 aufgelöst. Für entfernte Hosts (z. B. Railway) muss der Launcher entweder auf demselben Host laufen oder über einen Tunnel / VPN erreichbar sein.

Lizenz

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