loading…
Search for a command to run...
loading…
A specialized toolchain that guides AI agents through a structured 'Atomic Development' workflow for building Python FastAPI and Supabase backends. It manages p
A specialized toolchain that guides AI agents through a structured 'Atomic Development' workflow for building Python FastAPI and Supabase backends. It manages project scaffolding and enforces dependency-ordered generation of database models, API routes, and tests.
An expert MCP toolchain designed to act as a Backend Architect for AI agents. This server enforces a strict "Atomic Development" workflow for building Python FastAPI + Supabase backends.
The Backend Architect server guides an agent through a Plan -> Prompt -> Write loop, ensuring that database models, API routes, and tests are built in the correct dependency order.
__init__.py files for models and routes..mcp_state.json to track building progress.Ensure you have uv installed. Then, clone the repository and install dependencies:
# Clone the repository
cd mcp_fastapi
# Install dependencies and run the server
uv run server.py
initialize_project(root_path: str = "."): Scaffolds the FastAPI project structure and pyproject.toml. Defaults to the current working directory.save_roles_plan(roles: list): Define user roles and permissions.save_database_plan(models: list): Define SQLModel schemas and relationships.save_route_plan(routes: list): Define API endpoints and methods.save_test_plan(tests: list): Define simulation scenarios.get_next_pending_task(): The "Traffic Cop" that tells you exactly what to build next.get_file_instruction(task_type: str, task_name: str): Returns a strict system prompt for the AI to follow.write_component_file(type: str, name: str, content: str): Writes the code and marks the task as "done".get_next_pending_task() for the current objective.get_file_instruction().write_component_file().Add this to your MCP settings file (e.g., mcp_config.json or your IDE's MCP settings):
{
"mcpServers": {
"backend-architect": {
"command": "uv",
"args": [
"run",
"--project",
"/path/to/server/directory",
"python",
"server.py"
]
}
}
}
[!TIP] Use the absolute path to the directory where you cloned this repository for the
--projectargument. This ensures the server can find its dependencies regardless of where your AI agent is currently working.
Built with ❤️ for the AI-First Developer.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"backend-architect-mcp-server": {
"command": "npx",
"args": []
}
}
}