原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Proxy Doctor

作者:Jiansen版本 0.2.1i★ –i在你的电脑上运行
注册名称io.github.Jiansen/proxy-doctor

安装

概览

作者提供的说明(英文原文)

Diagnose proxy misconfigurations that break AI coding tools (Cursor, VS Code, Windsurf)

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "proxy-doctor": {
      "command": "uvx",
      "args": [
        "proxy-doctor"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add proxy-doctor -- uvx proxy-doctor

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "proxy-doctor": {
      "command": "uvx",
      "args": [
        "proxy-doctor"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "proxy-doctor": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "proxy-doctor"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Jiansen 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4900 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4900 个服务器的 5% 更新
  • 基础检查结果等于或优于此分类中其他 4900 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Proxy Doctor 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.1)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

proxy-doctor

Diagnose proxy misconfigurations that break AI coding tools.

When your browser works fine but Cursor / VS Code / Windsurf AI features don't — proxy-doctor tells you exactly why and how to fix it.

The Problem

AI coding tools (Cursor, VS Code with Copilot, Windsurf) rely on long-lived streaming connections (SSE/HTTP2) that break when:

  • Your system proxy points to a localhost port where nothing is listening
  • A VPN/proxy app was closed but its settings linger in macOS system preferences
  • Your editor inherited stale proxy environment variables from launchctl
  • The proxy is running but buffers streaming responses, breaking AI completions

The result: "browser works, AI editor doesn't" — the most common and frustrating developer experience.

What It Checks

proxy-doctor inspects 5 layers of your macOS proxy configuration:

LayerWhatHow
1. System ProxyWeb/HTTPS/SOCKS proxy across all network servicesnetworksetup
2. Residual ValuesDisabled proxies with stale localhost addressesParse disabled-but-set entries
3. Port HealthWhether referenced proxy ports are actually listeningsocket.connect()
4. Editor Configsettings.json, argv.json, recent error logsFile read + pattern match
5. GUI Environmenthttp_proxy/https_proxy in GUI app contextlaunchctl getenv

Quick Start

CLI
# Install

pip install proxy-doctor

Run diagnosis (JSON output — default, optimized for AI agents)

proxy-doctor check

Run diagnosis (human-readable output)

proxy-doctor check --human

Show recommended fixes

proxy-doctor fix

Check a different editor

proxy-doctor check --editor vscode

As an MCP Tool (for AI agents)

proxy-doctor ships as an MCP server that AI agents can call directly:

# Install with MCP support

pip install proxy-doctor[mcp]

Run MCP server

python -m proxy_doctor.mcp_server

Add to your MCP configuration (e.g., Cursor ~/.cursor/mcp.json):

{

"mcpServers": { "proxy-doctor": { "command": "python3", "args": ["-m", "proxy_doctor.mcp_server"] } } }

Note: "command" must point to the Python where proxy-doctor[mcp] is installed. If python3 doesn't work, use the full path (run which python3 or python3 -c "import sys; print(sys.executable)" to find it).

Your AI agent can then call:

  • diagnose_proxy(editor="cursor") — full 5-layer diagnosis with evidence
  • list_fixes(editor="cursor") — recommended fixes with executable commands
  • supported_editors() — list available editors
For AI Agents: Quick Install

One-liner (paste this to your AI agent):

Install proxy-doctor (pip install proxy-doctor[mcp]) and add it to your MCP config with command python -m proxy_doctor.mcp_server. Then use the diagnose_proxy tool to check proxy health.

If you are an AI agent setting up proxy-doctor for your user:

# 1. Install

pip install proxy-doctor[mcp]

2. Find the Python path

python3 -c "import sys; print(sys.executable)"

3. Add to ~/.cursor/mcp.json (use the path from step 2)

{

"mcpServers": {

"proxy-doctor": {

"command": " ",

"args": ["-m", "proxy_doctor.mcp_server"]

}

}

}

4. If MCP is not available, use CLI directly (zero dependencies):

proxy-doctor check # JSON output proxy-doctor check --human # human-readable proxy-doctor fix # show fixes (read-only) proxy-doctor fix --apply # apply fixes (asks for confirmation)

Daemon Mode (v0.2+)

Run proxy-doctor as a persistent background service with automatic health monitoring:

# Start daemon (installs as macOS launchd service)

proxy-doctor daemon start

Check daemon status

proxy-doctor daemon status

Stop daemon

proxy-doctor daemon stop

Check for updates

proxy-doctor update

The daemon runs every 5 minutes, compares results with the previous check, and sends a macOS notification when status changes (e.g. healthy → unhealthy).

Menu Bar (SwiftBar)
# If SwiftBar is installed

cp plugins/swiftbar/proxy-doctor.5m.sh ~/Library/Application\ Support/SwiftBar/Plugins/ chmod +x ~/Library/Application\ Support/SwiftBar/Plugins/proxy-doctor.5m.sh

Shows a green/red/orange indicator in your menu bar with one-click diagnosis.

Example Output

Unhealthy (Case A: dead proxy port)
{

"status": "unhealthy", "diagnosis": { "case": "A", "root_cause": "Editor is configured to use proxy at 127.0.0.1:10903, but no process is listening on that port.", "confidence": "high", "source": "system proxy (Wi-Fi (http))", "browser_explanation": "Browser may use a different proxy path (e.g. browser-only mode) or fall back to a direct connection." }, "fixes": [ { "fix_id": "clear-system-http-wi-fi", "description": "Disable http proxy on Wi-Fi", "command": "networksetup -setwebproxystate \"Wi-Fi\" off", "risk": "low" } ] }

Healthy
proxy-doctor v0.2.0

Editor: cursor | Platform: Darwin

Status: HEALTHY

No proxy contamination detected.

Supported Editors

EditorConfig DetectionLog ScanningStatus
Cursoryesyessupported
VS Codeyesyessupported
Windsurfyesyessupported
Claude Desktopplanned—future
Zedplannedplannedfuture

How It Works

proxy-doctor identifies three failure patterns:

Case A — Dead proxy port (high confidence): Your system or editor points to 127.0.0.1:port but nothing is listening. This happens when a VPN/proxy app is closed but its settings remain.

Case B — Streaming broken (medium confidence): A proxy is running, but it buffers SSE/streaming connections that AI editors depend on. Common with browser-only proxy modes.

Case C — Path mismatch (medium confidence): Browser and editor use different proxy paths. Browser works via a dedicated proxy route; editor inherits a stale or incompatible one.

Platform Support

  • macOS: Full support (system proxy, launchctl, networksetup)
  • Linux: Partial (editor config + environment variables; no networksetup)
  • Windows: Not yet supported

Trust & Permissions

proxy-doctor follows a read-only by default design. No system changes are made unless you explicitly opt in.

Default Behavior (read-only)
AccessWhatWhy
ReadsSystem proxy settings, editor config files, launchctl env vars, local port statusCore diagnostic functionality
Writes~/.proxy-doctor/ only (cache, logs, update state)Daemon state persistence
Networkpypi.org (version check only)Auto-update feature
Does NOTModify proxy settings, change editor config, send telemetry, access credentialsBy design
Opt-in Fix Application

proxy-doctor fix shows the recommended commands but does not execute them.

To apply fixes, use proxy-doctor fix --apply:

  • Each fix is shown with its command and risk level
  • You are prompted individually for each fix ([y/N])
  • Default is No — nothing runs unless you type y
  • You can abort at any time with Ctrl+C

This two-step model lets AI agents safely call list_fixes() via MCP to see what needs fixing, then present the commands to users for approval.

Feedback

Found a bug? Have a suggestion? Diagnosis didn't help?

  • GitHub Issues: https://github.com/Jiansen/proxy-doctor/issues/new
  • For AI agents: The JSON output includes a feedback.report_issue URL — include the full JSON when filing issues.

For AI agents providing feedback programmatically (zero dependencies):

# Create a GitHub issue via CLI (requires gh)

proxy-doctor check | gh issue create --repo Jiansen/proxy-doctor \ --title "Diagnosis report: [describe issue]" --body-file -

Or simply: copy the JSON output into a new issue at

https://github.com/Jiansen/proxy-doctor/issues/new

Development

git clone https://github.com/Jiansen/proxy-doctor.git

cd proxy-doctor

Install in development mode

pip install -e ".[dev,mcp]"

Run tests

make test

Run linter

make lint


If proxy-doctor helped you fix a proxy issue, consider giving it a star on GitHub — it helps others discover the tool.

License

MIT

问 PopNx