Skip to main content
Glama
@mhdd_24/api-documentation-mcp

@mhdd_24/api-documentation-mcp

by Mhdd-24

@mhdd_24/api-documentation-mcp

Generate API documentation from code/specs.

Same architecture as @mhdd_24/sublime-mcp.

Full documentation: docs/WIKI.md


How it works (30 seconds)

You (chat) → MCP client → api-documentation-mcp → API Documentation APIs / CLIs / local tools

Related MCP server: Dedalus MCP Documentation Server

Prerequisites

Requirement

Notes

Node.js 18+

ESM TypeScript MCP server

Credentials / CLIs

See environment variables below


Install

Option A — npm (after publish)

npm install -g @mhdd_24/api-documentation-mcp

Option B — npx

npx @mhdd_24/api-documentation-mcp

Option C — clone and build

git clone https://github.com/Mhdd-24/API-Documentation-MCP.git
cd API-Documentation-MCP
npm install
npm run build
node dist/index.js

Configure Cursor

Edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "apidoc": {
      "command": "npx",
      "args": ["-y", "@mhdd_24/api-documentation-mcp"],
      "env": {
        "PROJECT_ROOT": "..."
      }
    }
  }
}

Local development:

{
  "command": "node",
  "args": ["/absolute/path/to/API-Documentation-MCP/dist/index.js"]
}

Environment variables

Variable

Description

PROJECT_ROOT

Default project/repository root


Tools

Tool

Description

apidoc_status

Health check for API Documentation MCP.

apidoc_from_openapi

Generate markdown docs from OpenAPI JSON.

apidoc_from_routes

Document routes listed as method path lines.


License

ISC

Available Tools

3 tools
apidoc_from_openapiC

Generate markdown docs from OpenAPI JSON.

Inputs: spec (required).

apidoc_from_routesC

Document routes listed as method path lines.

Inputs: routes (required).

apidoc_statusB

Health check for API Documentation MCP.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three tools have clearly distinct purposes: a health check, generating docs from OpenAPI JSON, and generating docs from route lines. The two generation tools are differentiated by their input formats, so an agent can reliably select the right one.

    Naming Consistency5/5

    All tools share the same apidoc_ prefix and snake_case style, making the pattern predictable. The minor semantic difference (status vs. from_*) does not undermine consistency.

    Tool Count5/5

    Three tools is a tight, focused set for a documentation-generation server, with each tool earning its place. No redundant or clearly missing tools appear at this scope.

    Completeness4/5

    The server covers health checking and two common documentation source types (OpenAPI JSON and route lines). It lacks features like validation or output customization, but these are minor gaps for a basic doc-generation utility.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers