Autodocument MCP Server logo

Autodocument MCP Server

by PARS-DOE

Autodocument MCP Server automatically generates documentation for code repositories by analyzing directory structures and code files using OpenRouter API. It also creates test plans and performs code reviews.

View on GitHub

Last updated: N/A

What is Autodocument MCP Server?

Autodocument is an MCP (Model Context Protocol) server that leverages AI to automatically generate documentation, test plans, and code reviews for code repositories. It analyzes code structure and files using the OpenRouter API, providing comprehensive insights into your codebase.

How to use Autodocument MCP Server?

To use Autodocument, you need to clone the repository, install dependencies, and configure it with your OpenRouter API key. You can then run it from the command line or integrate it with AI assistants like Roo or Cline by configuring the MCP server settings. Provide the path to your project to generate documentation, test plans, or code reviews.

Key features of Autodocument MCP Server

  • Smart Directory Analysis

  • AI-Powered Documentation

  • Test Plan Generation

  • Code Review

  • Bottom-Up Approach

  • Highly Configurable

  • Git Integration

Use cases of Autodocument MCP Server

  • Automatically generate documentation for large codebases

  • Create test plans to improve code quality and reliability

  • Perform code reviews to identify potential issues and improve code style

  • Integrate with AI assistants for seamless documentation and testing workflows

FAQ from Autodocument MCP Server

What is the Model Context Protocol (MCP)?

MCP allows AI assistants like Roo and Cline to use external tools like autodocument.

What is OpenRouter?

OpenRouter is an API that provides access to various AI models, including Claude 3.7, which is used by default.

How do I configure the OpenRouter API key?

You can configure the API key using the OPENROUTER_API_KEY environment variable or in the MCP configuration file.

What output files does the server create?

The server creates documentation.md, testplan.md, and review.md files in each directory, as well as fallback files if limits are exceeded.

Can I customize the prompts used by the AI?

Yes, you can customize the prompts by editing the src/prompt-config.ts file.