# Hashicorp Terraform Cloud MCP connector

Connect Hashicorp Terraform Cloud to Elaichi and Claude, ChatGPT, Cursor, Microsoft Copilot and any MCP client can list, create, lock, unlock and update your Terraform Cloud workspaces, organizations and teams, with every call logged to a named person.

Source: https://elaichi.ai/connectors/hashicorpterraformcloud/

## Facts

| | |
| --- | --- |
| Application | Hashicorp Terraform Cloud |
| Category | CI |
| AI tools | 290 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Hashicorp Terraform Cloud is connected

- Which workspaces in the platform organization are currently locked?
- Create a workspace called payments-prod and assign the deploy SSH key.
- List every team in our production organization.

## Connect Hashicorp Terraform Cloud in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Hashicorp Terraform Cloud.
2. Optionally set Share with, then press Connect.
3. Paste a Hashicorp Terraform Cloud API key. One person generates a token in Hashicorp Terraform Cloud and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Hashicorp Terraform Cloud tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Hashicorp Terraform Cloud MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Hashicorp Terraform Cloud MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Hashicorp Terraform Cloud MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Hashicorp Terraform Cloud MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Hashicorp Terraform Cloud MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Hashicorp Terraform Cloud to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Hashicorp Terraform Cloud tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Hashicorp Terraform Cloud through Elaichi

### Lock a workspace before a risky change

Platform. Ask the agent to lock a Hashicorp Terraform Cloud workspace while you investigate a problem, then unlock it once the change is safe. Nobody can queue a run against it in the meantime.

### Spin up a workspace for a new service

DevOps. Create a Hashicorp Terraform Cloud workspace with the right name and settings when a team starts a new project, and assign the SSH key it needs to pull private modules.

### Review who belongs to which team

Security. List every team in a Hashicorp Terraform Cloud organization and see the details of each before an access review, without clicking through the console one team at a time.

### Check and set data retention policies

Compliance. Ask what the data retention policy is on each Hashicorp Terraform Cloud organization, then create or update the ones that fall short of your standard.

### Clear a stuck lock after a failed run

SRE. When a run dies and leaves a Hashicorp Terraform Cloud workspace locked, force unlock it from chat and get on with the fix instead of hunting for the button.

### Find every workspace across all organizations

IT. Pull a single list of Hashicorp Terraform Cloud workspaces across every organization your account can see, with the settings on each, in one question.

## Elaichi vs Zapier MCP vs Composio for Hashicorp Terraform Cloud

All three can connect Hashicorp Terraform Cloud to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Hashicorp Terraform Cloud tools | Allow or restrict single Hashicorp Terraform Cloud tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Hashicorp Terraform Cloud call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Hashicorp Terraform Cloud to Claude?

Connect Hashicorp Terraform Cloud in Elaichi by pasting a Terraform Cloud API token, then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. There is no OAuth application to register and no client ID or secret to generate. The whole thing takes a few minutes.

### Does Hashicorp Terraform Cloud work with ChatGPT and Cursor as well as Claude?

Yes. Once Hashicorp Terraform Cloud is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client and the Elaichi Agent. You connect it once and every client picks it up.

### What can an AI agent actually do with my Hashicorp Terraform Cloud data?

An agent can list and look up your Hashicorp Terraform Cloud organizations, workspaces, teams and accounts, create new workspaces and teams, lock, unlock or force unlock a workspace, assign or remove an SSH key, and view or change an organization's data retention policy. Because there are hundreds of actions, short concrete asks like lock the staging workspace work better than long sentences.

### Does connecting Hashicorp Terraform Cloud give the AI access to every organization and workspace?

No. An agent working through Hashicorp Terraform Cloud only sees the organizations, workspaces and teams the signed-in person's token can already reach. Elaichi can narrow that access further with roles and restrictions, and it can never widen it beyond what Terraform Cloud itself allows.

### Can my team share one Hashicorp Terraform Cloud connection?

Yes. One person connects Hashicorp Terraform Cloud in Elaichi and shares it with a team, and nobody else ever handles the API token. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person behind every workspace lock or team change.

### Can I stop an agent from deleting or changing things in Hashicorp Terraform Cloud?

