OpenCodeDotNet.Mcp
0.1.0-preview.3
Prefix Reserved
{ "servers": { "OpenCodeDotNet.Mcp": { "type": "stdio", "command": "dnx", "args": ["-v", "minimal", "OpenCodeDotNet.Mcp@0.1.0-preview.3", "--yes", "--", "--transport", "stdio"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global OpenCodeDotNet.Mcp --version 0.1.0-preview.3
dotnet new tool-manifest
dotnet tool install --local OpenCodeDotNet.Mcp --version 0.1.0-preview.3
#tool dotnet:?package=OpenCodeDotNet.Mcp&version=0.1.0-preview.3&prerelease
nuke :add-package OpenCodeDotNet.Mcp --version 0.1.0-preview.3
OpenCode MCP
Unofficial. This project is not affiliated with or endorsed by the OpenCode team.
opencode-mcp is an MCP server for OpenCode, a thin adapter over the OpenCode .NET SDK.
An MCP client connects to it over the Model Context Protocol and uses its MCP tools.
The server runs over standard input and output by default, or as a loopback-only
Streamable HTTP endpoint on request. It offers one MCP tool, bootstrap_ping, a
connectivity probe that checks only the connection between the MCP client and this
server, not OpenCode or a model provider.
The native server needs no installed .NET runtime.
This is a pre-release.
Install the command for one version and start it:
dotnet tool install -g OpenCodeDotNet.Mcp --version <version>
opencode-mcp --transport stdio
Or let an MCP client start it on demand, with nothing installed beforehand:
dotnet dnx -v minimal OpenCodeDotNet.Mcp@<version> --yes -- --transport stdio
Both commands need the .NET 10 SDK and a published version. Installing OpenCodeDotNet.Mcp
selects the native implementation package for the machine; the installed command runs its native
executable directly and does not need the .NET runtime to run.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.3 | 87 | 11/21/2026 |
| 0.1.0-preview.2 | 105 | 11/15/2026 |