Sample .NET MCP Server
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sampledotnetmcpserver -- dnx TimHeuer.SampleDotnetMcpServer --yes~/.codex/config.toml
[mcp_servers.sampledotnetmcpserver]
command = "dnx"
args = ["TimHeuer.SampleDotnetMcpServer", "--yes"]
# codex mcp add sampledotnetmcpserver -- dnx TimHeuer.SampleDotnetMcpServer --yes~/.cursor/mcp.json
{
"mcpServers": {
"sampledotnetmcpserver": {
"command": "dnx",
"args": [
"TimHeuer.SampleDotnetMcpServer",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sampledotnetmcpserver": {
"type": "stdio",
"command": "dnx",
"args": [
"TimHeuer.SampleDotnetMcpServer",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sampledotnetmcpserver": {
"command": "dnx",
"args": [
"TimHeuer.SampleDotnetMcpServer",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sampledotnetmcpserver": {
"command": "dnx",
"args": [
"TimHeuer.SampleDotnetMcpServer",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sampledotnetmcpserver": {
"command": "dnx",
"args": [
"TimHeuer.SampleDotnetMcpServer",
"--yes"
]
}
}
}