Topwater.Mcp
0.1.0-preview.10
dotnet add package Topwater.Mcp --version 0.1.0-preview.10
NuGet\Install-Package Topwater.Mcp -Version 0.1.0-preview.10
<PackageReference Include="Topwater.Mcp" Version="0.1.0-preview.10" />
<PackageVersion Include="Topwater.Mcp" Version="0.1.0-preview.10" />
<PackageReference Include="Topwater.Mcp" />
paket add Topwater.Mcp --version 0.1.0-preview.10
#r "nuget: Topwater.Mcp, 0.1.0-preview.10"
#:package Topwater.Mcp@0.1.0-preview.10
#addin nuget:?package=Topwater.Mcp&version=0.1.0-preview.10&prerelease
#tool nuget:?package=Topwater.Mcp&version=0.1.0-preview.10&prerelease
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 | Versions 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. |
-
net10.0
- ModelContextProtocol.Core (>= 2.4.0)
- Topwater (>= 0.1.0-preview.10)
-
net8.0
- ModelContextProtocol.Core (>= 2.4.0)
- Topwater (>= 0.1.0-preview.10)
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.10 | 51 | 12/1/2026 |
| 0.1.0-preview.9 | 383 | 11/30/2026 |
| 0.1.0-preview.8 | 121 | 11/29/2026 |
| 0.1.0-preview.7 | 83 | 11/28/2026 |
| 0.1.0-preview.6 | 72 | 11/28/2026 |
| 0.1.0-preview.5 | 82 | 11/27/2026 |
| 0.1.0-preview.4 | 62 | 11/26/2026 |
| 0.1.0-preview.3 | 68 | 11/26/2026 |
| 0.1.0-preview.2 | 64 | 11/25/2026 |
| 0.1.0-preview.1 | 65 | 11/25/2026 |