prospector-mcp
Click on "Install 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-mcpRun 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: code-quality-mcp
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/athoune/prospector-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server