
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@rog0x/mcp-docs-tools
Advanced tools
Documentation generation tools for AI agents, served via the Model Context Protocol (MCP).
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 |
npm install
npm run build
Add to your MCP client configuration:
{
"mcpServers": {
"docs-tools": {
"command": "node",
"args": ["path/to/mcp-docs-tools/dist/index.js"]
}
}
}
Parses a function signature and generates JSDoc/TSDoc with @param, @returns, @throws, and @example tags.
Parameters:
functionSignature (string, required) - The function signature to documentdescription (string, optional) - Description of the functionincludeExample (boolean, optional, default: true) - Whether to include an @example tagAnalyzes 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 fileGenerates 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 } objectsprojectName (string, optional) - Project name for the headerGenerates 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 documentationbaseUrl (string, optional) - Base URL for the APIapiDescription (string, optional) - General API descriptionendpoints (array, required) - Array of endpoint definitionsAnalyzes 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 analyzelanguage (string, optional, default: "typescript") - Programming languageNo additional configuration required. The server runs over stdio.
MIT
FAQs
Documentation generation tools for AI agents via MCP
The npm package @rog0x/mcp-docs-tools receives a total of 16 weekly downloads. As such, @rog0x/mcp-docs-tools popularity was classified as not popular.
We found that @rog0x/mcp-docs-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.