API Docs Generator AI MCP
This server helps you generate and manage OpenAPI/Swagger specifications from natural language descriptions. It provides the following capabilities:
generate_endpoint: Create a structured OpenAPI endpoint definition by providing a path, HTTP method, summary, optional request body, and response description.generate_schema: Create OpenAPI schema/model components by specifying a name and fields with their types (string, integer, number, boolean, array).generate_full_spec: Assemble a complete OpenAPI 3.0 specification from a title, description, version, and a list of endpoints.add_auth_to_spec: Add an authentication scheme (bearer token, API key, basic auth, or OAuth2) to an existing spec.validate_spec: Check an existing OpenAPI specification for common issues and errors.
Generates OpenAPI/Swagger specifications from natural language API descriptions, enabling AI agents to create, validate, and augment API documentation.
Api Docs Generator Ai MCP
Generate OpenAPI/Swagger specifications from natural language API descriptions
Generate OpenAPI/Swagger specifications from natural language API descriptions. Supports REST endpoint generation, schema creation, and full spec assembly.
🚀 Quick Start
# Install via pip
pip install api_docs_generator_ai_mcp
# Or install via Smithery
npx -y @smithery/cli@latest install api-docs-generator-ai-mcp --client claudeRelated MCP server: Code Reviewer AI MCP
✨ Features
MCP protocol compliant
Easy installation
Well-documented API
Production-ready
Active maintenance
📖 Documentation
🛡️ Compliance
This MCP server is built with EU AI Act compliance built-in:
✅ Article 9 — Risk Management System
✅ Article 13 — Transparency & Instructions for Use
✅ Article 15 — Bias Detection & Testing
✅ Article 26 — FRIA Support (where applicable)
✅ Article 50 — AI Content Watermarking (where applicable)
Need help getting compliant? Book a free 15-min diagnostic →
🏢 Enterprise
Need custom development, SLA guarantees, or white-label deployment?
Pro: $99/mo — Full MCP suite + EU AI Act tracking
Enterprise: $499/mo — Custom dev + SLA + Dedicated support
View Pricing → | Contact Sales →
🤝 Part of the MEOK Ecosystem
This server is part of the MEOK AI Labs ecosystem — 300+ MCP servers for sovereign AI governance.
Domain | Purpose |
EU AI Act compliance marketplace | |
AI safety & monitoring | |
Sovereign AI platform | |
Legacy modernization |
📜 License
MIT © CSOAI-ORG
💸 Try MEOK in 30 seconds — instant buy ladder
Tier | Price | What you get | Stripe |
Smoke test | £1 | Signed sample MCP-Hardening report + Article 50 PDF | |
Quick Kit | £9 | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | |
Founder Call | £29 | 30-min 1-on-1 with the founder |
Refundable. UK Stripe — VAT-clean. Builds on the 81-MCP MEOK fleet. Verify any signed report at https://meok.ai/verify.
Configuration
Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:
{
"mcpServers": {
"api-docs-generator-ai-mcp": {
"command": "uvx",
"args": ["api-docs-generator-ai-mcp"]
}
}
}Or: pip install api-docs-generator-ai-mcp then run the api-docs-generator-ai-mcp command (stdio transport).
Examples
Once configured, ask your assistant, for example:
"Use
generate_endpointto …""Use
generate_schemato …""Use
generate_full_specto …"
Available Tools
5 toolsadd_auth_to_specC
Add authentication scheme to an OpenAPI spec. auth_type: bearer, api_key, basic, oauth2.
Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: spec_json (str): The spec json to analyze or process. auth_type (str): The auth type to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ||
| auth_type | No | bearer | |
| api_key | No |
generate_endpointA
Generate an OpenAPI endpoint definition from a description.
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: path (str): The path to analyze or process. method (str): The method to analyze or process. summary (str): The summary to analyze or process. request_body (Optional[str]): The request body to analyze or process. response_description (str): The response description to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method | Yes | ||
| summary | Yes | ||
| request_body | No | ||
| response_description | No | Successful response | |
| api_key | No |
generate_full_specA
Generate a complete OpenAPI 3.0 spec. Pass endpoints_json as a JSON array of {path, method, summary} objects.
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: title (str): The title to analyze or process. description (str): The description to analyze or process. version (str): The version to analyze or process. endpoints_json (str): The endpoints json to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| description | Yes | ||
| version | No | 1.0.0 | |
| endpoints_json | No | [] | |
| api_key | No |
generate_schemaA
Generate an OpenAPI schema component. Fields format: 'name:type,name2:type2' (types: string,integer,number,boolean,array).
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: name (str): The name to analyze or process. fields (str): The fields to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fields | Yes | ||
| api_key | No |
validate_specA
Validate an OpenAPI spec for common issues.
Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: spec_json (str): The spec json to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent — calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ||
| api_key | No |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v1.0.0- First observed
add_auth_to_spec - First observed
generate_endpoint - First observed
generate_full_spec - First observed
generate_schema - First observed
validate_spec
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: adding auth, generating an endpoint, generating a full spec, generating a schema, and validating a spec. No overlap in functionality.
All tool names follow a consistent verb_noun pattern using snake_case: add_auth_to_spec, generate_endpoint, generate_full_spec, generate_schema, validate_spec.
5 tools is appropriate for an OpenAPI spec generator. It covers the core tasks without being excessive or insufficient.
The tools cover generation, component creation, authentication, and validation. Missing features like editing or converting from other formats, but the core workflow is complete.
Maintenance
Related MCP Connectors
MCP server for AI access to Swagger by SmartBear.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
AI tool directory MCP server, live since July 2026. Tools, agents, models, companies, services.
MCP server for Qwen Image 3 AI image generation
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that crawls API documentation websites and exposes their content to AI models, enabling them to search, browse, and reference API specifications.1MIT
- AlicenseNot gradedqualityCmaintenanceCode Reviewer AI - MCP server providing AI-powered tools and automation by MEOK AI Labs3 npm34 PyPIMIT
- AlicenseBqualityCmaintenanceAPI Tester AI - MCP server providing AI-powered tools and automation by MEOK AI Labs44 npm46 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceMock Server AI - MCP server providing AI-powered tools and automation by MEOK AI Labs4 npm34 PyPIMIT