Skip to content
MCP server

AutoTuneMPC

Remote MCP server for constrained nonlinear MPC and Optuna-based parameter tuning

Verified workingStatus and history

Answered our tool-list check 3 of 3 times in the last 7 days; last seen working 4 days ago.

AutoTuneMPC is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
API
Runs
Remotely
What it can do
Can change data (7 tools)
Version
1.0.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http autotunempc https://api.autotunempc.com/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "autotunempc": {
      "type": "http",
      "url": "https://api.autotunempc.com/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.autotunempc.com/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "autotunempc": {
      "url": "https://api.autotunempc.com/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "autotunempc": {
      "type": "http",
      "url": "https://api.autotunempc.com/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://api.autotunempc.com/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add autotunempc --url https://api.autotunempc.com/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.autotunempc]
url = "https://api.autotunempc.com/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://api.autotunempc.com/mcp

Enter a Name (for example "AutoTuneMPC"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "autotunempc": {
      "type": "http",
      "url": "https://api.autotunempc.com/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "autotunempc": {
          "httpUrl": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http autotunempc https://api.autotunempc.com/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "autotunempc": {
          "serverUrl": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "autotunempc": {
          "url": "https://api.autotunempc.com/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "autotunempc": {
          "type": "streamableHttp",
          "url": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "autotunempc": {
          "url": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "autotunempc": {
          "url": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "autotunempc": {
          "url": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "autotunempc": {
          "url": "https://api.autotunempc.com/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About AutoTuneMPC

AutoTuneMPC is a hosted Model Context Protocol endpoint that lets AI clients run constrained nonlinear model predictive control calculations and hyperparameter searches using Optuna. Requests are sent as HTTPS JSON to a streamable HTTP endpoint, so an assistant can hand off optimisation work instead of writing the solver itself.

The server is reached through a single remote URL rather than a local package, which keeps setup to adding the endpoint to a compatible client. It suits engineers who want an assistant to explore controller settings or tuning ranges and get numerical results back in conversation.

It is aimed at control engineers, researchers and developers who already work with MPC or Optuna studies and want those workflows accessible through an MCP-capable assistant.

Tools this server provides (11)

Read directly from the server.

The server marks 7 of 11 tools as able to change data.

From the server's own tool labels and tool names; not verified by us.

identify_discrete_plantSays read-only
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 bef
validate_problemSays read-only
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 osc
simulateSays read-only
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.
solve_mpcSays it can change data
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
reset_warm_startSays it can change data
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.
start_autotune_jobSays it can change data
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
get_autotune_jobSays read-only
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 `
autotune_root_zone_irrigationSays it can change data
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.
autotune_battery_peak_shavingSays it can change data
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.
autotune_embedded_controller_with_c_codegenSays it can change data
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-gradien
autotune_templateSays it can change data
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

What it does

Constrained nonlinear MPC
Solves model predictive control problems with nonlinear dynamics and constraints.
Optuna-based tuning
Runs parameter searches using the Optuna optimisation framework.
Streamable HTTP transport
Connects to AI clients through a remote streamable HTTP MCP endpoint.
JSON request interface
Accepts and returns structured JSON over HTTPS.

Good for

  • Tune controller parameters for a nonlinear process model
  • Explore constrained MPC settings through an AI assistant
  • Run hyperparameter searches as part of an engineering workflow

AutoTuneMPC FAQ

How do I connect to AutoTuneMPC?

It is offered as a remote streamable HTTP MCP server at https://api.autotunempc.com/mcp.

Is there a local package to install?

No local package is listed; the server is accessed through its remote endpoint.

How do I add AutoTuneMPC to Claude Code?

Run this command in your terminal: claude mcp add --transport http autotunempc https://api.autotunempc.com/mcp

What are the best alternatives to AutoTuneMPC?

The closest alternatives to AutoTuneMPC are Optimatika Optimisation Service, Nerdy by Nerd/Noir, NEOMA P-CAM Physical AI & Ising MCP Server, Proxima and Ai Cost Optimizer.

Where this comes from

  • Description: written from its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers