- Pytest Mcp Server
Pytest Mcp Server
A Model Context Protocol (MCP) server for debugging pytest failures using systematic debugging principles.
🛠 Tools Available
register_pytest_failure - Register a new test failure
list_failures - List all registered failures
get_failure_info - Get detailed information about a specific failure
debug_with_principle - Apply debugging principles systematically
analyze_failures - Analyze patterns in test failures
generate_debug_prompt - Generate LLM prompts for debugging
pytest_docs_guide - Get pytest documentation guidance
example_tool - Example tool for testing
Overview
what is Pytest MCP Server?
Pytest MCP Server is a Model Context Protocol (MCP) server designed for debugging pytest failures using systematic debugging principles.
how to use Pytest MCP Server?
To use the Pytest MCP Server, install it via npm, configure it in your MCP setup, and start it as an HTTP server or in stdio mode. You can then register test failures, analyze them, and apply debugging principles through its various tools.
key features of Pytest MCP Server?
- Fully functional MCP server for debugging pytest failures
- Eight tools for registering failures, analyzing patterns, and generating debug prompts
- Compliant with MCP error reporting standards
- Supports both HTTP and stdio modes for operation
use cases of Pytest MCP Server?
- Registering and analyzing test failures in software projects
- Systematic debugging of pytest tests to improve code quality
- Generating debugging prompts for AI-assisted debugging
FAQ from Pytest MCP Server?
- Is the Pytest MCP Server production-ready?
Yes! The server is fully functional and ready for production use.
- What are the known issues?
There is a known validation error with the MCP Testing Framework due to a bug in mcp-framework 0.2.13, but it does not affect the server's functionality in real usage.
- How can I contribute to the project?
You can fork the repository, create a feature branch, make your changes, and submit a pull request.
Server Config
{
"mcpServers": {
"pytest-mcp-server": {
"command": "pytest-mcp-server",
"args": [
"start"
],
"env": {
"DATA_DIR": "./pytest-data"
}
}
}
}Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
tosin2013Star
-Language
-License
-Recommend Servers
View AllAirtreks Mcp
@SEKeener
a day ago
Test
@modelcontextprotocol
test
6 months ago
Sigstore
@3089464667
a day ago
Tavily Mcp
@tavily-ai
JavaScript
a year ago