Skip to content
Agentmart
Submit a tool

OpenTofu Test

MCP server for the OpenTofu/Terraform native test framework: scaffold, mock, validate, run tests

Connector by ogormans-deptstack · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/ogormans-deptstack-opentofu-test

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MCP server for the OpenTofu/Terraform native test framework: scaffold, mock, validate, run tests

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
2 read · 1 write · 0 delete · 2 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Docker image

Tools by what they do 5

Read from the source code; the running server may list different tools.

Read 2 · Look things up without changing anything.

  • tf_explain_test_schema
  • tf_validate_test

Write 1 · Create, change, send or run things.

  • tf_run_tests

Not yet classified 2 · We could not tell from the name and description.

  • tf_gen_mock_provider
  • tf_scaffold_test

Tools (5)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • tf_explain_test_schema

    Explain the OpenTofu/Terraform native test framework grammar (.tftest.hcl / .tfmock.hcl). Call with an empty topic for an overview, or a topic like 'run', 'assert', 'mock_provider', 'expect_failures' for its block reference and an example.

  • tf_gen_mock_provider

    Generate a mock_provider block for an initialized module directory by reading 'providers schema -json'. Pre-fills mock_resource defaults for computed attributes. The directory must have been initialized first.

  • tf_run_tests

    Run 'tofu test -json' in a module directory and return a condensed pass/fail summary with per-run status. Optionally filter to a single test file. Requires the directory to be initialized.

  • tf_scaffold_test

    Generate a .tftest.hcl starter test for a module directory by reading its input variables and outputs. Produces a run block with assertions for each output and placeholders for required variables.

  • tf_validate_test

    Statically validate a .tftest.hcl file (by path or raw content) and report structural problems such as an invalid command, assert blocks missing condition/error_message, duplicate run names, or no run blocks. Does not run OpenTofu.

Signals

Stars
0
Forks
0
Open issues
0
Last commit
Oct 19, 2026 (9 days ago)
Last release
Oct 19, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.ogormans-deptstack/opentofu-test
Version
0.1.0
Auth
No auth
Packages
oci ghcr.io/ogormans-deptstack/opentofu-test-mcp:0.1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

OpenTofu Test MCP server. Agent Mart. https://agentmart.dev/connectors/ogormans-deptstack-opentofu-test (last updated 2026-10-24)