OPCFoundation.NetStandard.Opc.Ua.Mcp 2.0.0-preview.4

Prefix Reserved
This is a prerelease version of OPCFoundation.NetStandard.Opc.Ua.Mcp.

                    
dotnet tool install --global OPCFoundation.NetStandard.Opc.Ua.Mcp --version 2.0.0-preview.4
                    
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 OPCFoundation.NetStandard.Opc.Ua.Mcp --version 2.0.0-preview.4
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=OPCFoundation.NetStandard.Opc.Ua.Mcp&version=2.0.0-preview.4&prerelease
                    
nuke :add-package OPCFoundation.NetStandard.Opc.Ua.Mcp --version 2.0.0-preview.4
                    

OPC UA MCP Server

A Model Context Protocol (MCP) server that exposes OPC UA Part 4 service calls as MCP tools, enabling AI assistants (Claude, GitHub Copilot, VS Code, etc.) to interact with OPC UA servers.

Run without installing (.NET 10 SDK)

dotnet tool exec "OPCFoundation.NetStandard.Opc.Ua.Mcp@2.0.0-preview.*"

# Short form
dnx "OPCFoundation.NetStandard.Opc.Ua.Mcp@2.0.0-preview.*"

Install globally

dotnet tool install --global OPCFoundation.NetStandard.Opc.Ua.Mcp --prerelease

Profile availability in 2.0.0-preview.3: the public tool package includes core, services, administration, pubsub, diagnostics, robotics, and full, but not vision. Run the current source when you need vision or a composed vision,robotics profile until a later preview includes Opc.Ua.Mcp.Vision.

Usage

The examples below assume a global installation. For run-on-demand use, replace opcua-mcp with dnx "OPCFoundation.NetStandard.Opc.Ua.Mcp@2.0.0-preview.*" --.

# stdio transport (default) — for Claude Desktop, VS Code, Copilot
opcua-mcp

# Streamable HTTP transport (exposed only at /mcp) — for remote clients
opcua-mcp --transport http --port 5100

# --transport sse is a deprecated alias for --transport http

Tools

The server exposes tools through a tool profile — a bounded, named catalog selected with --profile core|services|administration|pubsub|diagnostics|robotics|vision|full. Profiles can be composed, for example --profile vision,robotics. full is the default; the other profiles expose smaller focused subsets. See the full documentation for the profile-to-tool mapping.

Tools in the full profile cover all OPC UA Part 4 service sets:

  • Connection: Connect, Disconnect, GetConnectionStatus
  • Attribute: Read, Write, HistoryRead, HistoryUpdate
  • View: Browse, BrowseNext, TranslateBrowsePaths, RegisterNodes, UnregisterNodes, QueryFirst, QueryNext
  • Node Management: AddNodes, AddReferences, DeleteNodes, DeleteReferences
  • Method: Call
  • Subscription: CreateSubscription, ModifySubscription, SetPublishingMode, Publish, Republish, DeleteSubscriptions, TransferSubscriptions
  • MonitoredItem: CreateMonitoredItems, ModifyMonitoredItems, SetMonitoringMode, SetTriggering, DeleteMonitoredItems
  • Discovery: FindServers, FindServersOnNetwork, GetEndpoints, RegisterServer, RegisterServer2
  • Convenience: ReadValue, ReadValues, WriteValue, BrowseAll, CallMethod, ReadNode, Cancel
  • Robotics: typed Robot Intent control and missions, paged monitoring, bounded operation/mission waits, and same-session robotics_vision_pick
  • Vision: image capture, structured one-shot inference, result monitoring, feedback and frame-graph composition

Embedding

The tools also ship as libraries, so an application can offer OPC UA tools to an LLM alongside its own without forking this server:

builder.Services.AddOpcUaMcpCore();

builder.Services.AddMcpServer()
    .WithStdioServerTransport()
    .WithOpcUaMcpFilters()
    .WithOpcUaCoreTools(McpToolProfile.Services)
    .WithTools<MyApplicationTools>();
Package Tools
OPCFoundation.NetStandard.Opc.Ua.Mcp.Core Part 4 services, connection, configuration, PKI, NodeSet export
OPCFoundation.NetStandard.Opc.Ua.Mcp.PubSub PubSub runtime, actions, discovery
OPCFoundation.NetStandard.Opc.Ua.Mcp.Diagnostics UA-TCP capture, decode, replay
OPCFoundation.NetStandard.Opc.Ua.Mcp.PubSub.Diagnostics PubSub capture, decode
OPCFoundation.NetStandard.Opc.Ua.Mcp.Robotics Robot Intent control, missions, waits and Vision-guided Pick
OPCFoundation.NetStandard.Opc.Ua.Mcp.Vision Vision discovery, seeing, inference, feedback and geometry

Documentation

See the full documentation.

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
2.0.0-preview.4 36 9/2/2026
2.0.0-preview.3 68 8/28/2026
2.0.0-preview.2 61 8/24/2026