Does OpenTofu MCP work with Cursor?

Yes. OpenTofu MCP passed every step of our test in Cursor on Oct 15, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.

Result

ResultPassed
Date testedOct 15, 2026
Plan tested onCursor Pro+
App version2026.10.14-941492e
Modelgpt-5.3-codex-low

Steps

  1. install OK
  2. connected OK
  3. tools visible OK
  4. agent task: provider version OK

From our own harness run, not the maker’s claims. How we test.

What happened in this run

Install config we used

{
 "mcpServers": {
  "opentofu": {
   "command": "npx",
   "args": [
    "-y",
    "mcp-remote",
    "https://mcp.opentofu.org/mcp"
   ]
  }
 }
}

Connection check

opentofu: ready

Tools the app saw

7 tools in the app (protocol check found 7).

Agent task: provider version

  • Tool calls, in order: opentofu:get-provider-versions

Raw details from our harness log for this run. Secrets redacted.

Set it up in Cursor

Copy-paste config for every app is on the OpenTofu MCP page. Not connecting? Cursor MCP troubleshooting.

Other apps we tested it in: Claude Code (passed).

All MCP servers tested in Cursor

Sponsors