Opc.Classic.Mcp 0.1.0-alpha

This is a prerelease version of Opc.Classic.Mcp.
{
  "servers": {
    "Opc.Classic.Mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": ["Opc.Classic.Mcp@0.1.0-alpha", "--yes"]
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global Opc.Classic.Mcp --version 0.1.0-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Opc.Classic.Mcp --version 0.1.0-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
#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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.0-alpha 32 7/9/2026