API Creator MCP
Generates GraphQL APIs with Apollo Server, including subscriptions support.
Deploys generated APIs to AWS Lambda.
Integrates service discovery via Consul for microservices.
Generates Docker configuration for deploying APIs.
Generates REST APIs using Express.js framework.
Generates REST APIs using Fastify framework.
Generates Kubernetes configuration for deploying APIs.
Integrates OpenTelemetry tracing for observability.
Integrates PostgreSQL as a data source with Prisma ORM.
Uses Prisma for database integration with PostgreSQL.
Integrates Prometheus metrics for monitoring.
Supports RabbitMQ for asynchronous microservice communication.
Deploys generated APIs to Vercel.
Click on "Deploy 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 Creator MCP create a REST API for a task manager with CRUD endpoints"
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.
"# ๐ API Creator MCP
API Creator MCP is a specialized MCP (Model Context Protocol) server that generates complete, production-ready APIs. It supports REST, GraphQL, and microservices architectures with built-in security, validation, and deployment configurations.
โจ Features
REST API Generation - Express/Fastify with database integration
OpenAPI Conversion - Transform OpenAPI specs into working servers
GraphQL API Generation - Apollo Server with subscriptions support
Microservice Generation - gRPC, Kafka, RabbitMQ with service discovery
Deployment Configuration - Docker, Kubernetes, AWS Lambda, Vercel
Security First - JWT auth, Zod validation, rate limiting, path sanitization
TypeScript Native - Full type safety with strict TypeScript
Observability - OpenTelemetry tracing and Prometheus metrics
Related MCP server: API Tester MCP
๐ Prerequisites
Node.js 20+
npm 9+
๐ Installation
Via npx (recommended)
npx api-creator-mcpVia npm global install
npm install -g api-creator-mcp
api-creator-mcpVia GitHub
git clone https://github.com/yourusername/api-creator-mcp.git
cd api-creator-mcp
npm install
npm run build
npm link
api-creator-mcp๐ง Configuration for Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"api-creator-mcp": {
"command": "npx",
"args": ["-y", "api-creator-mcp"]
}
}
}๐ง Configuration for Cursor
Add to your Cursor MCP configuration:
{
"mcpServers": {
"api-creator-mcp": {
"command": "npx",
"args": ["-y", "api-creator-mcp"]
}
}
}๐ ๏ธ Available Tools
1. create_rest_api
Generate a complete REST API with Express/Fastify.
{
"name": "tasks-api",
"endpoints": [
{ "path": "/tasks", "method": "GET", "description": "List all tasks" },
{ "path": "/tasks", "method": "POST", "description": "Create a task" },
{ "path": "/tasks/:id", "method": "DELETE", "description": "Delete a task" }
],
"database": "postgres",
"authentication": true,
"validation": true
}2. generate_from_openapi
Convert an OpenAPI specification into a working server.
{
"openapi_spec": "{\"openapi\":\"3.0.0\",...}",
"output_language": "typescript",
"generate_sdk": true
}3. create_graphql_api
Generate a GraphQL API with Apollo Server.
{
"name": "blog-api",
"schema": {
"types": "type Post { id: ID! title: String! content: String! }",
"queries": "posts: [Post]",
"mutations": "createPost(title: String!, content: String!): Post"
},
"data_source": "postgres",
"subscriptions": true
}4. create_microservice
Generate a microservice with async communication.
{
"name": "order-service",
"communication": "kafka",
"service_discovery": "consul",
"observability": true
}5. deploy_api
Deploy a generated API to cloud platforms.
{
"api_path": "./generated-apis/tasks-api",
"platform": "docker",
"environment": {
"NODE_ENV": "production",
"PORT": "3000"
}
}๐ Usage Examples
Creating a Task Management API
# The MCP server will generate:
# - Express server with TypeScript
# - PostgreSQL integration with Prisma
# - JWT authentication
# - Zod validation for all endpoints
# - Complete project structureConverting an Existing API
# Provide your OpenAPI 3.0 spec
# The server will generate:
# - Fully typed TypeScript server
# - Client SDK for easy integration
# - All endpoints from your spec๐ Security
Input Validation: All parameters validated with Zod schemas
Rate Limiting: 100 requests per minute per client
Path Sanitization: Prevents path traversal attacks
Permission System: Role-based access control
No eval/exec: Safe template literals only
JWT Authentication: Built-in auth middleware
๐ Project Structure
api-creator-mcp/
โโโ src/
โ โโโ core/ # MCP server core
โ โโโ tools/ # Tool implementations
โ โโโ types/ # TypeScript types and Zod schemas
โ โโโ utils/ # Security and validation utilities
โโโ tests/
โ โโโ unit/ # Unit tests
โ โโโ integration/ # Integration tests
โโโ templates/ # API templates
โโโ docs/ # Documentation๐งช Testing
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Watch mode
npm run test:watch๐ค Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
๐ Support
Issues: GitHub Issues
Discussions: GitHub Discussions"
Available Tools
5 toolscreate_graphql_apiA
Generate a GraphQL API with Apollo Server or Yoga, including subscriptions and data source integration
Inputs: name (required), schema (required), data_source, subscriptions.
create_microserviceC
Generate a microservice with async communication, service discovery, and observability
Inputs: name (required), communication (required), observability, service_discovery.
create_rest_apiA
Generate a complete REST API with Express/Fastify, including database integration, authentication, and validation
Inputs: name (required), endpoints (required), database, validation, +1 more.
deploy_apiB
Deploy a generated API to a cloud platform with environment configuration
Inputs: api_path (required), platform (required), environment.
generate_from_openapiB
Convert an OpenAPI specification into a working MCP server with optional SDK generation
Inputs: openapi_spec (required), generate_sdk, output_language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 5 tools
Each tool targets a distinct API development task: GraphQL, microservice, REST, deployment, and OpenAPI conversion. No two tools have overlapping purposes.
All tool names follow the verb_noun pattern with lowercase underscores (create_*, deploy_*, generate_from_*), providing a clear and consistent naming convention.
5 tools cover the core workflow of API creation and deployment without being excessive or insufficient for the stated purpose.
The tool surface provides a complete set for generating and deploying APIs, including three API styles and OpenAPI conversion, with no obvious missing operations for creation and deployment.
Maintenance
Related MCP Connectors
Deploy production REST and Neo4j Graph APIs from JSON schemas in seconds.
Deploy production REST APIs from JSON schemas in seconds. Manage projects, schemas, and deployments.
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
Design domain models and generate deterministic multi-stack code, driven by your coding agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGenerates production-ready MCP servers from natural language, OpenAPI specs, database schemas, GraphQL schemas, or ontologies.71 npm1MIT
- AlicenseBqualityDmaintenanceEnables QA/SDET engineers to test APIs by ingesting Swagger/OpenAPI specs and Postman collections, generating and executing tests in multiple languages and frameworks with real-time progress tracking.1123 npm96 PyPI6MIT

@forgespace/ui-mcpofficial
AlicenseBqualityFmaintenanceEnables AI-driven generation of UI components, full applications, and backend code across multiple frameworks (React, Vue, Angular, Svelte, HTML) with Figma integration and brand identity support.3899 npm2MIT- AlicenseNot gradedqualityDmaintenanceAutomatically parses Swagger/OpenAPI documentation, generates frontend code (Vue3, React, etc.), and enables API testing through natural language commands.MIT