labmcp-modbus MCP
An MCP server for Modbus TCP/RTU devices that allows AI agents to read and control industrial hardware like PLCs, sensors, and PID controllers. It uses typed, scaled register maps defined in YAML or JSON, enforcing per-point limits and safe states to prevent out-of-range writes. The server supports read-only modes, audit logging, and simulation for testing without physical hardware.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Read and control Modbus devices over Ethernet or serial connections
- Define typed register maps with scaled units and per-point limits
- Enforce safe states and prevent out-of-range value writes
- Simulate Modbus devices for testing agent interactions
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
labmcp-modbus 0.1.3
{
"version": "0.1.3",
"transport": "stdio",
"identifier": "labmcp-modbus",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "LABMCP_ADDRESS",
"description": "Instrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025"
},
{
"name": "LABMCP_SIMULATE",
"description": "Set to 1 to use the built-in simulator (no hardware)"
},
{
"name": "LABMCP_READ_ONLY",
"description": "Set to 1 to disable all state-changing tools"
},
{
"name": "LABMCP_LIMITS",
"description": "Safety limit overrides, e.g. max_temperature_c=80"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"labmcp-modbus-mcp": {
"command": "uvx",
"args": [
"labmcp-modbus==0.1.3"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Cline
{
"mcpServers": {
"labmcp-modbus-mcp": {
"command": "uvx",
"args": [
"labmcp-modbus==0.1.3"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}VS Code
{
"servers": {
"labmcp-modbus-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"labmcp-modbus==0.1.3"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"labmcp-modbus-mcp": {
"command": "uvx",
"args": [
"labmcp-modbus==0.1.3"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Let your agent find its tools
Find servers like labmcp-modbus MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.