SharpNinja.McpServer.Client
0.2.96
dotnet add package SharpNinja.McpServer.Client --version 0.2.96
NuGet\Install-Package SharpNinja.McpServer.Client -Version 0.2.96
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpNinja.McpServer.Client" Version="0.2.96" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpNinja.McpServer.Client" Version="0.2.96" />
<PackageReference Include="SharpNinja.McpServer.Client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SharpNinja.McpServer.Client --version 0.2.96
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SharpNinja.McpServer.Client, 0.2.96"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SharpNinja.McpServer.Client@0.2.96
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SharpNinja.McpServer.Client&version=0.2.96
#tool nuget:?package=SharpNinja.McpServer.Client&version=0.2.96
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SharpNinja.McpServer.Client
Typed REST client for McpServer — the MCP context server for AI agent integration.
Installation
dotnet add package SharpNinja.McpServer.Client
Quick Start
With Dependency Injection (recommended)
builder.Services.AddMcpServerClient(options =>
{
options.BaseUrl = new Uri("http://localhost:7147");
options.ApiKey = "your-api-key"; // optional
});
// Inject McpServerClient anywhere
public class MyService(McpServerClient mcp)
{
public async Task Example()
{
var todos = await mcp.Todo.QueryAsync();
var results = await mcp.Context.SearchAsync("authentication");
}
}
Without DI
var client = McpServerClientFactory.Create(new McpServerClientOptions
{
BaseUrl = new Uri("http://localhost:7147"),
});
var todos = await client.Todo.QueryAsync();
Available Clients
| Client | Description |
|---|---|
Todo |
Query, create, update, delete TODO items |
Context |
Semantic + full-text hybrid search, context packs |
SessionLog |
Submit and query agent session logs |
Repo |
Read, write, and list repository files |
GitHub |
Issues, PRs, labels, bidirectional sync |
Workspace |
Manage workspace lifecycle |
Tools |
Tool registry search, CRUD, bucket management |
AgentPool |
Pooled agent lifecycle, one-shot queueing, and SSE monitoring |
Target Framework
net9.0
| Product | Versions 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.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Http (>= 9.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.96 | 74 | 5/17/2026 |