pid_controller
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agentic PID Tuner (via MCP)
An interactive, real-time PID controller dashboard integrated with the Model Context Protocol (MCP). This project allows AI agents (like Claude) to actively read, analyze, and tune a simulated control loop using natural language commands, with changes reflecting instantly in the web browser.

โจ Features
Real-time Web Dashboard: Adjust $K_p$, $K_i$, and $K_d$ gains manually using UI sliders.
Live Waveform Visualization: See overshoot, settling time, and system response instantly (powered by
simple-pidandmatplotlib).AI-Agent Control: Includes an MCP server that exposes tools for LLMs to read current gains and push new ones.
Bi-directional Sync: If you move a slider, the AI sees the new value. If the AI changes a value, your browser updates automatically within 1 second.
Related MCP server: Agent Team MCP Server
๐ ๏ธ Prerequisites
Python 3.8+
Claude or Cursor Desktop App (for MCP integration)
๐ Installation
Clone the repository:
gh repo clone SuriyaMurthy/agentic-pid-controller
cd agentic-pid-controller
Create and activate a virtual environment:
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Mac/Linux:
source .venv/bin/activate
Install dependencies:
pip install -r requirements.txt
๐ฎ Usage
1. Start the Web Dashboard
Run the Flask server to host the simulation and web interface:
python app.py
Open your browser and navigate to http://127.0.0.1:5000.
2. Connect to Claude Desktop (MCP)
To let Claude interact with your dashboard, add the MCP server to your Claude Desktop configuration.
Open your Claude Desktop config file:
Linux:
~/.cursor/mcp.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration. IMPORTANT: You must replace with the actual full paths on your computer!
{
"mcpServers": {
"pid_controller": {
"command": "/absolute/path/to/mcp-pid-tuner/.venv/bin/python3",
"args": [
"/absolute/path/to/mcp-pid-tuner/mcp_server_pid.py"
]
}
}
}
Note for Windows users: Use your .venv\Scripts\python.exe path and ensure backslashes are escaped (\\).
Restart Claude Desktop after saving the file.
3. Talk to the AI
With the Flask app running, open Claude Desktop. You can now use prompts like:
"Check the current PID parameters on my dashboard."
"The system has too much overshoot. Can you adjust the parameters to bring the overshoot below 5%?"
"Increase the proportional gain by 0.5 and tell me how it affects the settling time."
Watch the web dashboard automatically update as Claude tunes the system!
๐ Project Structure
app.py: The Flask web server, PID simulation loop, and API endpoints.mcp_server_pid.py: The FastMCP server that exposesget_pid_parametersandupdate_pid_parameterstools to the LLM over standard I/O.requirements.txt: Python dependencies (flask,mcp,simple-pid,matplotlib).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect your AI to your own devices, 3D printers, factory tools and a shared agent task pool.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Autonomous and governed SRE & MLOps control plane for AI agent platforms.
Live, editable canvas for AI agents โ author graphs via MCP, then watch and reroute runs live.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceGives AI agents real-time access to system metrics, process management, and container orchestration.-
- AlicenseNot gradedqualityDmaintenanceEnables real-time communication and orchestration of multiple AI agents with a web dashboard for monitoring agent activities, tasks, and artifacts.MIT
- AlicenseAqualityDmaintenanceLets AI agents visually inspect web elements, test CSS edits in real-time, and iterate until pixel-perfect, functioning like browser DevTools for debugging UI issues.11MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create interactive charts, diagrams, and tables displayed on a real-time dashboard, supporting multiple data sources with privacy-focused local execution.1MIT