
Other Tools
v1.0.0
active
dotnet-mcp-server-blueprint
io.github.RazvanApps/dotnet-mcp-server-blueprint
Production .NET 10 MCP server blueprint with stdio & HTTP transports and trust-boundary tools.
Documentation
.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:
- Build a Production-Ready MCP Server in C#: Tools, Trust, and Transport
- Inside the Official MCP Registry: A Supply Chain for AI Tools
Architecture Highlights
- Dual Transport Support:
- Standard I/O (
stdio) by default for local desktop/IDE hosts (Claude Code,Antigravity,Cursor,VS Code), with strictstderr-only diagnostics sostdoutstays pure JSON-RPC. - Streamable HTTP (
--http/MCP_TRANSPORT=http) exposing/mcpalongside/healthfor containerized or remote deployments.
- Standard I/O (
- 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).
- Explicit
- Registry-Ready Supply Chain:
- Packaged as a cross-platform .NET tool (
RazvanApps.McpServer.Blueprint). - Ships valid
server.jsonfor the Official MCP Registry andglama.json+ multi-stageDockerfilefor Glama.ai.
- Packaged as a cross-platform .NET tool (
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
NUGET
RazvanApps.McpServer.BlueprintInstall Command
# nuget: RazvanApps.McpServer.Blueprint