{"id":50681121,"url":"https://github.com/pentesttoolscom/pentesttools-pypi","last_synced_at":"2026-06-08T19:03:23.462Z","repository":{"id":353537091,"uuid":"644449616","full_name":"pentesttoolscom/pentesttools-pypi","owner":"pentesttoolscom","description":"Command-line interface for the Pentest-Tools.com API.","archived":false,"fork":false,"pushed_at":"2026-05-05T14:01:03.000Z","size":428,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-05T16:06:36.411Z","etag":null,"topics":["cicd","cybersecurity"],"latest_commit_sha":null,"homepage":"https://pentest-tools.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pentesttoolscom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-23T14:37:08.000Z","updated_at":"2026-04-24T09:25:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pentesttoolscom/pentesttools-pypi","commit_stats":null,"previous_names":["pentesttoolscom/pentesttools-pypi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pentesttoolscom/pentesttools-pypi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pentesttoolscom%2Fpentesttools-pypi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pentesttoolscom%2Fpentesttools-pypi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pentesttoolscom%2Fpentesttools-pypi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pentesttoolscom%2Fpentesttools-pypi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pentesttoolscom","download_url":"https://codeload.github.com/pentesttoolscom/pentesttools-pypi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pentesttoolscom%2Fpentesttools-pypi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cicd","cybersecurity"],"created_at":"2026-06-08T19:03:22.539Z","updated_at":"2026-06-08T19:03:23.450Z","avatar_url":"https://github.com/pentesttoolscom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pentest-Tools.com CLI \u0026 MCP Server\n\nCommand-line interface, Python bindings, and MCP server for Pentest-Tools.com, a platform for scanning web applications and network infrastructure for vulnerabilities.\n\n# MCP Server\n\nConnect any MCP-compatible AI assistant to your [Pentest-Tools.com](https://pentest-tools.com) account to run scans, triage findings, and generate reports. You'll need an API key from a paid plan. Get one at My Account \u003e API.\n\n**Supported clients:** Claude, Cursor, VS Code, Gemini CLI, and any MCP-compatible tool.\n**Full documentation:** [pentest-tools.com/docs/ai/mcp/overview](https://pentest-tools.com/docs/ai/mcp/overview)\n\n## What you can do\n\n- Run Website Scanner, Subdomain Finder, and Network Scanner scans\n- Manage targets, workspaces, scans, and findings\n- Generate and download reports, including translated reports for regional teams\n- Chain tools into multi-phase workflows that include recon, vulnerability triage, and executive summaries, through plain language prompts\n\n### Quick setup: remote server (recommended)\n\nFor terminal-based clients, use directly:\n\n**Claude Code**\n\n```bash\nclaude mcp add --transport http ptt-mcp https://mcp.pentest-tools.com/mcp --header \"Authorization: Bearer your_api_key_here\"\n```\n\n**Gemini CLI**\n\n```bash\ngemini mcp add ptt-mcp --transport http https://mcp.pentest-tools.com/mcp --header \"Authorization: Bearer your_api_key_here\"\n```\n\n**Cursor:** paste this URL in your browser for one-click install, then add your API key:\n\n```\ncursor://anysphere.cursor-deeplink/mcp/install?name=ptt-mcp\u0026config=eyJ1cmwiOiJodHRwczovL21jcC5wZW50ZXN0LXRvb2xzLmNvbS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgeW91cl9hcGlfa2V5X2hlcmUifX0=\n```\n\nOr **manually** add according to your preferred agent and config file location:\n\n```\n{\n  \"servers\": {\n    \"ptt-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.pentest-tools.com/mcp\",\n      \"headers\": { \"Authorization\": \"Bearer your_api_key_here\" }\n    }\n  }\n}\n```\n\n## Local server\n\nRequires Python 3.10+.\n\n```bash\npip install \"pentesttools[mcp]\"\nPTT_API_KEY=your_api_key_here ptt mcp\n```\n\nYou can also pass the key inline: `--key your_api_key_here`. For client-specific local setup, see the [full documentation](https://pentest-tools.com/docs/ai/mcp/overview).\n\n# CLI\n\nRun scans from the terminal or integrate PTT into your scripts and CI/CD pipelines.\n\n\u003e For AI assistant integration, see the [MCP Server](#mcp-server) section above.\n\n## Installing\n\nPentestTools Python module is delivered through PyPI, so it can be installed directly via pip:\n\n```bash\npip install pentesttools\n```\n\n## Usage\n\nThe `pentesttools` package provides a command line interface through the `ptt` utility. Right\nnow it supports the Website Scanner service.\n\nExample for the simplest scan:\n\n```bash\nptt run website_scanner \u003curl\u003e\n```\n\nThis runs a freemium Website Scanner scan on the `\u003curl\u003e`. Unlike in the platform itself, you can omit the schema part from the url.\n\nGlobal arguments, like a suitable key for a deep scan, have to be passed straight to `ptt`. Tool arguments have to be passed to the tool.\n\n```bash\nptt --key \u003ckey\u003e run website_scanner --scan_type deep \u003curl\u003e\n```\n\nIf you want the command to fail if the report contains vulnerabilities with a higher risk than some value, you can use the `--fail argument`.\n\n```bash\nptt --fail high run website_scanner \u003curl\u003e\n```\n\nYou can also run `ptt` using docker. The docker image has `ptt` as an entrypoint, so you don't have to type it anymore. Note that the old `ptt-scan` name is still used on docker.\n\n```bash\ndocker run pentesttoolscom/ptt-scan:latest run website_scanner \u003curl\u003e\n```\n\n## Development installation\n\nIf you want to easily modify the sources and your modifications:\n\n```bash\npip install --edit .\n```\n\n## Uninstalling\n\n```bash\npip uninstall pentesttools\n```\n\n## Testing and Coverage\n\nYou can run the tests and make coverage reports like this:\n\n```bash\npython3 -m pytest src/tests\n```\n\n```bash\ncoverage run -m pytest src/tests\ncoverage report -m\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpentesttoolscom%2Fpentesttools-pypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpentesttoolscom%2Fpentesttools-pypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpentesttoolscom%2Fpentesttools-pypi/lists"}