RazvanApps.McpServer.Blueprint 1.0.1

dotnet tool install --global RazvanApps.McpServer.Blueprint --version 1.0.1
                    
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 RazvanApps.McpServer.Blueprint --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RazvanApps.McpServer.Blueprint&version=1.0.1
                    
nuke :add-package RazvanApps.McpServer.Blueprint --version 1.0.1
                    

.NET 10 MCP Server Blueprint

A production-ready reference implementation of a Model Context Protocol (MCP) server built on .NET 10 and the official C# SDK (ModelContextProtocol & ModelContextProtocol.AspNetCore).

Designed as an end-to-end companion to:


Architecture Highlights

  • Dual Transport Support:
    • Standard I/O (stdio) by default for local desktop/IDE hosts (Claude Code, Antigravity, Cursor, VS Code), with strict stderr-only diagnostics so stdout stays pure JSON-RPC.
    • Streamable HTTP (--http / MCP_TRANSPORT=http) exposing /mcp alongside /health for containerized or remote deployments.
  • Typed Domain Logic & Tool Annotations:
    • Explicit [McpServerTool(ReadOnly = true, Idempotent = true, Destructive = false, OpenWorld = false)] capabilities.
    • Three deterministic governance tools: evaluate_mcp_trust_boundary, validate_server_manifest, generate_tool_policy_summary.
    • Built-in resource (architecture://mcp/checklist) and prompt (mcp_security_review).
  • Registry-Ready Supply Chain:
    • Packaged as a cross-platform .NET tool (RazvanApps.McpServer.Blueprint).
    • Ships valid server.json for the Official MCP Registry and glama.json + multi-stage Dockerfile for Glama.ai.

Quick Start

Run via .NET Tool (stdio)

dotnet tool install --global RazvanApps.McpServer.Blueprint
razvanapps-mcp-blueprint

Run locally over Streamable HTTP

dotnet run --project src/RazvanApps.McpServer.Blueprint -- --http

MCP endpoint: http://localhost:5000/mcp
Health endpoint: http://localhost:5000/health

Client Configuration (mcp.json)

{
  "mcpServers": {
    "razvanapps-mcp-blueprint": {
      "command": "razvanapps-mcp-blueprint"
    }
  }
}

Verification

dotnet test -c Release
dotnet pack src/RazvanApps.McpServer.Blueprint -c Release -o ./artifacts

License

MIT — Răzvan Mareș (RazvanApps)

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.0.1 118 11/20/2026
1.0.0 113 11/20/2026