# io.github.vpatser1/mcp-api-doc-generator (npm · mcp-api-doc-generator)

Generate OpenAPI 3.1 specs, endpoint docs, TypeScript SDKs, and test suites from code

- Trust score: 62/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-08

## Components

- npm · `mcp-api-doc-generator`: 62/100 (this document), [markdown](https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator.md), [page](https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator)

## Channel facts

- Registry: `npm`
- Package: `mcp-api-doc-generator`
- Version: `1.1.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-08.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 36 of 123 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 19/100
  - Repository check failed: no source repository is declared.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 3 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 538 tokens (~107/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add vpatser1-mcp-api-doc-generator -- npx -y mcp-api-doc-generator
```

### Codex

```bash
codex mcp add vpatser1-mcp-api-doc-generator -- npx -y mcp-api-doc-generator
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "vpatser1-mcp-api-doc-generator": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "mcp-api-doc-generator"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add vpatser1-mcp-api-doc-generator --command npx --arg -y --arg mcp-api-doc-generator
```

### Hermes

```yaml
mcp_servers:
  vpatser1-mcp-api-doc-generator:
    command: "npx"
    args: ["-y", "mcp-api-doc-generator"]
```

### Other

```json
{
  "mcpServers": {
    "vpatser1-mcp-api-doc-generator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-08 (score 62, +3)

- [security improvement] Known CVEs: partial → pass
- [functional] Dependency health: partial → 0.85

### 2026-08-04 (score 59)

First indexed and scored.

## MCP tools (5)

### `generate_openapi` (~105 tokens)

Generates a complete OpenAPI 3.1 specification from endpoint definitions. Produces properly structured output with paths, parameters, request/response schemas using $ref components, authentication sections, server URLs, tags, and grouping. Supports YAML and JSON output.

Input parameters:

- `endpoints` (array, required): Array of endpoint definitions to include in the spec
- `format` (string): Output format (default: yaml)
- `info` (object): OpenAPI info block (title, version, description)

### `document_endpoint` (~167 tokens)

Generates full documentation for a single API endpoint in Markdown. Includes parameter tables, request/response examples with realistic data, error response documentation (400, 401, 403, 404, 500), cURL command example, JavaScript fetch example, and Python requests example.

Input parameters:

- `auth_type` (string): Authentication type required
- `description` (string, required): What this endpoint does
- `method` (string, required): HTTP method (GET, POST, PUT, PATCH, DELETE)
- `parameters` (array): Path, query, or header parameters
- `path` (string, required): URL path (e.g. /users/{id})
- `request_body` (object): Request body schema
- `response` (object): Success response schema
- `tags` (array): Tags for grouping

### `generate_sdk` (~92 tokens)

Generates a TypeScript SDK client from endpoint definitions. Produces typed interfaces for all request/response models, a client class with methods for each endpoint, error handling helpers (ApiError class with retry support), and authentication wrappers (Bearer, API Key, Basic).

Input parameters:

- `base_url` (string): Base URL for API calls (default: https://api.example.com)
- `endpoints` (array, required): Array of endpoint definitions

### `validate_api` (~77 tokens)

Validates an OpenAPI specification (YAML or JSON). Checks schema correctness, missing descriptions, inconsistent naming conventions, missing error responses, security scheme completeness, and server URLs. Returns categorized issues (errors, warnings, suggestions) with specific fix suggestions for each.

Input parameters:

- `spec` (string, required): OpenAPI spec content (YAML or JSON string)

### `generate_tests` (~97 tokens)

Generates comprehensive API test suites for endpoints. Creates happy path tests, validation tests (missing required fields), edge case tests (empty values, null values, extra fields), authentication tests, HTTP method tests, and response structure checks. Includes mock data generator functions. Outputs as Jest or Vitest test files.

Input parameters:

- `endpoints` (array, required): Array of endpoint definitions to test
- `framework` (string): Test framework to use (default: vitest)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator#diagnostics

## Score history

- 2026-08-08: 62
- 2026-08-07: 59
- 2026-08-06: 59
- 2026-08-05: 59
- 2026-08-04: 59

## Links

- npm package: https://www.npmjs.com/package/mcp-api-doc-generator
- Socket report: https://socket.dev/npm/package/mcp-api-doc-generator
- Website: https://aivp-mcp.vercel.app/
- Changelog RSS feed: https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator.xml
- Changelog JSON feed: https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator.json
- HTML version of this page: https://verifymcp.io/servers/vpatser1-mcp-api-doc-generator/mcp-api-doc-generator
