Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Verify Local Dotnet Mcp Tool Contract?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-verify-local-dotnet-mcp-tool-contract)
---
name: "Expose one .NET operation and verify its local MCP tool contract"
slug: "verify-local-dotnet-mcp-tool-contract"
description: "Build a bounded C# stdio MCP tool, inspect its discovered schema, and check a harmless fixture through a separate client."
verification: "security_reviewed"
source: "https://github.com/modelcontextprotocol/csharp-sdk/blob/90476daf1dea358e5d689293afafdbf94d306ed7/docs/concepts/getting-started.md"
author: "Model Context Protocol"
publisher_type: "organization"
category: "Library & API Reference"
framework: "MCP"
---
# Expose one .NET operation and verify its local MCP tool contract
Build a bounded C# stdio MCP tool, inspect its discovered schema, and check a harmless fixture through a separate client.
## Prerequisites
.NET SDK, dotnet CLI, ModelContextProtocol NuGet package, Microsoft.Extensions.Hosting, local MCP client
## Installation
Install or set up from the source-backed instructions:
Create separate server and client console projects: dotnet new console -n AseMcpServer; dotnet new console -n AseMcpClient. Add ModelContextProtocol to both projects with dotnet add package ModelContextProtocol, and add Microsoft.Extensions.Hosting to AseMcpServer. Adapt the pinned guide to the local server, record resolved package versions, build both projects and run the client against the explicit local server path.
- Source: https://github.com/modelcontextprotocol/csharp-sdk/blob/90476daf1dea358e5d689293afafdbf94d306ed7/docs/concepts/getting-started.md
## Documentation
- https://github.com/modelcontextprotocol/csharp-sdk/blob/90476daf1dea358e5d689293afafdbf94d306ed7/docs/concepts/getting-started.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/verify-local-dotnet-mcp-tool-contract/)