Yes. Restrictions in Elaichi work per action, so you can allow listing and locking Hashicorp Terraform Cloud workspaces while restricting anything that deletes an organization or changes a password. A restricted action still appears in Elaichi's tool search, flagged as restricted, but the AI client cannot run it, whatever the prompt says.

### What happens to a Hashicorp Terraform Cloud connection when someone leaves?

Offboarding a person in Elaichi ends their access to Hashicorp Terraform Cloud through every client at once. A connection they shared keeps working for everyone else on the team. If you want it gone entirely, disconnecting Hashicorp Terraform Cloud once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot and every other client together.

### Does the Hashicorp Terraform Cloud MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Hashicorp Terraform Cloud is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Hashicorp Terraform Cloud?

Yes. Both let Claude, ChatGPT or Cursor use Hashicorp Terraform Cloud. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Hashicorp Terraform Cloud call.

### How is Elaichi different from Composio for Hashicorp Terraform Cloud?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Hashicorp Terraform Cloud: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 290 Hashicorp Terraform Cloud tools

Every tool below is callable through https://api.elaichi.ai/mcp once Hashicorp Terraform Cloud is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all Hashicorp Terraform Cloud account** (List). Get your account details in Hashicorp Terraform Cloud. Returns id, username, email, avatar-url, auth-method, is-site-admin, and permissions including can-create-organizations, can-change-email, and can-change-username.
- **Update a Hashicorp Terraform Cloud account by ID** (Update). Update your account info in Hashicorp Terraform Cloud with new username and email. Returns id, username, email, avatar-url, permissions, and other user attributes in the response.
- **Hashicorp Terraform Cloud account change password** (Action). Update account password in Hashicorp Terraform Cloud. Requires current_password, password, and password_confirmation. Returns id, username, email, authentication tokens link, permissions, and account details in response.
- **List all Hashicorp Terraform Cloud organizations** (List). List organizations in Hashicorp Terraform Cloud. Returns organization id, name, email, plan details, permissions, and other attributes for each organization.
- **Get single Hashicorp Terraform Cloud organization by ID** (Get). Get information about a specific organization in Hashicorp Terraform Cloud. Requires id. Returns fields including id, attributes like email, plan status, permissions, and relationships.
- **Create a Hashicorp Terraform Cloud organization** (Create). Create an organization in Hashicorp Terraform Cloud with name and email. Returns id, name, email, session timeout, collaborator auth policy, cost estimation status, and default execution mode.
- **Update a Hashicorp Terraform Cloud organization by ID** (Update). Update an organization in Hashicorp Terraform Cloud. Requires id. Returns fields such as email, name, cost-estimation-enabled, collaborator-auth-policy, created-at, default-execution-mode, owners-team-saml-role-id, and permissions indicating the organization's configuration and access rights.
- **Delete a Hashicorp Terraform Cloud organization by ID** (Delete). Delete an organization in Hashicorp Terraform Cloud. Requires id. The response body will be empty if successful.
- **Hashicorp Terraform Cloud organizations show data retention policy** (Action). Get data retention policy in Hashicorp Terraform Cloud for a specific organization_name. Returns the organization's explicit or default data retention policy fields.
- **Organizations create data retention policy** (Create). Create a data-retention-policy in Hashicorp Terraform Cloud for the specified organization_name. Returns the created or updated policy fields, such as policy ID and retention settings.
- **Organizations delete data retention policy** (Delete). Remove the data retention policy for a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns no content and reverts the organization to the default data retention policy.
- **Organizations update data retention policy** (Update). Create a data-retention-policy in Hashicorp Terraform Cloud for the specified organization_name. Returns the created or updated policy fields, such as policy ID and retention settings.
- **List all Hashicorp Terraform Cloud workspaces** (List). List workspaces in a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, attributes including name, execution-mode, environment, created-at, permissions, and relationships for each workspace.
- **Get single Hashicorp Terraform Cloud workspace by ID** (Get). Get workspace details in Hashicorp Terraform Cloud. Requires id. Returns id, type, attributes (including execution-mode, environment, locked, name, resource-count, terraform-version), relationships, and links fields in the response.
- **Create a Hashicorp Terraform Cloud workspace** (Create). List workspaces in Hashicorp Terraform Cloud for organization_name. Returns id, type, attributes (including name, execution-mode, locked, resource-count, tag-names, terraform-version), and relationships for each workspace.
- **Update a Hashicorp Terraform Cloud workspace by ID** (Update). Update a specific workspace in Hashicorp Terraform Cloud using workspace_id. Returns workspace fields including id, name, allow-destroy-plan, execution-mode, description, vcs-repo, terraform-version, resource-count, locked, tag-names, and detailed permissions.
- **Hashicorp Terraform Cloud workspaces lock** (Action). Lock a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace fields including id, name, locked status, environment, execution mode, tag-names, permissions, and associated relationships in the response.
- **Hashicorp Terraform Cloud workspaces unlock** (Action). Unlock a specific workspace in Hashicorp Terraform Cloud using id. Returns id, type, attributes (such as actions, locked status, name, execution-mode, permissions), links, and relationships fields in the response. Unlock may fail if the latest intermediate state version is not finalized; check state status and retry if necessary.
- **Hashicorp Terraform Cloud workspaces force unlock** (Action). Force unlock a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace attributes such as locked, name, environment, vcs-repo, permissions, and related resource ids and links in the response.
- **Hashicorp Terraform Cloud workspaces assign SSH key** (Assign). Assign an SSH key to a workspace in Hashicorp Terraform Cloud. Requires id. Returns workspace fields such as id, type, and attributes including name, description, permissions, vcs-repo, and related relationships.
- **Hashicorp Terraform Cloud workspaces unassign SSH key** (Action). Unassign the currently assigned SSH key from a workspace in Hashicorp Terraform Cloud. Requires id. Returns updated workspace information, reflecting removal of the SSH key.
- **List all Hashicorp Terraform Cloud teams** (List). List teams in Hashicorp Terraform Cloud for a specified organization_name. Returns each team's id, attributes (such as name, sso-team-id, users-count, visibility, allow-member-token-management), permissions, organization-access, relationships, and links.
- **Get single Hashicorp Terraform Cloud team by ID** (Get). Get information about a specific team in Hashicorp Terraform Cloud. Requires id. Returns fields such as name, sso-team-id, users-count, visibility, permissions, organization-access, users, authentication-token, and links.
- **Create a Hashicorp Terraform Cloud team** (Create). Create a team in Hashicorp Terraform Cloud for the specified organization_name. Returns id, attributes (name, sso-team-id, organization-access, permissions, users-count, visibility, allow-member-token-management), links, relationships, and type fields in the response.
- **Update a Hashicorp Terraform Cloud team by ID** (Update). Update a team in Hashicorp Terraform Cloud. Requires id. Returns name, sso-team-id, organization-access permissions, visibility, allow-member-token-management, permissions, users-count, and relationships in the response. Note: If read-projects or manage-projects is true, read-workspaces or manage-workspaces must also be true.
- **Delete a Hashicorp Terraform Cloud team by ID** (Delete). Delete a specific team in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
- **List all Hashicorp Terraform Cloud projects** (List). List projects in a specific organization in Hashicorp Terraform Cloud. Requires organization_name. Returns id, name, description, workspace-count, team-count, permissions, and related resource links for each project.
- **Get single Hashicorp Terraform Cloud project by ID** (Get). Get details about a specific project in Hashicorp Terraform Cloud. Requires id. Returns fields including name, description, workspace-count, team-count, permissions, and organization relationship.
- **Create a Hashicorp Terraform Cloud project** (Create). Create a project in Hashicorp Terraform Cloud. Requires organization_name. Returns fields: id, type, attributes (name, description, default-execution-mode, permissions, setting-overwrites), relationships, and links.
- **Update a Hashicorp Terraform Cloud project by ID** (Update). Update a specific project in Hashicorp Terraform Cloud by id. Returns updated project fields such as name, description, auto-destroy-activity-duration, tag-bindings, default-execution-mode, default-agent-pool, and setting-overwrites.
- **Delete a Hashicorp Terraform Cloud project by ID** (Delete). Delete a project in Hashicorp Terraform Cloud by id. The project cannot be deleted if it contains stacks or workspaces. Returns confirmation of deletion.
- **Hashicorp Terraform Cloud projects update tag bindings** (Update). Add or update tag bindings for a project in Hashicorp Terraform Cloud. Requires id. Returns tag binding id, key, and value fields for each updated or added tag binding in the response.
- **Hashicorp Terraform Cloud projects move workspace into project** (Move). Move one or more workspaces into a project in Hashicorp Terraform Cloud. Requires id. Returns errors with status, title, and detail if any workspace is not found or you are not authorized.
- **Get single Hashicorp Terraform Cloud user by ID** (Get). Get details about a specific user in Hashicorp Terraform Cloud using id. Returns id, username, is-service-account, auth-method, avatar-url, v2-only, permissions, and relevant links in the response.
- **List all Hashicorp Terraform Cloud organization membership** (List). List organization_membership resources in Hashicorp Terraform Cloud for a specific organization_name. Returns each membership's id, status, user, teams, and organization in the response.
- **Create a Hashicorp Terraform Cloud organization membership** (Create). Invite a user to an organization in Hashicorp Terraform Cloud. Requires organization_name and a user email. Returns id, status, team membership, user id, and organization id fields in the response.
- **Get single Hashicorp Terraform Cloud organization membership by ID** (Get). Get organization_membership details in Hashicorp Terraform Cloud. Requires id. Returns status, related teams, user, and organization in the response.
- **Delete a Hashicorp Terraform Cloud organization membership by ID** (Delete). Delete an organization_membership in Hashicorp Terraform Cloud. Requires id. No content is returned in the response.
- **List all Hashicorp Terraform Cloud agent pools** (List). List agent pools in Hashicorp Terraform Cloud for a specific organization_name. Returns id, name, created-at, organization-scoped, agent-count, and relationships to agents, authentication-tokens, and workspaces in the response.
- **Get single Hashicorp Terraform Cloud agent pool by ID** (Get). Get information about a specific agent pool in Hashicorp Terraform Cloud. Requires id. Returns id, name, created-at, organization-scoped, and relationships including agents, authentication-tokens, workspaces, and allowed-workspaces.
- **Create a Hashicorp Terraform Cloud agent pool** (Create). Create an Agent Pool for an organization in Hashicorp Terraform Cloud. Requires organization_name and data with type 'agent-pools' and attributes.name. Returns id, name, created-at, organization-scoped, and allowed-workspaces in the response.
- **Update a Hashicorp Terraform Cloud agent pool by ID** (Update). Update an agent pool by id in Hashicorp Terraform Cloud. Requires id and a JSON body with data.type as 'agent-pools', data.attributes.name for the unique pool name, data.attributes.organization-scoped for scope, and optionally data.relationships.allowed-workspaces.data.id for workspace permission. Returns updated agent pool data.
- **Delete a Hashicorp Terraform Cloud agent pool by ID** (Delete). Delete an agent pool by id in Hashicorp Terraform Cloud. Returns no content on success.
- **List all Hashicorp Terraform Cloud agents** (List). List agents for a specific agent_pool_id in Hashicorp Terraform Cloud. Returns agent id, name, status, ip-address, and last-ping-at fields.
- **Get single Hashicorp Terraform Cloud agent by ID** (Get). Get information about a specific agent in Hashicorp Terraform Cloud. Requires id. Returns id, name, status, ip-address, and last-ping-at fields.
- **Delete a Hashicorp Terraform Cloud agent by ID** (Delete). Delete an agent by id in Hashicorp Terraform Cloud.
- **List all Hashicorp Terraform Cloud agent tokens** (List). List agent tokens for a specific agent pool in Hashicorp Terraform Cloud. Requires agent_pool_id. Returns id, type, created-at, last-used-at, description, and created-by fields for each token. Secret token value is not included.
- **Get single Hashicorp Terraform Cloud agent token by ID** (Get). Get details about a specific agent token in Hashicorp Terraform Cloud. Requires id. Returns id, type, created-at, last-used-at, description, token, and created-by fields in the response.
- **Create a Hashicorp Terraform Cloud agent token** (Create). Create an agent token in Hashicorp Terraform Cloud using agent_pool_id. Returns id, type, created-at, last-used-at, description, token, and created-by.id/type in the response. Token is only shown upon creation and cannot be recovered later.
- **Delete a Hashicorp Terraform Cloud agent token by ID** (Delete). Delete an agent token in Hashicorp Terraform Cloud. Requires id. Returns an empty response on successful deletion.
- ...and 240 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
