Multilogin Browser MCP
Multilogin 浏览器 MCP
一个基于 FastAPI 的服务,通过 CDP 驱动 Multilogin X 反检测浏览器配置文件,并通过可流式传输的 HTTP MCP 服务器将其暴露给 AI 代理。
功能特性
配置文件管理 — 列出、搜索、创建和删除 Multilogin 配置文件(支持批量创建,无人为限制)。
浏览器会话 — 启动配置文件,通过 CDP 连接 Playwright,并管理会话生命周期。
浏览器操作目录 — 导航、点击、输入、执行 JS、截图、标签页、Cookie、滚动、悬停等。
双接口 — 面向集成的 REST API 和面向代理框架的 MCP。
会话看门狗 — 15 分钟最大 TTL 和空闲超时清理。
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 — 我们通过 CDP 连接到 Multilogin 启动的浏览器。
配置
复制示例并填写相应值:
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 --reloadREST 文档:
http://localhost:8000/docsMCP 端点:
http://localhost:8000/mcp/(POST;GET /mcp重定向至此)
REST API
方法 | 路径 | 用途 |
GET |
| 列出/搜索配置文件 |
POST |
| 搜索配置文件 |
GET |
| 运行中的配置文件(启动器) |
POST |
| 启动会话(启动配置文件 + 连接) |
GET |
| 列出活动会话 |
GET |
| 会话状态/过期时间 |
DELETE |
| 关闭会话 + 停止配置文件 |
GET |
| 列出可用的浏览器操作 |
POST |
| 在会话上执行操作 |
示例流程
# 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_profilessearch_profiles
配置文件管理
create_profile— 创建一个配置文件create_profiles— 一次调用创建任意数量的配置文件(无人为限制)remove_profiles
会话
launch_sessionsession_statuslist_sessionsclose_session
浏览器
browser_action— 按名称执行任意操作list_browser_actions— 查看完整操作目录
完整操作目录包括: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。
示例客户端配置
{
"mcpServers": {
"multilogin-browser": {
"url": "http://localhost:8000/mcp/"
}
}
}部署
Railway
推送仓库。
在 Railway 中根据
.env设置环境变量。将启动命令设置为
python main.py(或uvicorn app.main:app --host 0.0.0.0 --port $PORT)。
关于启动器的说明
Multilogin 桌面启动器当前解析到 127.0.0.1。对于远程主机(例如 Railway),启动器必须在同一主机上运行,或通过隧道 / VPN 可达。
许可证
MIT
This server cannot be installed
Maintenance
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
- AlicenseBqualityAmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.3948MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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
- 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.71MIT
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,
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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