# MCP Api Doc Generator

> MCP Api Doc Generator is an MCP server. Generate OpenAPI 3.1 specs, endpoint docs, TypeScript SDKs, and test suites from code. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://aivp-mcp.vercel.app
- **MCP Registry name:** io.github.vpatser1/mcp-api-doc-generator
- **Listing updated:** 2026-08-04

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-api-doc-generator --env LICENSE_KEY='<LICENSE_KEY>' -- npx -y mcp-api-doc-generator
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-api-doc-generator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-api-doc-generator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-api-doc-generator": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-api-doc-generator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-api-doc-generator": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-doc-generator"
      ],
      "env": {
        "LICENSE_KEY": "<LICENSE_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add MCP Api Doc Generator to Claude Code?

Run this command in your terminal: claude mcp add mcp-api-doc-generator --env LICENSE_KEY='<LICENSE_KEY>' -- npx -y mcp-api-doc-generator

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-api-doc-generator
