Skip to main content
Glama
AdsPower

AdsPower LocalAPI MCP Server

Official
by AdsPower

AdsPower CLI & MCP

Hinzufügen des adspower-browser-Skills

Verwenden Sie den adspower-browser-Skill, damit die KI AdsPower über die CLI ohne den MCP-Server steuern kann. Fügen Sie ihn wie folgt in Ihrem Editor hinzu:

Umgebung

Hinzufügen

Cursor

npx skills add AdsPower/adspower-browser

Claude Code

npx skills add AdsPower/adspower-browser

GPT / Codex

Falls Ihr Setup add-skill unterstützt: npx skills add AdsPower/adspower-browser. Kopieren Sie andernfalls den Skill von skills/adspower-browser/ in das Skills-Verzeichnis Ihres Agenten (z. B. ~/.codex/skills/adspower-browser/).

AdsPower LocalAPI MCP-Server

Ein Model Context Protocol-Server für die AdsPower-Browser-LocalAPI. Dieser Server ermöglicht es LLMs, mit AdsPower-Browserprofilen über die v2-API zu interagieren, einschließlich des Erstellens, Aktualisierens und Löschens von Profilen, der Verwaltung von Gruppen und der Automatisierung von Browser-Vorgängen.

Verwendung mit Claude Desktop

Sprechen Sie mit LLMs, um einen Browser zu erstellen: Create an Android UA browser using Chrome 134

Claude desktop

Sprechen Sie mit LLMs, um Browser zu erstellen: Help me with random UA, random fingerprint, random cookie generation, create 3 browsers, use 134 cores, and open them

Claude desktop

Wie wird es verwendet?

Voraussetzungen

Versionskompatibilität

Einige APIs werden schrittweise durch die AdsPower-Client-Version eingeführt. Wenn der Client nicht auf eine Version aktualisiert wurde, die eine bestimmte API enthält, geben Anfragen möglicherweise Not found zurück.

Wenn dies passiert:

  • Aktualisieren Sie zuerst den AdsPower-Client auf die neueste Patch-Version.

  • Wiederholen Sie dann denselben Befehl/API-Aufruf.

Installation

Um es mit Claude Desktop zu verwenden, fügen Sie die Serverkonfiguration hinzu:

Unter macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Unter Windows: %APPDATA%/Claude/claude_desktop_config.json

MacOS / Linux
{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript"]
    }
  }
}
Windows
{
  "mcpServers": {
    "adspower-local-api": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "local-api-mcp-typescript"]
    }
  }
}

Konfigurationsparameter

Der MCP-Server unterstützt die Konfiguration über Befehlszeilenargumente oder Umgebungsvariablen.

Port-Konfiguration

Der Port-Parameter gibt den AdsPower Local API-Port an. Der Standardwert ist 50325.

Prioritätsreihenfolge:

  1. Befehlszeilenargument --port (höchste Priorität)

  2. Umgebungsvariable PORT (mittlere Priorität)

  3. Standardwert 50325 (niedrigste Priorität)

Beispiele:

Verwendung des Befehlszeilenarguments:

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript", "--port", "50325"]
    }
  }
}

Verwendung der Umgebungsvariable:

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript"],
      "env": {
        "PORT": "50325"
      }
    }
  }
}

API-Schlüssel-Konfiguration

Der API-Schlüssel wird zur Authentifizierung bei der AdsPower-API verwendet. Er wird als Authorization: Bearer <api-key>-Header in Anfragen gesendet.

Prioritätsreihenfolge:

  1. Befehlszeilenargument --api-key (höchste Priorität)

  2. Umgebungsvariable API_KEY (mittlere Priorität)

  3. Kein Standardwert (falls nicht angegeben, enthalten Anfragen den API-Schlüssel-Header nicht)

Beispiele:

Verwendung des Befehlszeilenarguments:

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript", "--api-key", "your-api-key-here"]
    }
  }
}

Verwendung der Umgebungsvariable:

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Kombinierte Konfiguration

Sie können beide Parameter zusammen verwenden. Befehlszeilenargumente überschreiben Umgebungsvariablen:

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript", "--port", "50326", "--api-key", "new-key"],
      "env": {
        "PORT": "50325",
        "API_KEY": "old-key"
      }
    }
  }
}

In diesem Beispiel verwendet der Server port: 50326 und apiKey: new-key (Befehlszeilenargumente überschreiben Umgebungsvariablen).

Claude desktop MCP

oder verwenden Sie es in Cursor Cursor

Related MCP server: Puppeteer MCP Server

Entwicklung

# clone
git clone https://github.com/AdsPower/adspower-browser.git
cd adspower-browser

# install (monorepo)
pnpm install

# build all packages
pnpm run build

Für die lokale MCP-Entwicklung verweisen Sie Claude Desktop auf das MCP-Paket:

"mcpServers": {
  "adspower-local-api": {
    "command": "node",
    "args": ["<Replace Your Project Path>/adspower-browser/packages/local-api-mcp/build/index.js"]
  }
}
A
license - permissive license
C
quality
B
maintenance

Maintenance

Maintainers
15dResponse time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

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

  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
    32
    19,640
    5,633
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
    18
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables LLMs to automate web browsers using Puppeteer, allowing navigation, screenshots, form filling, and JavaScript execution in a real browser environment.
    2
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that provides browser automation capabilities using Puppeteer, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
    7
    23,406
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • MCP server for AI dialogue using various LLM models via AceDataCloud

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/AdsPower/adspower-browser'

If you have feedback or need assistance with the MCP directory API, please join our Discord server