What are the runtime dependencies for MCPSharp?
MCPSharp requires any version of .NET that supports .NET Standard 2.0.
@afrise
基本信息
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.
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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>()`.

Agent-Native Terminal

Free, public vulnerability feed for coding agents. One deduplicated entry per CVE, GHSA or OSV id, merged from the CVE List, GitHub Advisories, OSV, NVD, CISA KEV, EPSS and Exploit-DB. check_stack scans a lockfile for kn

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP

MilliGate is a developer-first remote MCP server that functions as a secure crypto paywall. By leveraging the HTTP 402 (Payment Required) protocol, it allows developers to monetize AI agents, APIs, and digital infrastruc
评论