TgeBrowser MCP Server

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.

Category
Visit Server

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:

Using Skills

For Claude Code / OpenClaw:

See OPENCLAW_SETUP.md for detailed setup instructions.

Quick setup:

  1. Copy or link skills/tgebrowser to your AI assistant's skills directory
  2. The AI will automatically use intelligent workflows when operating TgeBrowser

Skills Documentation:

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"]
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured