Terraform MCP Server vs MCP Oci

A side-by-side look at the Terraform MCP Server and MCP Oci MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Terraform MCP Server logoTerraform MCP ServerCloud Platforms · Remote HTTP/SSEThe official Terraform MCP Server seamlessly integrates with the Terraform ecosystem, enabling provider discovery, module analysis, and direct Registry API integration for advanced Infrastructure as Code workflows.79GreatAuth: api key requiredMCP Oci logoMCP OciCloud Platforms · Local subprocess (stdio)Oracle Cloud discovery + Terraform generation for AI agents — read-only, secret-safe.61GoodAuth: not declared

Verdict: choose Terraform MCP Server for cloud platforms work over a hosted endpoint; choose MCP Oci for cloud platforms as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Terraform MCP Server logoChoose Terraform MCP Server when

  • You need dedicated capabilities in the Cloud Platforms domain.
  • You prefer a remote HTTP/SSE transport.
  • Its auth model fits you: API key required.
Explore Terraform MCP Server

MCP Oci logoChoose MCP Oci when

  • You need dedicated capabilities in the Cloud Platforms domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like list_compartments, list_regions, search_resources.
Explore MCP Oci

Feature & specification comparison

Rows where the two servers differ are marked.

SpecTerraform MCP Server logoTerraform MCP ServerMCP Oci logoMCP Oci
CategoryCloud PlatformsCloud Platforms
Quality signal79/100 · Great61/100 · Good
Install commandConfirmedConfirmed
TransportRemote HTTP/SSELocal subprocess (stdio)
AuthAPI key requiredNot declared
PricingFreeNot declared
Required env varsNone listedNone listed
Verified owner VerifiedCommunity listing
GitHub stars1,5531
Directory activity 3 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
ToolsNot listed8

Tools & capabilities

Terraform MCP Server tools

No tool names declared yet. Check the project README from the listing page.

MCP Oci tools 8

  • list_compartmentsList compartments in the tenancy (recursively). Compartments outside the allowlist are filtered out.
  • list_regionsList the regions this tenancy is subscribed to.
  • search_resourcesSearch tenancy resources using OCI Resource Search. Provide either a structured query (e.g. "query instance resources where displayName =~ 'prod'") or free text.
  • list_compartment_resourcesEnumerate every resource in a compartment (via Resource Search).
  • get_resourceFetch detailed attributes for a resource by type and OCID. Known types (Vcn, Subnet, Instance) return full attributes; others return the identifier. Secrets are redacted.
  • generate_terraformGenerate a Terraform (HCL) resource block for a single OCI resource by type and OCID. Fetches the resource's attributes and maps them to the matching oci_* resource.
  • generate_compartment_terraformDiscover every resource in a compartment and emit a Terraform module (provider variables + one block per resource) to reproduce it. Unrecognised types become annotated skeletons.
  • build_dependency_graphDiscover a compartment's resources and return a node/edge dependency graph plus a suggested provisioning order (dependencies first).

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Terraform MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "hashicorp-terraform-mcp-server": {
      "url": "http://localhost:8080/mcp"
    }
  }
}

MCP Oci

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mcp-oci": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-oci"
      ]
    }
  }
}

Frequently asked questions

Terraform MCP Server is categorized under Cloud Platforms and uses a remote HTTP/SSE transport. MCP Oci belongs to Cloud Platforms and uses a local stdio subprocess. Pick Terraform MCP Server for cloud platforms work and MCP Oci for cloud platforms.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Terraform MCP Server is listed as free. Auth: api key required. MCP Oci has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add hashicorp-terraform-mcp-server and mcp-oci as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Terraform MCP Server has a quality signal of 79/100 (Great) with 3 views, 0 installs and 1,553 GitHub stars. MCP Oci has 61/100 (Good) with 3 views, 0 installs and 1 GitHub stars.