TodoMcp
A simple MCP (Model Context Protocol) server for managing a todo list. Todos are stored as lines in a text file on your desktop.
Available Tools
| Tool | Description |
|---|---|
AddTodo |
Adds a new todo item to the list |
GetAllTodos |
Gets all todo items from the list |
Todos are saved to todos.txt on your desktop.
Installation
From NuGet (after publishing)
VS Code - create .vscode/mcp.json:```json
{
"servers": {
"TodoMcp": {
"type": "stdio",
"command": "dnx",
"args": ["TodoMcp", "--version", "0.1.0-beta", "--yes"]
}
}
}
**Visual Studio** - create `.mcp.json` in solution directory:```json
{
"servers": {
"TodoMcp": {
"type": "stdio",
"command": "dnx",
"args": ["TodoMcp", "--version", "0.1.0-beta", "--yes"]
}
}
}
From Source (local development)```json
{
"servers": {
"TodoMcp": {
"type": "stdio",
"command": "dotnet",
"args": ["run", "--project", "C:\path\to\TodoMcp\TodoMcp"]
}
}
}
## Build```bash
dotnet build
dotnet pack -c Release
Publish to NuGet```bash
dotnet nuget push bin/Release/*.nupkg --api-key <YOUR_API_KEY> --source https://api.nuget.org/v3/index.json
```
Supported Platforms
- Windows x64, ARM64
- macOS ARM64
- Linux x64, ARM64, musl-x64
Links
- MCP Official Documentation
- NuGet MCP Guide
- ModelContextProtocol C# SDK
