# gencodedoc [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/fkom13/gencodedoc  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gencodedoc

## Description
Versioning de code et génération de documentation intelligents. Supporte CLI, API REST, et MCP.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/fkom13/gencodedoc), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Run:

```sh
cd /path/to/gencodedoc
```

2. Install:

```sh
poetry install
```

## Documentation

## What gencodedoc MCP server does

The gencodedoc MCP server exposes a local project’s versioning and documentation functions to MCP clients. It can initialize a project, create and list snapshots, inspect snapshot details, compare versions, read files from a selected version, restore complete or filtered content, export snapshots, and remove unused stored data.

Documentation functions generate Markdown output, preview a project’s directory structure, and report project statistics. Code-intelligence tools track the history of a file, search text across snapshots, and create a Keep-a-Changelog document between references. The server also exposes project status and configuration operations, including presets and ignore rules.

## How it works

The gencodedoc MCP server works against a configured project directory and its local snapshot data. Snapshot creation uses SHA256-based deduplication, while storage uses SQLite and zstd compression according to the project description. Documentation generation supports syntax highlighting, directory trees, and splitting output at a configured size limit.

MCP access is available through three transport modes. The stdio entry point is intended for command-line clients and custom scripts. The SSE server listens on port 8000 by default and exposes an MCP SSE endpoint for desktop or web clients. A separate REST server provides HTTP endpoints for server information, tool listing, and tool execution.

## Setup and configuration

Install Python 3.10 or newer and Poetry, then install the project dependencies with `poetry install`. A project can be initialized with a preset for Python, Node.js, Go, or web projects. Configuration can be viewed or changed through the CLI or MCP tools, including autosave settings and ignore rules.

For Gemini CLI, configure the stdio module `gencodedoc.mcp.server_stdio` and provide `PROJECT_PATH` with the project directory. For Claude Desktop, start `gencodedoc.mcp.server_sse` and configure the SSE URL at `http://127.0.0.1:8000/mcp/sse`. The REST mode starts with `gencodedoc.mcp.server` and uses port 8000 by default. The server process must remain running for the SSE setup.

## Tools and capabilities

The gencodedoc MCP server includes tools for:

- Creating, listing, inspecting, restoring, deleting, exporting, and diffing snapshots.
- Reading one file or listing files at a selected version.
- Searching snapshot contents and retrieving file history.
- Generating changelogs and Markdown documentation.
- Previewing directory trees and retrieving project statistics.
- Initializing projects and checking project status.
- Reading configuration, setting values, applying presets, and managing ignore rules.

Tool parameters include references, file paths, file filters, search options, output paths, split limits, and tree-depth controls.

## Limitations and notes

Its MCP section gives different tool totals in different places; the detailed tool table lists 26 tools, while an earlier feature section mentions 22. Treat the detailed table as the more specific inventory, and verify the installed version before relying on an exact count.

The documented client configurations cover Gemini CLI through stdio and Claude Desktop through SSE. Other MCP clients may require their own transport configuration. REST usage is described as HTTP API access rather than a client-specific MCP configuration.

_Full upstream README: https://allmcps.com/mcp/gencodedoc/readme_

