api-dev-agent-mcp
Provides tools for generating production-grade FastAPI services following Clean Architecture, with automatic scaffolding of controllers, models, repositories, schemas, and services, as well as automated test execution and self-healing verification.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π€ Enterprise Clean-Architecture API Agent (MCP-Powered)
An autonomous, deterministic API Development Agent integrated into VS Code via the Model Context Protocol (MCP). This agent automates the generation of production-grade, asynchronous FastAPI services adhering strictly to Clean Architecture principles, complete with automated test execution and self-healing verification loops.
π Key Features
Deterministic Code Generation: Employs Jinja2 templating rather than pure LLM generation to guarantee strict standard compliance.
Clean Architecture Layers: Enforces separation across Model, Schema (DTO), Repository, Service, and Controller layers.
Model Context Protocol (MCP): Exposes tool execution (
file_ops,openapi_parser,pytest) to GitHub Copilot via lightweight JSON-RPC over STDIO.Self-Healing Verification Loop: Automatically executes
pytestsuite post-scaffolding and reads stack traces to auto-fix errors.OpenAPI Spec Ingestion: Parses existing OpenAPI (YAML/JSON) specifications to generate complete CRUD APIs automatically.
Related MCP server: FRD Orchestrator
ποΈ Architecture & Technology Stack
Framework: FastAPI (Async)
ORM: SQLAlchemy 2.0 (Async Session)
Validation: Pydantic v2
Agent Engine: FastMCP / Model Context Protocol
Templating: Jinja2
Testing: Pytest &
httpx
Directory Structure
.
βββ .vscode/
β βββ mcp.json # MCP Server configuration for VS Code
βββ app/
β βββ controllers/ # FastAPI Routers
β βββ models/ # SQLAlchemy Database Models
β βββ repositories/ # Data Access Layer
β βββ schemas/ # Pydantic Schemas / DTOs
β βββ services/ # Business Logic Layer
β βββ main.py # Application Entrypoint & Router Discovery
βββ mcp_server/
β βββ server.py # FastMCP Tools Definition
β βββ tools/
β βββ file_ops.py # Template rendering & workspace disk writes
β βββ openapi_parser.py # OpenAPI YAML/JSON schema parser
βββ templates/ # Jinja2 Standard Boilerplate Templates
βββ tests/ # Generated Pytest Test Suites
βββ .agent.md # VS Code Copilot Custom Agent Prompt & Protocol
βββ requirements.txt # Python dependencies
βββ README.mdTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
MCP server for AI access to Swagger by SmartBear.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA demonstration server that automatically generates Model Context Protocol (MCP) servers from OpenAPI specifications, providing seamless integration with FastAPI and supporting various transmission methods like STDIO, HTTP, and SSE.-
- AlicenseBqualityDmaintenanceAn MCP server that exposes structured Functional Requirements Documents (FRDs) to enable AI assistants like GitHub Copilot to automatically generate complete NestJS boilerplate architectures. It orchestrates the multi-phase creation of production-ready APIs including core CRUD, database integration, JWT authentication, and unit testing.1MIT
- AlicenseNot gradedqualityDmaintenanceGenerates production-ready MCP servers from natural language, OpenAPI specs, database schemas, GraphQL schemas, or ontologies.71 npm1MIT
- AlicenseAqualityDmaintenanceGenerates production-ready MCP servers with dual-mode (MCP + CLI) architecture, tests, and documentation. Includes progressive disclosure tools for AI agents and best practices guidance.7Apache 2.0