initial server

This commit is contained in:
John Lancaster
2026-06-18 19:16:06 -05:00
parent 9b02007216
commit dbaaad8df8
21 changed files with 1886 additions and 286 deletions
@@ -0,0 +1,15 @@
from fastmcp import FastMCP
pytest_scaffolding_server = FastMCP("pytest-scaffolding")
@pytest_scaffolding_server.tool()
def propose_pytest_mvp_tree(target_scope: str = "src/") -> str:
"""Return a minimal test scaffold plan for a target scope."""
return (
f"MVP pytest scaffold for {target_scope}:\n"
"1. Mirror the source subtree under tests/.\n"
"2. Add one happy-path test and one edge-case test per core module.\n"
"3. Keep fast tests isolated from integration/external dependencies.\n"
"4. Use uv run pytest as the canonical runner."
)