Prospector
БесплатноНе проверенEnables running Prospector static analysis on Python files or directories via MCP, returning structured results with severity, location, and rule codes.
Описание
Enables running Prospector static analysis on Python files or directories via MCP, returning structured results with severity, location, and rule codes.
README
An MCP (Model Context Protocol) server that exposes Prospector — the Python static analysis tool — through its native Python API.
Features
- Run Prospector on a single file or an entire directory.
- Return structured, machine-readable results (messages with severity, location, rule code).
- Layered TOML configuration with sensible defaults.
- Supports both
stdioandSSEtransports via FastMCP. - Secure by default: respects
.gitignore, ignores.env/.venv, validates paths, enforces timeouts.
Installation
Via uvx (recommended)
uvx run prospector-mcp
Via pip
pip install prospector-mcp
prospector-mcp
Development setup
git clone https://github.com/yourname/prospector-mcp.git
cd prospector-mcp
pip install -e ".[dev]"
pytest
Usage
Claude Desktop / OpenCode
Add the server to your MCP settings:
{
"mcpServers": {
"prospector": {
"command": "uvx",
"args": ["run", "prospector-mcp"]
}
}
}
SSE transport
prospector-mcp --transport sse
# or
prospector-mcp --sse
Configuration
Configuration is layered (later layers override earlier ones):
- Built-in defaults
- Global config:
~/.config/prospector-mcp/config.toml - Project config:
.prospector-mcp.tomlin the project root
Example .prospector-mcp.toml
[prospector]
timeout = 60
strictness = "medium"
profile = "default"
ignore = [".tox", "build", "dist"]
[server]
transport = "stdio"
Tools
prospector.run
Run Prospector on a target path.
Parameters:
target(string, required): Path to a Python file or directory.profile(string, optional): Override the Prospector profile.strictness(string, optional): Override strictness (verylowtoveryhigh).
Returns: Structured dict with summary, messages, and execution_time.
prospector.check_ready
Check if Prospector is installed and available.
License
MIT
Установка Prospector
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/athoune/prospector-mcpFAQ
Prospector MCP бесплатный?
Да, Prospector MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Prospector?
Нет, Prospector работает без API-ключей и переменных окружения.
Prospector — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Prospector в Claude Desktop, Claude Code или Cursor?
Открой Prospector на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Prospector with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
