Are you the author? Sign in to claim
api-creator-mcp
"# 🚀 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.
npx api-creator-mcp
npm install -g api-creator-mcp
api-creator-mcp
git clone https://github.com/yourusername/api-creator-mcp.git
cd api-creator-mcp
npm install
npm run build
npm link
api-creator-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"api-creator-mcp": {
"command": "npx",
"args": ["-y", "api-creator-mcp"]
}
}
}
Add to your Cursor MCP configuration:
{
"mcpServers": {
"api-creator-mcp": {
"command": "npx",
"args": ["-y", "api-creator-mcp"]
}
}
}
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
}
Convert an OpenAPI specification into a working server.
{
"openapi_spec": "{\"openapi\":\"3.0.0\",...}",
"output_language": "typescript",
"generate_sdk": true
}
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
}
Generate a microservice with async communication.
{
"name": "order-service",
"communication": "kafka",
"service_discovery": "consul",
"observability": true
}
Deploy a generated API to cloud platforms.
{
"api_path": "./generated-apis/tasks-api",
"platform": "docker",
"environment": {
"NODE_ENV": "production",
"PORT": "3000"
}
}
# The MCP server will generate:
# - Express server with TypeScript
# - PostgreSQL integration with Prisma
# - JWT authentication
# - Zod validation for all endpoints
# - Complete project structure
# Provide your OpenAPI 3.0 spec
# The server will generate:
# - Fully typed TypeScript server
# - Client SDK for easy integration
# - All endpoints from your spec
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
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Watch mode
npm run test:watch
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows