AutoTuneMPC
com.autotunempc/autotunempc
Serveur MCP OK 11 outils
Constrained nonlinear MPC and Optuna tuning over HTTPS JSON.
Fiche technique
- Auteur
- autotunempc.com (espace de noms du registre)
- Dépôt
- github.com/kaiden8/autotunempc-examples
- Site
- autotunempc.com
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.autotunempc.com/mcp Streamable HTTP
- Outils
- 11
- Catégories
- —
- Dernière mise à jour
- 21 nov. 2026
- Publication
- 21 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/com.autotunempc/autotunempc)<a href="https://latlas.dev/mcp/com.autotunempc/autotunempc"><img src="https://latlas.dev/badge/statut/mcp/com.autotunempc/autotunempc.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.autotunempc/autotunempc)<a href="https://latlas.dev/mcp/com.autotunempc/autotunempc"><img src="https://latlas.dev/badge/fiche/com.autotunempc/autotunempc.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.autotunempc.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:49
- Temps de réponse
- 1 830 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- general-mpc-engine 4.2.1
- Outils
- 11
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:49 | OK | 1 830 ms | 11 |
Outils exposés (11, réponse à tools/list, 28 nov. 2026)
identify_discrete_plant
Identify a discrete plant
Fit a discrete linear A, B, and dt from logged (t, u, y) samples. This tool stays free when payment enforcement is on. It does not call IPOPT. Pass the returned matrices to ``solve_mpc`` as a linear system. Send 4 to 2000 samples. Each ``y`` has length 1..24 and each ``u`` has length 1..12, the same widths on every row, all finite, with strictly increasing timestamps. Anything else is rejected before the fit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Logged (t, u, y) samples for a free discrete linear fit. No X-API-Key and no x402 charge. Pass A, B, and dt to solve_mpc after a free validate_problem. |
validate_problem
Validate a problem
Free feasibility check. Call this first, then simulate, before any paid tool. This is POST /v1/validate. It stays free when payment enforcement is on. It does not use X-API-Key and it does not return HTTP 402. A failing check means the plant, bounds, or weights are not feasible. After it passes, call simulate to see closed-loop tracking. Call start_autotune_job at $1.50 only when those weights oscillate or miss the target.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Free. Call validate_problem first, then the free simulate tool, before any paid call. No X-API-Key and no x402 charge. |
simulate
Simulate a closed loop
Free closed-loop tracking check. Call validate_problem first. This is POST /v1/simulate. It stays free. The rollout shows whether the current weights track the reference. Call start_autotune_job at $1.50 when the motion oscillates or misses the target.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Free closed-loop rollout. No X-API-Key and no x402 charge. Call validate_problem first. Call start_autotune_job at $1.50 when the rollout oscillates or misses the target. |
solve_mpc
Solve MPC
Solve a multi-step constrained MPC problem on the server. Use this when the horizon has soft state bounds, hard input and slew limits, and an offset-free disturbance rejection term. Pass the same ``session_id`` on later calls of one closed loop so the shifted primal and dual warm start is restored. Omit ``session_id`` for a single stateless solve. Do not call this for a one-step linear update you can do locally (a matrix multiply, a threshold, or reading a sensor). Those do not need IPOPT. CasADi and IPOPT return u0 and the predicted trajectory for robotics, energy storage, and process control. session_id is the warm start. This is POST /v1/solve at $0.02. Send header X-API-Key when a $15 pack still has solve credits. With no key, or when those credits are gone, the call is HTTP 402 and an agent pays with x402. There is no second payment path. Set ``reset_warm_start`` or call the ``reset_warm_start`` tool to drop the seed for that session. The compiled solver stays. A reset only clears the seed stored for the caller who owns it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Paid constrained solve at $0.02. Send X-API-Key while the pack has solve credits, or pay HTTP 402 with x402 on Base USDC. Validate free first. Autotune is the later step when the weights are unknown. |
reset_warm_start
Reset warm start
Clear one session's shifted primal and dual. Next ``solve_mpc`` / ``POST /v1/solve`` with this ``session_id`` is cold. The compiled solver stays. Stateless calls omit ``session_id`` and already clear warm-start memory, so they do not use this tool.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| session_id | string | oui | Session id whose warm-start seed to drop. Required, and at most 128 characters. Free: it does not spend a credit. The compiled solver stays. The next solve_mpc with this id is a cold start. Clearing an unknown id changes nothing. |
start_autotune_job
Autotune weights
Paid at $1.50. Call free validate_problem and free simulate first. Call this when manual Q, R, Rd, and Qf oscillate or miss the target. Then poll ``get_autotune_job``. The tuner needs discrete or continuous linear matrices A and B, one of double_integrator, thermal_rc_zone, soil_moisture_cascade, cart_pendulum, unicycle_kinematics, gravity_tank, icr_skid_steer, and ackermann, or a kind expression plant with one allowlisted scalar expression per state row. Expressions outside that allowlist are rejected. Optional h rows and fixed obstacle slots, path-frame residuals, and zone bands are accepted. Call this when the weights are unknown and you can afford a closed-loop study with plant mismatch. Optuna tunes Q, R, Rd, and Qf on the single scenario in the request and reports overshoot and settling time. There is no scenario bank and no never-worse check: the result is the best trial of that study, not a comparison with weights you already have. It is an alternative to manual PID or hand-tuned MPC. The reply is a ``job_id``. When payment enforcement is on it also includes a ``job_token`` for ``get_autotune_job``. It does not contain the weights. Poll until ``status`` is ``complete`` or ``failed``. The finished result's ``Q``, ``R``, ``Rd``, and ``Qf`` are the physical weights. ``normalized_Q`` and its siblings are the unitless search box. Payment settles when the job is accepted onto the queue, not when the study finishes. This is POST /v1/autotune at $1.50. Send header X-API-Key…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Paid at $1.50. Call free validate_problem and free simulate first. Call this when the weights oscillate or miss the target. Send X-API-Key or pay the HTTP 402 with x402 on Base USDC. Poll get_autotune_job with the returned job_id. |
get_autotune_job
Read an autotune job
Read one autotune job started by ``start_autotune_job``. ``status`` is ``running``, ``complete``, or ``failed``. On ``complete``, ``result`` holds the Pareto-best weights, overshoot, settling time, RMSE, and solve time. ``pareto_profiles`` names up to three points already evaluated (tight tracking, balanced, smooth) and ``pareto_points`` is the plot cloud. The top-level ``Q``, ``R``, ``Rd``, and ``Qf`` stay the study winner. Poll again while it is ``running``. When payment enforcement is on, pass the ``job_token`` from the start call or the ``X-Job-Token`` header. A failed job reports ``autotune_failed``.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_id | string | oui | Job id returned by start_autotune_job. |
| job_token | string | null | non | Token returned with the job when payment enforcement is on. Omit it when the X-Job-Token header carries the same token. This poll is free and does not spend a credit. |
autotune_root_zone_irrigation
Autotune root-zone irrigation
Tune valve weights for the three-layer root-zone irrigation template. Same payment as autotune_template: X-API-Key spends 1 autotune credit, and a missing key or an empty pack is HTTP 402 for x402. The default study is physics-v1. Pass study_version published to run the older scenario.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| max_trials | integer | non | Optuna trials for the root-zone irrigation plant. Default 20. Values below 1 are raised to 1. Paid at $2.00: X-API-Key spends 1 autotune credit, or HTTP 402 is x402 Base USDC. Each call starts a new study. |
| study_version | string | null | non | Omit for physics-v1 (start [0.17, 0.22, 0.22], horizon 9). published keeps the older start-on-reference horizon 24 scenario. |
autotune_battery_peak_shaving
Autotune battery peak shaving
Tune charge power weights for the battery peak-shaving template. Same payment as autotune_template: X-API-Key spends 1 autotune credit, and a missing key or an empty pack is HTTP 402 for x402.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| max_trials | integer | non | Optuna trials for the battery peak-shaving plant. Default 20. Values below 1 are raised to 1. Paid at $2.00: X-API-Key spends 1 autotune credit, or HTTP 402 is x402 Base USDC. Each call starts a new study. |
autotune_embedded_controller_with_c_codegen
Autotune an embedded controller
Tune a linear plant and write a zero-heap C99 bundle. The reply's ``codegen`` object lists ``mpc_bundle.h`` and ``mpc_bundle.c`` plus ``usage_example_c`` and ``controller_kind``. A linear plant is a condensed QP (``linear_qp``). A nonlinear plant, including differential drive, is a linearized iteration (``linearized_rti``): one Jacobian of ``f`` at the current ``(x, u, d)``, then projected-gradient steps. That is not a full nonlinear SQP and not acados SQP-RTI. The exported acados controller is a real SQP; ``SQP_RTI`` is that backend's one-quadratic-program-per-tick mode. Compile with ``gcc -O3 -std=c99 -Wall -Wextra -fPIC -shared -lm``. Each control step is ``mpc_compute_u0`` then, after the plant measurement, ``mpc_observer_update``. Neither function allocates on the heap. ``MPC_NX``, ``MPC_NU``, ``MPC_ND``, and ``MPC_HORIZON`` in the header are the array sizes. Same payment as autotune_template: X-API-Key spends 1 autotune credit, and a missing key or an empty pack is HTTP 402 for x402.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| max_trials | integer | non | Optuna trials before the C99 bundle is written. Default 1. Values below 1 are raised to 1. Paid at $2.00: X-API-Key spends 1 autotune credit, or HTTP 402 is x402 Base USDC. Each call starts a new study and writes a new bundle. |
autotune_template
Autotune a template
Tune differential_drive, battery_peak_shaving, or root_zone_irrigation. This is POST /v1/templates/autotune at $2.00. The name is differential_drive, battery_peak_shaving, or root_zone_irrigation. The reply returns tuned Q, R, Rd, and Qf. Send name and max_trials. Send header X-API-Key when a $15 pack still has autotune credits. One call spends 1 of those credits. With no key, or when the credits are gone, the call is HTTP 402 and an agent pays with x402. The reply returns the tuned weights for that template. Payment uses the same gate as the HTTP route.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request | object | oui | Paid template tune at $2.00 for differential_drive, battery_peak_shaving, or root_zone_irrigation. Send X-API-Key (spends 1 autotune credit) or pay HTTP 402 with x402 on Base USDC. Validate a custom plant free first; these three names are built in. Each call starts a new study. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.autotunempc.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http autotunempc https://api.autotunempc.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : autotunempc ; URL : https://api.autotunempc.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : autotunempc ; Server URL : https://api.autotunempc.com/mcp ; Create as a plugin{
"mcpServers": {
"autotunempc": {
"url": "https://api.autotunempc.com/mcp"
}
}
}{
"mcpServers": {
"autotunempc": {
"type": "http",
"url": "https://api.autotunempc.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"autotunempc": {
"url": "https://api.autotunempc.com/mcp"
}
}
}{
"mcpServers": {
"autotunempc": {
"httpUrl": "https://api.autotunempc.com/mcp"
}
}
}[mcp_servers.autotunempc]
url = "https://api.autotunempc.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
AutoTuneMPC · L’Atlas · Test du
[AutoTuneMPC — L’Atlas](https://latlas.dev/mcp/com.autotunempc/autotunempc)Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.