Ananke.MCP 0.7.2

dotnet add package Ananke.MCP --version 0.7.2
                    
NuGet\Install-Package Ananke.MCP -Version 0.7.2
                    
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="Ananke.MCP" Version="0.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ananke.MCP" Version="0.7.2" />
                    
Directory.Packages.props
<PackageReference Include="Ananke.MCP" />
                    
Project file
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 Ananke.MCP --version 0.7.2
                    
#r "nuget: Ananke.MCP, 0.7.2"
                    
#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 Ananke.MCP@0.7.2
                    
#: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=Ananke.MCP&version=0.7.2
                    
Install as a Cake Addin
#tool nuget:?package=Ananke.MCP&version=0.7.2
                    
Install as a Cake Tool

Ananke.MCP

NuGet License

MCP (Model Context Protocol) integration for Ananke — expose ToolKit tools and Workflow executions as MCP server capabilities, and import tools from external MCP servers into ToolKit for agent use. Supports stdio and HTTP transports via the official C# MCP SDK.

Install

dotnet add package Ananke.MCP

Quick start

Consume tools from an MCP server

await using var client = await McpClient.CreateAsync(
    new StdioClientTransport(new StdioClientTransportOptions
    {
        Command = "npx", Arguments = ["-y", "@modelcontextprotocol/server-everything"]
    }));

var toolkit = await new ToolKit("remote")
    .AddMcpServerToolsAsync(client);

// Every tool from the remote server is now a ToolDefinition —
// use it in any AgentJob workflow exactly like local tools.

Expose tools as an MCP server

var toolkit = new ToolKit("stock")
    .AddTool("get_price", "Gets the stock price", GetPrice, "symbol", "Ticker symbol");

builder.Services.AddMcpServer(options => { options.ServerName = "my-server"; })
    .WithAnankeTools(toolkit);

Expose a workflow

builder.Services.AddMcpServer(options => { options.ServerName = "my-server"; })
    .WithAnankeWorkflow(
        name:         "run_pipeline",
        description:  "Runs the ETL pipeline and returns results",
        workflow:     etlWorkflow,
        stateFactory: args => new PipelineState { Input = args["input"].GetString()! });

Features

  • MCP clientAddMcpServerToolsAsync(IMcpClient) discovers remote tools and bridges them into ToolKit / ToolDefinition for transparent agent use
  • MCP server — register any ToolKit or Workflow<T> as MCP server capabilities
  • Supports both stdio and HTTP transports
  • Compatible with Claude Desktop, VS Code Copilot, and any MCP client

Requirements

  • Ananke.Orchestration (transitive)
  • ModelContextProtocol SDK ≥ 1.0.0

Documentation

Full docs, demos, and architecture: github.com/sevensamurai/Ananke

License

Apache 2.0

Product 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.

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.7.2 84 4/12/2026
0.7.1 77 4/11/2026
0.7.0 81 4/11/2026
0.6.0 85 4/10/2026
0.5.0 86 4/5/2026
0.4.0 80 4/3/2026
0.3.0 97 3/15/2026
0.2.0 89 3/6/2026
0.1.0 90 3/3/2026