rog0x

mcp-docs-tools

Community rog0x
Updated

MCP server for documentation: JSDoc/TSDoc generator, README completeness analyzer, changelog from commits, API doc generator, code comment analyzer

mcp-docs-tools

Documentation generation tools for AI agents, served via the Model Context Protocol (MCP).

Overview

mcp-docs-tools provides five specialized documentation tools accessible through MCP:

Tool Description
generate_jsdoc Generate JSDoc/TSDoc comments from function signatures
analyze_readme Analyze README completeness and suggest improvements
generate_changelog Generate CHANGELOG entries from commit messages
generate_api_docs Generate REST API documentation from endpoint definitions
analyze_code_comments Analyze comment coverage, find TODOs, detect undocumented functions

Installation

npm install
npm run build

Usage

As an MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "docs-tools": {
      "command": "node",
      "args": ["path/to/mcp-docs-tools/dist/index.js"]
    }
  }
}

Tools

generate_jsdoc

Parses a function signature and generates JSDoc/TSDoc with @param, @returns, @throws, and @example tags.

Parameters:

  • functionSignature (string, required) - The function signature to document
  • description (string, optional) - Description of the function
  • includeExample (boolean, optional, default: true) - Whether to include an @example tag
analyze_readme

Analyzes README content for required sections (Installation, Usage, License, etc.), rates completeness from 0-100, and suggests missing sections.

Parameters:

  • content (string, required) - Full text content of the README file
generate_changelog

Generates CHANGELOG entries from git-style commit messages following the Keep a Changelog format. Categorizes commits as Added, Changed, Fixed, Removed, Deprecated, or Security.

Parameters:

  • versions (array, required) - Array of { version, date, commits } objects
  • projectName (string, optional) - Project name for the header
generate_api_docs

Generates REST API documentation in Markdown from endpoint descriptions including method, URL, parameters, request/response examples, and status codes.

Parameters:

  • apiTitle (string, required) - Title for the API documentation
  • baseUrl (string, optional) - Base URL for the API
  • apiDescription (string, optional) - General API description
  • endpoints (array, required) - Array of endpoint definitions
analyze_code_comments

Analyzes source code comment coverage: computes comment-to-code ratio, finds TODO/FIXME/HACK markers, detects functions without documentation, and suggests where docs are needed.

Parameters:

  • code (string, required) - Source code to analyze
  • language (string, optional, default: "typescript") - Programming language

Configuration

No additional configuration required. The server runs over stdio.

License

MIT

MCP Server · Populars

MCP Server · New

    globau

    Firefox DevTools MCP

    Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through the Remote Debugging Protocol

    Community globau
    nukeop

    nuclear

    Streaming music player that finds free music for you

    Community nukeop
    qualixar

    SuperLocalMemory V3

    World's first local-only AI memory to break 74% retrieval and 60% zero-LLM on LoCoMo. No cloud, no APIs, no data leaves your machine. Additionally, mode C (LLM/Cloud) - 87.7% LoCoMo. Research-backed. arXiv: 2603.14588

    Community qualixar
    proxy-intell

    Facebook Ads Library MCP Server

    MCP Server for Facebook ADs Library - Get instant answers from FB's ad library

    Community proxy-intell
    genkit-ai

    Genkit MCP

    Open-source framework for building AI-powered apps in JavaScript, Go, and Python, built and used in production by Google

    Community genkit-ai