prospector-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@prospector-mcp Run Prospector analysis on the src directory."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Prospector MCP Server
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.
Related MCP server: Mcp Server
Installation
Via uvx (recommended)
uvx run prospector-mcpVia pip
pip install prospector-mcp
prospector-mcpDevelopment setup
git clone https://github.com/yourname/prospector-mcp.git
cd prospector-mcp
pip install -e ".[dev]"
pytestUsage
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 --sseConfiguration
Configuration is layered (later layers override earlier ones):
Built-in defaults
Global config:
~/.config/prospector-mcp/config.tomlProject 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
Available Tools
2 toolsprospector_check_readyA
Check whether Prospector is installed and report its version.
Inputs: no named parameters. Returns: object
prospector_runC
Run Prospector static analysis on a file or directory.
Inputs: target (required), profile, strictness. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one runs the analysis, the other checks installation. No overlap.
Both tools follow a consistent 'prospector_' prefix with a verb (run, check_ready). Clear and predictable pattern.
Only 2 tools for a static analysis server feels minimal but not unreasonable if the scope is limited to running checks.
Missing common operations like listing rules, retrieving results, or configuring the analysis. Gaps are significant for a typical analysis workflow.
Maintenance
Related MCP Connectors
Static MCP server scan: injection, secrets, tool poisoning. SARIF + rules catalog.
Scan iOS and Android project files for common App Store and Play review issues over MCP.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to scan codebases for prioritized findings (TODO, FIXME, XXX) and retrieve results in table, JSON, or SARIF format via MCP.-
- FlicenseNot gradedqualityDmaintenanceEnables dependency, security, and coding convention checks for Python and Java projects via MCP tools. Supports local paths or Git URLs.-
- AlicenseAqualityDmaintenanceProvides 28 MCP tools across 16 analysis engines for comprehensive Python code quality assessment, including complexity scoring, security scanning, dead code detection, dependency auditing, and test quality analysis.28MIT
- FlicenseAqualityBmaintenanceEnables evaluating Python projects against a deterministic quality bar using analyzer findings, per-dimension scores, and a review verdict, exposed through MCP tools, resources, and prompts. Users can run evaluations, inspect rules, and list analyzers to assess code readiness for review.3-