Multilogin Browser MCP
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
PORTund.envgesteuert.
Related MCP server: BrowserPilot
Anforderungen
Python 3.12+
Lokal laufende Multilogin-Desktop-App / Agent (stellt den Launcher unter
https://launcher.mlx.yt:45001bereit, der auf127.0.0.1aufgelöst wird)Ein Multilogin-Automatisierungstoken oder Benutzername + Passwort
Installation
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtKein 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=300Ausführen
python main.py
# or
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadREST-Dokumentation:
http://localhost:8000/docsMCP-Endpunkt:
http://localhost:8000/mcp/(POST;GET /mcpleitet hierher weiter)
REST-API
Methode | Pfad | Zweck |
GET |
| Profile auflisten/suchen |
POST |
| Profile suchen |
GET |
| Laufende Profile (Launcher) |
POST |
| Sitzung starten (Profil starten + verbinden) |
GET |
| Aktive Sitzungen auflisten |
GET |
| Sitzungsstatus/-ablauf |
DELETE |
| Sitzung schließen + Profil stoppen |
GET |
| Verfügbare Browser-Aktionen auflisten |
POST |
| 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_profilessearch_profiles
Profilverwaltung
create_profile— ein Profil erstellencreate_profiles— beliebig viele Profile in einem Aufruf erstellen (keine künstliche Begrenzung)remove_profiles
Sitzungen
launch_sessionsession_statuslist_sessionsclose_session
Browser
browser_action— jede Aktion nach Namen ausführenlist_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
Repository pushen.
Umgebungsvariablen aus
.envin Railway festlegen.Startbefehl auf
python main.pysetzen (oderuvicorn 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
This server cannot be deployed
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Cloud browsers for AI agents: saved logins, residential IPs, live human takeover, 57 browser tools.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.4145 npmMIT
- AlicenseBqualityDmaintenanceEnables 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.172MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control a CamoFox anti-detect browser via MCP tools, supporting navigation, clicking, typing, and more through a REST API wrapper.4MIT
- AlicenseNot gradedqualityDmaintenanceProvides a real browser that bypasses bot detection (Cloudflare, Turnstile) for AI agents, enabling navigation, clicking, typing, screenshots, and data collection through MCP tools.497 npmMIT