
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
mcp-api-doc-generator
Advanced tools
MCP server for generating API documentation — OpenAPI 3.1 specs, endpoint docs, TypeScript SDKs, validation, and test suites
Dev tools MCP server for generating API documentation. Produces OpenAPI 3.1 specs, endpoint docs with code examples, TypeScript SDKs, API validation reports, and test suites -- all from simple endpoint definitions.
| Plan | Price | Includes |
|---|---|---|
| Basic | $10/mo | generate_openapi, document_endpoint, validate_api — Buy → |
| Pro | $20/mo | All tools: generate_openapi, document_endpoint, generate_sdk, validate_api, generate_tests — Buy → |
Free trial: 3 calls total (shared across all tools), no credit card. License keys are emailed instantly after checkout. More info: aivp-mcp.vercel.app
generate_openapiGenerate an OpenAPI 3.1 specification from endpoint definitions. Outputs YAML or JSON with:
$ref schemas in components/schemas for reusable modelsdocument_endpointGenerate detailed Markdown documentation for a single endpoint:
generate_sdkGenerate a TypeScript SDK client from endpoint definitions:
ApiError class with status helpers (isNotFound(), isUnauthorized(), etc.)withRetry() helper for exponential backoff on 5xx/429BearerAuth, ApiKeyAuth, BasicAuthvalidate_apiValidate an OpenAPI spec (YAML or JSON):
generate_testsGenerate test suites from endpoint definitions:
Note: the npm package is
mcp-api-doc-generator(not the bare nameapi-doc-generator).
No install step needed — run straight from npm:
npx -y mcp-api-doc-generator
Or install globally:
npm install -g mcp-api-doc-generator
Free trial: 3 calls total (shared across all tools), no credit card. Buy a license at the links in Pricing — your key is emailed instantly. Activate it with the LICENSE_KEY environment variable.
npx -y mcp-api-doc-generator
npx -y mcp-api-doc-generator --sse
# Listens on http://127.0.0.1:3000 by default
# Set PORT env var to change
Add to your claude_desktop_config.json:
{
"mcpServers": {
"api-doc-generator": {
"command": "npx",
"args": ["-y", "mcp-api-doc-generator"],
"env": { "LICENSE_KEY": "<your license key — omit for free trial>" }
}
}
}
{
"tool": "generate_openapi",
"arguments": {
"endpoints": [
{
"method": "GET",
"path": "/users",
"description": "List all users",
"parameters": [
{ "name": "page", "in": "query", "type": "integer", "description": "Page number" },
{ "name": "limit", "in": "query", "type": "integer", "description": "Items per page" }
],
"response": {
"status": 200,
"type": "object",
"properties": {
"users": { "type": "array", "description": "List of users" },
"total": { "type": "integer", "description": "Total count" }
}
}
},
{
"method": "POST",
"path": "/users",
"description": "Create a new user",
"request_body": {
"type": "object",
"properties": {
"name": { "type": "string", "description": "User name" },
"email": { "type": "string", "description": "User email" }
},
"required": ["name", "email"]
},
"response": {
"status": 201,
"type": "object",
"properties": {
"id": { "type": "string", "description": "User ID" },
"name": { "type": "string", "description": "User name" },
"email": { "type": "string", "description": "User email" }
}
},
"auth_type": "bearer"
}
],
"info": {
"title": "User Service API",
"version": "1.0.0",
"description": "API for managing users"
}
}
}
{
"tool": "generate_sdk",
"arguments": {
"endpoints": [
{
"method": "GET",
"path": "/users/{id}",
"name": "getUser",
"description": "Get a user by ID",
"parameters": [
{ "name": "id", "in": "path", "type": "string", "required": true, "description": "User ID" }
],
"response": {
"status": 200,
"type": "object",
"properties": {
"id": { "type": "string" },
"name": { "type": "string" },
"email": { "type": "string" }
}
},
"auth_type": "bearer"
}
],
"base_url": "https://api.myapp.com"
}
}
{
"tool": "validate_api",
"arguments": {
"spec": "{ \"openapi\": \"3.1.0\", \"info\": { \"title\": \"My API\", \"version\": \"1.0.0\" }, \"paths\": { \"/users/{id}\": { \"get\": { \"summary\": \"Get user\", \"responses\": { \"200\": { \"description\": \"OK\" } } } } } }"
}
}
npm run dev # Watch mode
MIT
FAQs
MCP server for generating API documentation — OpenAPI 3.1 specs, endpoint docs, TypeScript SDKs, validation, and test suites
We found that mcp-api-doc-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.