What are the runtime dependencies for MCPSharp?
MCPSharp requires any version of .NET that supports .NET Standard 2.0.
@afrise
Basic information
MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models.
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients, the standardized API protocol used by AI assistants and models. It allows you to create MCP-compliant tools and functions, connect to MCP servers from C# code, and expose .NET methods as MCP endpoints using simple attributes.
Install the NuGet package with dotnet add package MCPSharp. Define a class and mark methods with the [McpTool] attribute, then start the server by calling MCPServer.StartAsync("serverName", "1.0.0"). Optionally, register tools from referenced libraries using MCPServer.Register<T>().
[McpTool], [McpResource])MCPSharp requires any version of .NET that supports .NET Standard 2.0.
Create a class and mark a method with the `[McpTool]` attribute, optionally providing a name and description. Use `[McpParameter]` to specify parameter metadata.
Yes. Mark methods with `[KernelFunction]` and `[Description]`, then register the class with `MCPServer.Register<T>()`. The server will expose those methods as MCP tools.
On the client side, call `client.GetFunctionsAsync()` to obtain a list of `AIFunction` objects that can be plugged into `ChatOptions.Tools` for any `IChatClient` implementation.
Yes. The `[McpFunction]` attribute is deprecated and replaced with `[McpTool]`. Also, use `MCPServer.Register<T>()` instead of the deprecated `MCPServer.RegisterTool<T>()`.
OrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.

Open-source Mac network diagnostics for AI agents and humans. Check connectivity, Wi-Fi, hotspots and traffic from the terminal or MCP.

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
Comments