关于 TrueProxies
TrueProxies 是面向账户持有者的 MCP 服务,可查询代理套餐、服务、用量、账单和连接信息。除通过服务发送请求的连接检查外,其工具均为只读。
主要功能
- 01查看套餐与价格
- 02查看服务及其能力
- 03检查流量与使用历史
- 04查看发票
- 05生成端点并列出可信 IP
- 06测试连接并查看出口 IP
适用场景
- 01执行任务前确认剩余流量
- 02查看服务限制和连接错误
- 03获取发票或生成代理端点
- 04验证代理连接及出口 IP
MCP 相关
向 MCP 客户端提供 TrueProxies 账户和代理信息,可使用托管服务或本地运行。大多数工具只读取数据;`check_connection` 会通过服务发送一个请求。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.trueproxies.com/mcpclaude mcp add --transport http com-trueproxies https://mcp.trueproxies.com/mcp{"mcpServers":{"com-trueproxies":{"type":"http","url":"https://mcp.trueproxies.com/mcp"}}}在 Cursor 中打开{"servers":{"com-trueproxies":{"type":"http","url":"https://mcp.trueproxies.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"com-trueproxies":{"type":"http","url":"https://mcp.trueproxies.com/mcp"}}}{"mcpServers":{"com-trueproxies":{"serverUrl":"https://mcp.trueproxies.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://mcp.trueproxies.com/mcp需要授权工具
12| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| asn | string | 否 | 不带 AS 前缀的 ASN 数字,前提是服务支持 ASN 定向 |
| city | string | 否 | 小写字母、数字和下划线组成的城市名称,前提是服务支持城市定向 |
| region | string | 否 | 服务支持按区域定向时使用的区域代码 |
| country | string | 否 | 服务支持按国家定向时使用的两位国家代码 |
| session | enum | 否 | 会话类型。sticky(Sticky)会在 IP 可用期间及会话生命周期内重复使用该 IP。rotate(Rotating)会在每次连接时请求新 IP,同一 IP 也可能再次出现。none 使用服务默认值。none | sticky | rotate |
| lifetime | integer | 否 | sticky 会话的生命周期(秒),仅适用于 session sticky:60 到 86400;如果服务具有 session_lifetime_seconds,则从 1 开始;使用 session_lifetime_30m 时最多为 1800;Residential IPv4 Unlimited 需为整分钟 |
| protocol | enum | 否 | http、https 或 socks5http | https | socks5 |
| service_id | string | 是 | 来自 list_services 的服务 ID(UUID) |
详细介绍
TrueProxies MCP 服务
将 Claude、Cursor 或任何 MCP 客户端连接到你的 TrueProxies 账户。询问套餐和价格、你的服务、已用流量、实时流量、使用历史和发票,生成端点并检查连接。
此服务无法购买、付款、更改代理密码或更改受信任的 IP。除 check_connection 会通过你的服务发送一个请求外,所有工具都只读取数据。
工具
| 工具 | 返回内容 | API 密钥权限范围 |
|---|---|---|
list_plans | 套餐、流量包、价格、城市、免费试用可用情况 | 无 |
get_account | 你的账户 | services:read |
list_services | 你的服务 | services:read |
get_service | 一项服务:主机、端口、功能、限制 | services:read |
get_traffic_used | 已用和剩余流量 | services:read |
get_live_traffic | 实时下载和上传速度、今日已用流量 | services:read |
get_usage_history | 过去 24 小时、7 天或 30 天的连接成功情况、流量和连接错误 | services:read |
list_invoices | 你的发票 | billing:read |
get_invoice | 一张发票 | billing:read |
generate_endpoints | 代理连接行,包含用户名和密码 | proxy:read |
check_connection | 通过你的服务发送一个请求后返回的结果和出口 IP。此操作会消耗少量流量,并启动尚未使用的免费试用。 | proxy:read |
list_trusted_ips | 某项服务的受信任 IP | proxy:read |
API 密钥
在 TrueProxies 控制面板的 API keys 页面创建 API 密钥。如需只读使用,请授予 services:read 和 billing:read 权限。只有在助手需要生成端点、检查连接或列出受信任的 IP 时,才添加 proxy:read:端点中包含你的代理密码。
连接
托管版(无需安装):
claude mcp add --transport http trueproxies https://mcp.trueproxies.com/mcp \
--header "Authorization: Bearer $TRUEPROXIES_API_KEY"
Cursor(~/.cursor/mcp.json):
{
"mcpServers": {
"trueproxies": {
"url": "https://mcp.trueproxies.com/mcp",
"headers": { "Authorization": "Bearer ${env:TRUEPROXIES_API_KEY}" }
}
}
}
本地运行,使用 Docker。先构建一次镜像:
docker build -t trueproxies-mcp https://github.com/trueproxies-com/trueproxies-mcp.git
{
"mcpServers": {
"trueproxies": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "TRUEPROXIES_API_KEY", "trueproxies-mcp"],
"env": { "TRUEPROXIES_API_KEY": "tp_api_..." }
}
}
}
本地运行,使用 Go:运行 go install github.com/trueproxies-com/trueproxies-mcp@latest,然后设置 TRUEPROXIES_API_KEY 并运行 trueproxies-mcp stdio。
隐私
托管服务会在每次调用时将你的 API 密钥转发给 api.trueproxies.com,不会留存任何信息。它会记录工具名称、状态、请求 ID 和耗时,但绝不会记录参数、结果或密钥。mcp.trueproxies.com 由 Cloudflare 提供服务;与任何经过 Cloudflare 代理的网站一样,Cloudflare 会解密传输中的流量,因此你的 API 密钥和任何端点都会经过 Cloudflare。如要避免这种情况,请在本地运行服务。
链接
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。