Topwater.Mcp 0.1.0-preview.9

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

Topwater.Mcp

Mount any MCP server as one command-line program inside a Topwater shell. The model discovers tools with --help instead of loading every tool definition up front, and pipes results into jq like any program.

dotnet add package Topwater.Mcp --prerelease
using Topwater;
using Topwater.Mcp;

var shell = new Shell();
await using var files = await shell.MountMcpAsync("files", "npx", ["-y", "@modelcontextprotocol/server-filesystem", "/data"]);

What the agent types:

files --help                          # lists the tools
files read-file --help                # options built from the tool's JSON Schema
files read-file --path /data/a.txt    # calls the tool; the result goes to stdout

Numbers, required options and unknown options are checked before the call. Calls are real, so expose only what you would let the agent do. A tool the server marks destructiveHint: true (this server's write_file, edit_file and move_file) waits for ShellOptions.EffectApprover on every call, and mounting it in a shell without an approver throws; McpMountOptions.RequiresApproval or Include decide per tool instead. See MCP servers.

To go the other way, giving an MCP client (Claude Desktop, VS Code, Cursor, ...) a Topwater shell as its bash tool, run topwater mcp from the Topwater.Cli package.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.1.0-preview.9 0 11/30/2026
0.1.0-preview.8 50 11/29/2026
0.1.0-preview.7 70 11/28/2026
0.1.0-preview.6 61 11/28/2026
0.1.0-preview.5 70 11/27/2026
0.1.0-preview.4 51 11/26/2026
0.1.0-preview.3 58 11/26/2026
0.1.0-preview.2 55 11/25/2026
0.1.0-preview.1 55 11/25/2026