api-doc-mcp-server

JaxNext/api-doc-mcp-server

3.1

If you are the rightful owner of api-doc-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A simple Model Context Protocol (MCP) server that fetches API documentation data from a local API documentation platform.

Tools
1
Resources
0
Prompts
0

API Documentation MCP Server

A simple Model Context Protocol (MCP) server that fetches API documentation data from a local API documentation platform.

Features

This MCP server provides a single tool:

  • api_doc - Fetch API documentation data for a specific endpoint by document ID

Prerequisites

  • Node.js 18+ with ES modules support
  • An API documentation platform running locally at http://localhost:3000
  • pnpm package manager

Installation

  1. Install dependencies:
pnpm install

Config in Cursor

{
  "mcpServers": {
    // other servers...
    "ApiDoc": {
      "command": "node",
      "args": [
        "/path/to/api-doc-mcp-server/api-doc.js"
      ],
    },
  }
}

Usage

Input prompts like this:

Add a new form page for creating new user, the API docId is "create-user".

The "create-user" is the docId

The LLM will automatically use the api_doc tool to fetch the API documentation data for the create-user endpoint.

License

ISC