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
Patterns & architecture
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 |