mcpField
A
AdsPower LocalAPI MCP Server Python

AdsPower LocalAPI MCP Server Python

本地服务
github.com/AdsPower开发工具782 周前更新

关于 AdsPower LocalAPI MCP Server Python

AdsPower LocalAPI MCP Server Python 将 AdsPower LocalAPI 接入 MCP,供希望通过 LLM 控制 AdsPower 浏览器的用户使用。README 提到可启动和创建浏览器,并更新浏览器指纹配置。

主要功能

  1. 01启动 AdsPower 浏览器
  2. 02创建浏览器
  3. 03更新浏览器指纹配置

适用场景

  1. 01通过 LLM 创建浏览器
  2. 02创建指定 Android UA 的浏览器
  3. 03管理浏览器指纹设置

MCP 相关

作为 MCP 服务,它让 MCP 客户端通过 AdsPower LocalAPI 与浏览器交互,包括启动、创建浏览器和更新指纹配置。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

AdsPower LocalAPI MCP Server Python

一个用于 AdsPower 浏览器 LocalAPI 的模型上下文协议服务。此服务可让大模型启动浏览器、创建浏览器、更新浏览器指纹配置……

在 Claude Desktop 中使用

与大模型交流以创建浏览器:Create an Android UA browser using Chrome 134

Claude 桌面版

在 Cursor 中使用

Cursor

系统要求

  • AdsPower
  • 已安装 Python 3.10 或更高版本。
配置环境并安装 uv

首先,安装 uv 并配置 Python 项目和环境:

MacOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
开发
# git clone 
git clone https://github.com/AdsPower/local-api-mcp-python.git

# cd
cd local-api-mcp-python

# venv
uv venv
source .venv/bin/activate

# Install dependencies
uv pip install .

要与 Claude Desktop 搭配使用,请添加服务配置:

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

# Add the server to your claude_desktop_config.json
{
    "mcpServers": {
        "adspower-local-api": {
        "command": "uv",
        "args": [
            "--directory",
            "<Replace Your Project Path>/local-api-mcp-python",
            "run",
            "main.py"
        ]
        }
    }
}

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。