MCP server for automatic documentation generation using OpenRouter
If you want an AI assistant working directly with Autodocument, the autodocument mcp server is the bridge. MCP server for automatic documentation generation using OpenRouter.
An MCP (Model Context Protocol) server that automatically generates documentation for code repositories by analyzing directory structures and code files using OpenRouter API.
Once connected, the assistant can call these 4 tools directly:
Prerequisites — The Prerequisites tool exposed by this servergenerate_documentation — Generates comprehensive documentation for a code repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // Optional "model"autotestplan — Generates test plans for functions and components in a code repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // Optionalautoreview — Generates a senior developer-level code review for a repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // OptionalSetup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
Before the server will start you need to supply one environment variable: OPENROUTER_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Autodocument sits in that group, and the shape of its toolset — Prerequisites, generate_documentation, autotestplan among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| generate_documentation | Generates comprehensive documentation for a code repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // Optional "model": "anthropic/claude-3-7-sonnet", // Optional "updateExisting": t |
| autotestplan | Generates test plans for functions and components in a code repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // Optional "model": "anthropic/claude-3-7-sonnet", // Optional "updateE |
| autoreview | Generates a senior developer-level code review for a repository: { "path": "/path/to/your/project", "openRouterApiKey": "your-api-key-here", // Optional "model": "anthropic/claude-3-7-sonnet", // Optional "updateExisting |
| Variable | Description | Required |
|---|---|---|
| OPENROUTER_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.