Skip to main content
Glama
JaxNext

API Documentation MCP Server

by JaxNext

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

Related MCP server: MCP Documentation Server

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

Related MCP Connectors

Related MCP Servers