pid_controller
Agentic PID Tuner (via MCP)
Model Context Protocol (MCP) と統合された、インタラクティブでリアルタイムのPIDコントローラーダッシュボードです。このプロジェクトにより、AIエージェント(Claudeなど)は自然言語コマンドを使用してシミュレーションされた制御ループを能動的に読み取り、分析し、調整することができ、変更はWebブラウザに即座に反映されます。

✨ 特徴
リアルタイムWebダッシュボード: UIスライダーを使って $K_p$, $K_i$, $K_d$ ゲインを手動で調整できます。
ライブ波形ビジュアライゼーション: オーバーシュート、整定時間、システム応答を即座に確認できます(
simple-pidとmatplotlibを使用)。AIエージェント制御: LLMが現在のゲインを読み取り、新しい値をプッシュするためのツールを公開するMCPサーバーが含まれます。
双方向同期: スライダーを動かすと、AIは新しい値を認識します。AIが値を変更すると、ブラウザは1秒以内に自動更新されます。
Related MCP server: agentic-mcp-server
🛠️ 前提条件
Python 3.8+
Claude または Cursor Desktop App(MCP統合用)
🚀 インストール
リポジトリをクローンします:
gh repo clone SuriyaMurthy/agentic-pid-controller
cd agentic-pid-controller
仮想環境を作成して有効化します:
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Mac/Linux:
source .venv/bin/activate
依存関係をインストールします:
pip install -r requirements.txt
🎮 使用方法
1. Webダッシュボードを起動する
シミュレーションとWebインターフェースをホストするFlaskサーバーを実行します:
python app.py
ブラウザを開いて http://127.0.0.1:5000 にアクセスしてください。
2. Claude Desktop(MCP)に接続する
Claudeがダッシュボードとやり取りできるようにするには、MCPサーバーをClaude Desktopの設定に追加します。
Claude Desktopの設定ファイルを開きます:
Linux:
~/.cursor/mcp.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
次の設定を追加します。重要: ご使用のコンピューター上の実際のフルパスに置き換えてください!
{
"mcpServers": {
"pid_controller": {
"command": "/absolute/path/to/mcp-pid-tuner/.venv/bin/python3",
"args": [
"/absolute/path/to/mcp-pid-tuner/mcp_server_pid.py"
]
}
}
}
Windowsユーザー向けの注意: .venv\Scripts\python.exe のパスを使用し、バックスラッシュをエスケープしてください(\\)。
ファイルを保存したら、Claude Desktopを再起動してください。
3. AIと対話する
Flaskアプリを起動した状態で、Claude Desktopを開きます。次のようなプロンプトを使用できます:
"ダッシュボードの現在のPIDパラメータを確認してください。"
"システムのオーバーシュートが大きすぎます。オーバーシュートを5%未満にするようにパラメータを調整できますか?"
"比例ゲインを0.5上げて、整定時間にどのような影響があるか教えてください。"
Claudeがシステムを調整するにつれて、Webダッシュボードが自動的に更新される様子を確認してください!
📂 プロジェクト構造
app.py: Flask Webサーバー、PIDシミュレーションループ、およびAPIエンドポイント。mcp_server_pid.py: 標準I/Oを介してget_pid_parametersとupdate_pid_parametersツールをLLMに公開するFastMCPサーバー。requirements.txt: Pythonの依存関係(flask、mcp、simple-pid、matplotlib)。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Analytics your AI agent can actually use. Track, experiment, and optimize via MCP.
Connect, monitor, and control AI agents — tasks, approvals, schedules, and governance.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceGives AI agents real-time access to system metrics, process management, and container orchestration.-
- FlicenseNot gradedqualityDmaintenanceReal-time observability dashboard for monitoring AI agents in multi-agent development workflows, with live WebSocket updates of tool calls, sessions, and usage statistics.-
- 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.1121MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SuriyaMurthy/agentic-pid-controller'
If you have feedback or need assistance with the MCP directory API, please join our Discord server