Repo2C4.Mcp 1.2.0

dotnet tool install --global Repo2C4.Mcp --version 1.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Repo2C4.Mcp --version 1.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Repo2C4.Mcp&version=1.2.0
                    
nuke :add-package Repo2C4.Mcp --version 1.2.0
                    

Repo2C4 MCP

Repo2C4 MCP is the local stdio Model Context Protocol server for evidence-first, reviewable C4 architecture documentation from authorized .NET repositories.

It exposes bounded repository inspection, evidence retrieval, deterministic LikeC4 generation, evidence reporting and LikeC4 validation. Architectural interpretation remains in the MCP client. The server does not embed an AI provider, accept provider credentials or expose a generic file-reading tool.

Install

dotnet tool install --global Repo2C4.Mcp
repo2c4-mcp --help

The server requires .NET 10. LikeC4 is installed separately when validate_likec4 is used.

Start

An MCP host should launch the server over stdio with the smallest authorized repository root:

repo2c4-mcp --repository-root "/absolute/path/to/repository"

The default tools are:

  • inspect_repository
  • get_evidence
  • get_snapshot
  • get_evidence_report
  • generate_likec4
  • validate_likec4

Remote public Git acquisition is disabled by default and is exposed only with the explicit --allow-remote-acquisition host option.

Safety model

generate_likec4 is dry-run by default. Filesystem writes require dryRun=false, write=true and an explicit repository-relative destination. Managed outputs use manifest/hash conflict protection and do not overwrite human edits or unmanaged collisions.

Snapshots are scoped to the current stdio session and expire after 30 minutes.

Documentation

Source and issues: https://github.com/rodri-oliveira-dev/Repo2C4

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.2.0 88 10/5/2026
1.1.0 89 10/2/2026
1.0.1 91 10/1/2026
1.0.0 88 10/1/2026