Gencodedoc logo

Gencodedoc

Version and document local projects through MCP tools for snapshots, diffs, file history, configuration, and Markdown generation.

Install Gencodedoc

Run the project’s own setup commands, in order.

Setup steps from the project

gencodedoc installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Run
    cd /path/to/gencodedoc
    
  2. 2. Install
    poetry install
    

Overview

The gencodedoc MCP server gives AI assistants access to project versioning and documentation workflows through MCP. It operates on a configured project path and exposes tools for snapshots, diffs, file history, search, changelogs, Markdown documentation, project status, and configuration. Transports include stdio, SSE, and REST, with documented setup for Gemini CLI and Claude Desktop. Reach for it when an agent needs to inspect, version, restore, or document a local codebase.

Use cases

  • Create and inspect project snapshots
  • Compare versions and restore selected files
  • Generate Markdown documentation from a codebase
  • Search historical snapshot contents
  • Generate changelogs between references

Key features

  • Snapshot creation with SHA256 deduplication
  • Unified, JSON, and AST-based version diffs
  • Markdown documentation with smart splitting
  • File history and cross-snapshot search
  • Project presets and configurable ignore rules
  • stdio, SSE, and REST transports

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.

How Gencodedoc works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gencodedoc

gencodedoc is an MCP server that connects AI assistants to a local project’s snapshot and documentation system. Its main tools create, inspect, compare, restore, and export snapshots; search file history; generate changelogs and Markdown documentation; preview structure; report status; and manage project configuration through stdio, SSE, or REST.

Install Python 3.10+ and Poetry, then run `poetry install` from the project directory. Verify the installation with `poetry run gencodedoc --help`, initialize a project, and configure the transport you want to use.

Configure Gemini CLI to run the `gencodedoc.mcp.server_stdio` module with the Python interpreter from the Poetry environment. Set `PROJECT_PATH` to the project directory in the MCP server’s environment, then restart Gemini CLI.

Yes, gencodedoc works with Claude Desktop through its SSE transport. Start `poetry run python -m gencodedoc.mcp.server_sse`, then configure Claude Desktop with the SSE URL `http://127.0.0.1:8000/mcp/sse` and keep the server running.

The tools manage snapshots, compare and restore versions, read files at specific versions, search snapshot contents, generate changelogs and Markdown documentation, preview directory structures, report project status, and change configuration. The detailed README table lists 26 tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGencodedoc AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gencodedoc?style=directory)](https://allmcps.com/mcp/gencodedoc)
HTML Embed
<a href="https://allmcps.com/mcp/gencodedoc"><img src="https://allmcps.com/api/badge/gencodedoc?style=directory" alt="Gencodedoc on AllMCPs" /></a>