← back #10

RVM.McpForge

Code analysis platform and automatic MCP server generation for AI assistant integration.

Overview

RVM.McpForge is an intelligent code analysis and MCP (Model Context Protocol) server generation platform for .NET projects. It analyzes C# repositories via Roslyn or PostgreSQL databases via introspection, extracts endpoints, entities, services and tables, then automatically generates MCP servers with tools and resources for AI assistant integration. Supports two source types (Git and Database), tracks project status and persists analysis snapshots in PostgreSQL.

Features

  • Dual analysis: Git repositories (C#) and PostgreSQL databases
  • Static analysis with Roslyn: extracts controllers, endpoints, entities and services
  • Database introspection: discovers tables, columns, constraints and relationships
  • Automatic MCP tool generation from discovered endpoints and tables
  • Automatic Git repository cloning via LibGit2Sharp
  • Project lifecycle: Pending -> Analyzing -> Analyzed -> Generating -> Ready
  • Analysis snapshots with persisted history
  • Tool categorization: Query, Command, Schema
  • Blazor Server dashboard with project and generated server management
  • Code generation with Scriban templates

Technologies

  • .NET 10
  • ASP.NET Core 10
  • Roslyn (Microsoft.CodeAnalysis) 4.13
  • Scriban 5.12
  • LibGit2Sharp 0.30
  • EF Core 10
  • PostgreSQL
  • Npgsql
  • Blazor Server
  • Serilog
  • xUnit

Patterns & architecture

  • Layered Architecture (4 camadas)
  • Orchestrator Pattern (ForgeOrchestrator)
  • Strategy Pattern (ISourceAnalyzer)
  • Visitor Pattern (SyntaxWalkers)
  • Repository Pattern
  • Custom Auth Handler (API Key)

REST endpoints

Method Path Description
GET /api/forge/projects List projects
POST /api/forge/projects Create project
POST /api/forge/projects/{id}/analyze Analyze project
POST /api/forge/projects/{id}/generate Generate MCP server
GET /api/forge/generated/{projectId} Generated servers
DELETE /api/forge/projects/{id} Delete project
Available for remote work

Let's
talk?

Open to remote .NET opportunities. Reply within 24h.