TgeBrowser MCP Server
Enables AI assistants to interact with the TgeBrowser Local API to create, manage, and automate isolated browser environments. It supports comprehensive browser automation tasks including navigation, element interaction, and fingerprint configuration through natural language.
README
TgeBrowser MCP Server
A Model Context Protocol (MCP) server for the TgeBrowser Local API. Enables AI assistants to interact with TgeBrowser — creating, managing, and automating browser environments via the local REST API.
Requirements
- TgeBrowser installed and running
- Node.js 18 or higher
MCP Server Setup
Claude Desktop
Edit the config file:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
macOS / Linux:
{
"mcpServers": {
"tgebrowser": {
"command": "npx",
"args": ["@tgebrowser/mcp"]
}
}
}
Windows:
{
"mcpServers": {
"tgebrowser": {
"command": "cmd",
"args": ["/c", "npx", "@tgebrowser/mcp"]
}
}
}
Claude Code
claude mcp add tgebrowser -- npx @tgebrowser/mcp
Cursor
{
"mcpServers": {
"tgebrowser": {
"command": "npx",
"args": ["@tgebrowser/mcp"]
}
}
}
Configuration
Port
Default port is 50326. Override via --port arg or PORT env var.
{
"mcpServers": {
"tgebrowser": {
"command": "npx",
"args": ["@tgebrowser/mcp", "--port", "50326"]
}
}
}
API Key
Provide via --api-key arg or API_KEY env var. Sent as Authorization: Bearer header.
{
"mcpServers": {
"tgebrowser": {
"command": "npx",
"args": ["@tgebrowser/mcp", "--api-key", "your-api-key"]
}
}
}
Combined Example
{
"mcpServers": {
"tgebrowser": {
"command": "npx",
"args": ["@tgebrowser/mcp", "--port", "50326", "--api-key", "your-api-key"]
}
}
}
Skills Support
This project includes intelligent skills for AI assistants to operate TgeBrowser more efficiently.
What are Skills?
Skills provide AI assistants with:
- Smart defaults (auto-fill missing parameters)
- Error prevention (check status before operations)
- Intent inference (understand what user wants)
- Workflow optimization (automate multi-step processes)
Installation
Quick Install:
git clone https://github.com/你的用户名/tgebrowser-mcp-server.git
cp -r tgebrowser-mcp-server/skills/tgebrowser ~/.config/claude/skills/
Detailed Instructions:
- Skills Installation Guide - Multiple installation methods
- OpenClaw Setup Guide - OpenClaw specific configuration
Using Skills
For Claude Code / OpenClaw:
See OPENCLAW_SETUP.md for detailed setup instructions.
Quick setup:
- Copy or link
skills/tgebrowserto your AI assistant's skills directory - The AI will automatically use intelligent workflows when operating TgeBrowser
Skills Documentation:
- Main Skill Guide - Complete usage guide
- Environment Management
- Fingerprint Config
- Proxy Config
Available Tools
Browser Management
| Tool | Description |
|---|---|
create-browser |
Create a browser environment |
update-browser |
Update a browser environment |
delete-browser |
Delete a browser environment |
open-browser |
Open a browser environment, returns WebSocket URL for automation |
close-browser |
Close a browser environment |
close-all-profiles |
Close all opened browser environments |
get-browser-list |
List browser environments |
get-opened-browser |
List currently opened browser environments |
get-browser-active |
Get active browser environment info |
get-profile-cookies |
Get cookies of a browser environment |
get-profile-ua |
Get User-Agent of a browser environment |
new-fingerprint |
Generate a new random fingerprint |
delete-cache |
Clear local cache of a browser environment |
get-group-list |
List browser groups |
get-proxy-list |
List proxies |
check-status |
Check TgeBrowser API availability |
Browser Automation
After calling open-browser, use connect-browser-with-ws with the returned ws URL to enable automation.
| Tool | Description |
|---|---|
connect-browser-with-ws |
Connect to an opened browser via WebSocket CDP URL |
open-new-page |
Open a new tab |
navigate |
Navigate to a URL |
screenshot |
Take a screenshot of the current page |
get-page-visible-text |
Get visible text content of the page |
get-page-html |
Get HTML content of the page |
click-element |
Click an element by CSS selector |
fill-input |
Fill an input field |
select-option |
Select an option from a dropdown |
hover-element |
Hover over an element |
scroll-element |
Scroll an element |
press-key |
Press a keyboard key |
drag-element |
Drag an element to a target |
iframe-click-element |
Click an element inside an iframe |
evaluate-script |
Execute JavaScript in the browser |
Once connected, you can talk to your AI assistant naturally. Here are some examples:
Create & manage environments
Create a Windows environment using Chrome 143 kernel, no proxy
Batch create 5 browser environments with random fingerprints on Windows
Rename browser environment ID 12345 to "work-account-01"
List the 10 most recently opened browser environments
Delete all environments whose name contains "test"
Open & automate
Open environment 12345, navigate to https://example.com, and take a screenshot
Open environment 12345, fill in the login form with username admin and password 123456, then click the login button
Open environment 12345 and get all links on the page
Open environments 101, 102, 103 in sequence, navigate each to https://example.com and take a screenshot
Fingerprint & proxy
Generate a new random fingerprint for environment 12345
Check the current User-Agent of environment 12345
Update the proxy of environment 12345 to socks5://127.0.0.1:1080
Groups & proxies
Create a group named "overseas-accounts"
List all proxies and find those of type socks5
Move environments 101, 102, 103 to the "overseas-accounts" group
Development
git clone https://github.com/tgebrowser/tgebrowser.git
cd tgebrowser
pnpm install
pnpm run build
For local development:
{
"mcpServers": {
"tgebrowser": {
"command": "node",
"args": ["<your-project-path>/tgebrowser/packages/mcp/build/server.js"]
}
}
}
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。