Opc.Classic.Mcp
0.1.0-alpha
{ "servers": { "Opc.Classic.Mcp": { "type": "stdio", "command": "dnx", "args": ["Opc.Classic.Mcp@0.1.0-alpha", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global Opc.Classic.Mcp --version 0.1.0-alpha
dotnet new tool-manifest
dotnet tool install --local Opc.Classic.Mcp --version 0.1.0-alpha
#tool dotnet:?package=Opc.Classic.Mcp&version=0.1.0-alpha&prerelease
nuke :add-package Opc.Classic.Mcp --version 0.1.0-alpha
Opc.Classic.Mcp
Opc.Classic.Mcp is the stdio Model Context Protocol server for Opc.Classic. It exposes the managed OPC Classic client stack as MCP tools so AI agents can discover servers, manage sessions, browse DA/AE/HDA models, read and write values, poll events and subscriptions, inspect Batch/Commands/Cpx metadata, manage DX configuration, use OPC Security, call XML-DA endpoints, and capture/decode OPC Classic DCOM traffic.
For the full user guide, architecture diagram, authentication notes, and client-specific setup snippets, see docs/mcp/README.md. For the current tool catalog, see docs\mcp\tools.md.
Install from NuGet
dotnet tool install --global Opc.Classic.Mcp
The installed command is:
opc-classic-mcp
Use that command in MCP clients that support stdio servers:
{
"mcpServers": {
"opc-classic": {
"command": "opc-classic-mcp"
}
}
}
MCP clients that support NuGet package acquisition can launch the package directly with dnx:
{
"servers": {
"opc-classic": {
"type": "stdio",
"command": "dnx",
"args": [
"Opc.Classic.Mcp",
"--version",
"<version>",
"--yes"
]
}
}
}
Run from source
dotnet run --project mcp\Opc.Classic.Mcp
A local MCP client can launch the source tree directly:
{
"servers": {
"opc-classic": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"mcp\\Opc.Classic.Mcp"
]
}
}
}
Package
dotnet pack mcp\Opc.Classic.Mcp\Opc.Classic.Mcp.csproj -c Release
The project is packaged as a .NET tool and MCP server package (<PackAsTool>true</PackAsTool>, <PackageType>McpServer</PackageType>, <ToolCommandName>opc-classic-mcp</ToolCommandName>).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha | 32 | 7/9/2026 |