TimHeuer.SimpleMcpTool
1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global TimHeuer.SimpleMcpTool --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local TimHeuer.SimpleMcpTool --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TimHeuer.SimpleMcpTool&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package TimHeuer.SimpleMcpTool --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SimpleMcpTool ??
A simple .NET 9 command-line tool for Model Context Protocol (MCP) that demonstrates basic operations:
- Get today's date
- Add two numbers
Features ?
- get_today_date: Returns today's date in
YYYY-MM-DD
format. - add_numbers: Adds two numbers together and returns the sum. (Requires calling get_today_date first!)
Installation
You can install the tool as a .NET global tool (when published to NuGet):
dotnet tool install --global TimHeuer.SimpleMcpTool
Usage
Run the tool from the command line: simple-mcp-tool
Requirements
- .NET 9 SDK or later
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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 was computed. 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.
This package has no dependencies.