Skip to main content

proxy-path-doctor

proxy-path-doctor is a small, privacy-conscious, read-only CLI for diagnosing conflicting proxy configuration sources. It collects the settings that commonly cause confusing network failures, highlights mismatches, and produces a report that is safe to share in an issue.

The project is currently an early MVP. It supports Windows system proxy inspection, GNOME desktop proxy inspection on Linux, and portable checks for proxy environment variables, VS Code and Cursor user proxy settings, DNS, and optional HTTP connectivity.

Why this exists

Network failures are often reported as "the proxy looks correct" while several independent settings are involved. proxy-path-doctor gathers those signals in one place and redacts credentials before printing them.

The tool does not modify proxy settings, manage proxy servers, or choose a proxy provider. Its focus is explaining which configuration path a program may be using across Windows, Linux, environment variables, and connectivity checks.

Guides

Install

Install the latest release from PyPI:

python -m pip install proxy-path-doctor

For development, install the project from the repository:

git clone https://github.com/oneAI6/proxy-doctor.git
cd proxy-doctor
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -e .

Usage

Inspect local settings without sending a network request:

proxy-path-doctor

Include a DNS and HTTP connectivity check:

proxy-path-doctor --check-url https://example.com

Check whether a local development URL is covered by NO_PROXY:

proxy-path-doctor --check-url http://localhost:3000

Focus the report on Codex, VS Code, Cursor, and MCP proxy troubleshooting:

proxy-path-doctor --profile codex --check-url http://localhost:3000

Generate a JSON report for an issue:

proxy-path-doctor --format json --output proxy-report.json

Any username or password embedded in a proxy URL is replaced with ***. Review a generated report before posting it publicly because hostnames and proxy addresses may still describe your environment.

Testing feedback wanted

Real-world proxy setups vary widely. Windows and Linux users who rely on proxies for development tools, package managers, IDEs, or AI coding tools are invited to try the CLI and share whether its findings are clear and useful. See the testing feedback issue for a short checklist. A successful run with no conflict found is useful too.

Current checks

  • Operating system and Python version
  • Common proxy environment variables
  • Windows user proxy settings
  • Windows WinHTTP proxy settings
  • Linux GNOME desktop proxy settings through gsettings
  • VS Code and Cursor user proxy settings, including http.proxy and http.noProxy
  • Optional DNS resolution
  • Optional HTTP HEAD request with a timeout
  • NO_PROXY matching for checked URLs, including domains, ports, and IP addresses
  • Actionable findings for conflicting settings and connectivity failures
  • A Codex-focused profile for IDE and MCP proxy troubleshooting

Example finding

[findings]
- WARNING: Proxy environment variables are set while the Windows user proxy is
  disabled. Suggestion: Check whether your terminal, IDE, or launcher exports
  HTTP_PROXY, HTTPS_PROXY, or ALL_PROXY intentionally.

Contributing

Bug reports and focused pull requests are welcome. See CONTRIBUTING.md and docs/ROADMAP.md. The maintainer plan describes a realistic path from the MVP to a maintained public project. Release notes are available in CHANGELOG.md.

License

MIT

Metadata

Release files for proxy-path-doctor 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxy-path-doctor 0.7.0
File Size Uploaded Provenance Actions
proxy_path_doctor-0.7.0.tar.gz 15.8 kB With provenance Details for proxy_path_doctor-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proxy-path-doctor 0.7.0
File Interpreter ABI Platform Actions
proxy_path_doctor-0.7.0-py3-none-any.whl Python 3 none any Details for proxy_path_doctor-0.7.0-py3-none-any.whl

Total release size: 28.1 kB

Release files / proxy_path_doctor-0.7.0.tar.gz

Download URL proxy_path_doctor-0.7.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
288c650fb00f35a6681ffcd1a5f38d4841b48bb9f88db607ca91c138451b77d5
BLAKE2b-256 checksum
How to use checksums
923959f27fef861a539264cc271e4dff723ce40b0487c6e2287fe2409f06d493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

Release files / proxy_path_doctor-0.7.0-py3-none-any.whl

Download URL proxy_path_doctor-0.7.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61f3e1f303202fc67f0199a1c4b932e18efd003ce3c51a5b20f03b85adc3d94d
BLAKE2b-256 checksum
How to use checksums
0244a13367eed2ace8683428a02111b448cb66efe37cba5402d7870e84a8fd22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

Security for proxy-path-doctor 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for proxy_path_doctor-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page