ThinkPLC-MCP
Enables programmatic control and monitoring of SIEMENS PLC S7-1500/1200 controllers via their JSON-RPC 2.0 API, including authentication, tag browsing and reading/writing, operating mode management, system time control, alarm handling, and diagnostic buffer access.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ThinkPLC-MCPread the current temperature from sensor tag DB1.DBD10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ThinkPLC-MCP
ThinkPLC-MCP is a server designed to interface with SIEMENS PLC S7-1500/1200 using their JSON-RPC 2.0 API. It exposes API functionalities as MCP tools, enabling AI assistants and other MCP-compatible clients to interact with the PLC programmatically.
🔧 Features
Connects to a SIEMENS PLC API (Webserver) endpoint
Provides MCP tools for:
✅ User authentication (
login,logout,ChangePassword-user)✅ Check PLC connectivity (
ping)✅ Retrieve user permissions via
Api-GetPermissionsafter login✅ Get API version with
Api-Version✅ List available API methods using
Api-Browse✅ Retrieve structure information with
Api-GetQuantityStructures✅ Get password security policies with
Api-GetPasswordPolicy✅ Browse tags and metadata using
PlcProgram-Browse✅ Read single variables via
PlcProgram-Read✅ Write Boolean, Number, or String tags with
PlcProgram-Write-*✅ Read the current CPU operating mode with
Plc-ReadOperatingMode✅ Request a change of operating mode using
Plc-RequestChangeOperatingMode✅ Read the CPU system time (
Plc-ReadSystemTime)✅ Set the CPU system time (
Plc-SetSystemTime)✅ Read available project languages (
Project-ReadLanguages)✅ Browse active alarms (
Alarms-Browse)✅ Acknowledge alarms (
Alarms-Acknowledge)✅ Browse diagnostic buffer entries (
DiagnosticBuffer-Browse)
🔄 Optional: automatic service account login with token refresh
Related MCP server: OPC UA MCP Server
⚙️ Prerequisites
Node.js (v18.x or later recommended)
npm (comes bundled with Node.js)
Access to a running SIEMENS PLC API (Webserver)
⚙️ Configuration
This server uses a config.js file written in ES Module syntax.
Example config.js:
export const config = {
URL: "https://<PLC-IP-Address>/api/jsonrpc", // required
userName: "your-username", // optional
pwr: "your-password", // optional
};🚀 Getting Started
Navigate to the project folder:
cd your-project-directoryInstall dependencies:
npm installEdit config.js as shown above.
Start the server
node start🖥️ Connecting with Claude Desktop
To use this MCP server with Claude AI (desktop version):
Find or create the claude_desktop_config.json file (typically in the Claude app config folder).
Add or update the following:
{
"mcpServers": {
"ThinkPLC-MCP": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:5000/mcp"]
}
}
}Ensure @modelcontextprotocol/tools is installed:
npm install -g @modelcontextprotocol/toolsThis server cannot be deployed
Maintenance
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
- PlixanaOAuthcom.plixana
Operate the Plixana CRM from any AI: contacts, deals, quotes, WhatsApp and metrics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with SIEMENS WinCC Unified SCADA systems through their GraphQL API, supporting operations like reading/writing tag values, browsing objects, querying historical data, and managing alarms.12GPL 3.0
- AlicenseNot gradedqualityDmaintenanceConnects AI agents to OPC UA-enabled industrial systems for real-time monitoring and control of operational data. It enables users to read, write, and browse industrial device nodes through natural language interactions.MIT
- FlicenseNot gradedqualityAmaintenanceMCP server that connects AI assistants to Siemens TIA Portal via the Openness API. AI-assisted PLC programming, project management, hardware configuration, cross-reference analysis, and deployment. 19 tools, 230 actions.35-
- AlicenseBqualityCmaintenanceEnables MCP clients to connect to and interact with Siemens PLCs via python-snap7, supporting read/write operations on data blocks, memory, timers, counters, and CPU management.22MIT