AdsPower LocalAPI MCP Server
OfficialAdsPower CLI & MCP
adspower-browserスキルの追加
adspower-browserスキルを使用すると、AIがMCPサーバーなしでCLI経由でAdsPowerを操作できるようになります。エディタに以下のように追加してください:
環境 | 追加方法 |
Cursor |
|
Claude Code |
|
GPT / Codex | add-skillがサポートされている場合: |
AdsPower LocalAPI MCPサーバー
AdsPowerブラウザのLocalAPIを操作するためのModel Context Protocolサーバーです。このサーバーにより、LLMはv2 APIを使用してAdsPowerブラウザプロファイルと対話でき、プロファイルの作成、更新、削除、グループ管理、ブラウザ操作の自動化が可能になります。
Claude Desktopでの使用方法
LLMに話しかけてブラウザを作成: Create an Android UA browser using Chrome 134

LLMに話しかけてブラウザを作成: Help me with random UA, random fingerprint, random cookie generation, create 3 browsers, use 134 cores, and open them

使用方法
要件
Nodeバージョン18以上
バージョンの互換性
一部のAPIはAdsPowerクライアントのバージョンアップに伴い段階的に導入されます。
特定のAPIを含むバージョンにクライアントがアップグレードされていない場合、リクエストが Not found を返すことがあります。
その場合は以下を行ってください:
まずAdsPowerクライアントを最新のパッチバージョンにアップグレードしてください。
その後、同じコマンド/APIを再試行してください。
インストール
Claude Desktopで使用するには、サーバー設定を追加します:
macOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json 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"]
}
}
}設定パラメータ
MCPサーバーは、コマンドライン引数または環境変数による設定をサポートしています。
ポート設定
ポートパラメータはAdsPower Local APIのポートを指定します。デフォルトは 50325 です。
優先順位:
コマンドライン引数
--port(最高優先度)環境変数
PORT(中優先度)デフォルト値
50325(最低優先度)
例:
コマンドライン引数を使用する場合:
{
"mcpServers": {
"adspower-local-api": {
"command": "npx",
"args": ["-y", "local-api-mcp-typescript", "--port", "50325"]
}
}
}環境変数を使用する場合:
{
"mcpServers": {
"adspower-local-api": {
"command": "npx",
"args": ["-y", "local-api-mcp-typescript"],
"env": {
"PORT": "50325"
}
}
}
}APIキー設定
APIキーはAdsPower APIの認証に使用されます。リクエストの Authorization: Bearer <api-key> ヘッダーとして送信されます。
優先順位:
コマンドライン引数
--api-key(最高優先度)環境変数
API_KEY(中優先度)デフォルト値なし (指定がない場合、リクエストにAPIキーヘッダーは含まれません)
例:
コマンドライン引数を使用する場合:
{
"mcpServers": {
"adspower-local-api": {
"command": "npx",
"args": ["-y", "local-api-mcp-typescript", "--api-key", "your-api-key-here"]
}
}
}環境変数を使用する場合:
{
"mcpServers": {
"adspower-local-api": {
"command": "npx",
"args": ["-y", "local-api-mcp-typescript"],
"env": {
"API_KEY": "your-api-key-here"
}
}
}
}組み合わせ設定
両方のパラメータを同時に使用できます。コマンドライン引数は環境変数を上書きします:
{
"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"
}
}
}
}この例では、サーバーは port: 50326 および apiKey: new-key を使用します(コマンドライン引数が環境変数を上書きするため)。

またはCursorで使用

Related MCP server: Puppeteer MCP Server
開発
# clone
git clone https://github.com/AdsPower/adspower-browser.git
cd adspower-browser
# install (monorepo)
pnpm install
# build all packages
pnpm run buildローカルでのMCP開発については、Claude DesktopでMCPパッケージを指定してください:
"mcpServers": {
"adspower-local-api": {
"command": "node",
"args": ["<Replace Your Project Path>/adspower-browser/packages/local-api-mcp/build/index.js"]
}
}Available Tools
27 toolsclick-elementC
Click the element
Inputs: selector (required).
close-browserC
Close the browser
Inputs: userId (required).
connect-browser-with-wsC
Connect the browser with the ws url
Inputs: wsUrl (required), userId, serialNumber.
create-browserD
Create a browser
Inputs: groupId (required), userProxyConfig (required), domainName, openUrls, +8 more.
create-groupC
Create a browser group
Inputs: groupName (required), remark.
delete-browserC
Delete the browser
Inputs: userIds (required).
drag-elementD
Drag the element
Inputs: selector (required), targetSelector (required).
evaluate-scriptD
Evaluate the script
Inputs: script (required).
fill-inputC
Fill the input
Inputs: selector (required), text (required).
get-application-listC
Get the list of applications
Inputs: size.
get-browser-listC
Get the list of browsers
Inputs: groupId, size, page, id, +3 more.
get-group-listC
Get the list of groups
Inputs: groupName, size, page.
get-opened-browserB
Get the list of opened browsers
Inputs: no named parameters.
get-page-htmlB
Get the html content of the page
Inputs: no named parameters.
get-page-visible-textB
Get the visible text content of the page
Inputs: no named parameters.
hover-elementD
Hover the element
Inputs: selector (required).
iframe-click-elementC
Click the element in the iframe
Inputs: selector (required), iframeSelector (required).
move-browserC
Move browsers to a group
Inputs: groupId (required), userIds (required).
open-browserD
Open the browser, both environment and profile mean browser
Inputs: serialNumber, userId, ipTab, launchArgs, +2 more.
open-new-pageC
Open a new page
Inputs: no named parameters.
press-keyD
Press the key
Inputs: key (required), selector.
screenshotC
Get the screenshot of the page
Inputs: savePath, isFullPage.
scroll-elementC
Scroll the element
Inputs: selector (required).
select-optionD
Select the option
Inputs: selector (required), value (required).
update-browserD
Update the browser
Inputs: userId (required), domainName, openUrls, cookie, +9 more.
update-groupC
Update the browser group
Inputs: groupId (required), groupName (required), remark.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Most tools have distinct purposes, such as create-browser vs. open-browser, but some overlap exists, like get-browser-list and get-opened-browser, which could cause confusion. The descriptions help clarify, but the boundaries between these list tools are not perfectly clear.
All tool names follow a consistent verb-noun pattern with hyphens, such as create-browser, get-browser-list, and navigate. There are no deviations in style or convention, making the naming highly predictable and readable throughout the set.
With 27 tools, the count is borderline high for a browser automation server, as it may feel heavy and complex for agents to navigate. However, given the domain's scope covering browser management, groups, and page interactions, it is not extreme but could benefit from consolidation.
The tool set provides comprehensive coverage for browser automation, including CRUD operations for browsers and groups, navigation, element interactions, and page content retrieval. There are no obvious gaps, and the surface supports full lifecycle management and interaction workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A Model Context Protocol server for Wix AI tools
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.3214,136 npm5,674MIT
- AlicenseNot gradedqualityDmaintenanceA 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.19Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA 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.2MIT
- AlicenseBqualityDmaintenanceA 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.729,827 npm1MIT