Opc.Classic.Mcp 0.4.1-alpha

This is a prerelease version of Opc.Classic.Mcp.
There is a newer prerelease version of this package available.
See the version list below for details.
{
  "servers": {
    "Opc.Classic.Mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": ["Opc.Classic.Mcp@0.4.1-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.4.1-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.4.1-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Opc.Classic.Mcp&version=0.4.1-alpha&prerelease
                    
nuke :add-package Opc.Classic.Mcp --version 0.4.1-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>).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.4.3-alpha.1 0 11/17/2026
0.4.3-alpha 81 10/26/2026
0.4.2-alpha 108 10/12/2026
0.4.1-alpha 164 8/29/2026
0.4.0-alpha 218 7/16/2026
0.3.0-alpha 210 7/14/2026
0.2.0-alpha 218 7/13/2026
0.1.0-alpha 224 7/9/2026