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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@api-dev-agent-mcpGenerate a CRUD API for a User model using Clean Architecture"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š¤ 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.mdThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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 gradedqualityCmaintenanceGenerates production-ready MCP servers from natural language, OpenAPI specs, database schemas, GraphQL schemas, or ontologies.751MIT
- AlicenseAqualityCmaintenanceGenerates 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
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/okarin25/api-dev-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server