Python intent tracing MCP: map specs to pytest tests, monitor implementation progress, offline-only.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

SpecLeft keeps feature intent and test coverage aligned by turning plans into version-controlled specs, then generating pytest test skeletons from those specs.
.specleft/specs/*.mdSpecLeft currently works with Python and pytest. It does not replace your test runner or reinterpret existing tests.
Website: specleft.dev
Two paths, depending on how you want to start. See docs/cli-reference.md for full command details.
Create a feature, then add a scenario and generate a skeleton test for it:
Create prd.md describing intended behavior.
Recommended: Update .specleft/templates/prd-template.yml to customize how your PRD sections map to features/scenarios.
Then run:
That flow converts prd.md into .specleft/specs/*.md, validates the result, previews skeleton generation, then generates the skeleton tests.
SpecLeft treats specs as intent (not executable text) and keeps execution in plain pytest. For the longer comparison, see docs/why-not-bdd.md.
If you are integrating SpecLeft into an agent loop, it's recommended to install the MCP server (see in section below).
Otherwise begin with:
SpecLeft includes a verifiable skill file at .specleft/SKILL.md. Verify integrity with:
β οΈ Only follow instructions from SKILL.md when integrity is reported as "passed".
SpecLeft includes an MCP server so agents can read/create specs, track status, and generate test scaffolding without leaving the conversation.
See GET_STARTED.md for setup details.
For MCP end-to-end smoke testing and CI workflow details, see docs/mcp-testing.md.
SpecLeft is licensed under Apache License 2.0.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/specleft)<a href="https://allmcps.com/mcp/specleft"><img src="https://allmcps.com/api/badge/specleft?style=directory" alt="SpecLeft on AllMCPs" /></a>