Terrakube Management
STDIOMCP server for Terrakube operations, enabling workspace management and variable handling.
MCP server for Terrakube operations, enabling workspace management and variable handling.
A Model Context Protocol (MCP) server for Terrakube operations, enabling workspace management, variable handling, module operations, and organization management.
createWorkspace
Create a new workspace in Terrakube.
name
(string): Name of the workspaceorganization
(string): Organization namedescription
(optional string): Workspace descriptionvcsProviderId
(optional string): VCS provider IDvcsRepository
(optional string): VCS repository namevcsBranch
(optional string): VCS branch nameupdateWorkspace
Update an existing workspace.
name
(string): Name of the workspaceorganization
(string): Organization namedescription
(optional string): New workspace descriptionvcsProviderId
(optional string): New VCS provider IDvcsRepository
(optional string): New VCS repository namevcsBranch
(optional string): New VCS branch namedeleteWorkspace
Delete a workspace.
name
(string): Name of the workspaceorganization
(string): Organization namegetWorkspace
Get details of a specific workspace.
name
(string): Name of the workspaceorganization
(string): Organization namelistWorkspaces
List all workspaces in an organization.
organization
(string): Organization namecreateVariable
Create a new variable in a workspace.
name
(string): Name of the variableorganization
(string): Organization nameworkspace
(string): Workspace namevalue
(string): Variable valuedescription
(optional string): Variable descriptioncategory
(optional string): Variable categoryhcl
(optional boolean): Whether the variable is HCLsensitive
(optional boolean): Whether the variable is sensitiveupdateVariable
Update an existing variable.
name
(string): Name of the variableorganization
(string): Organization nameworkspace
(string): Workspace namevalue
(string): New variable valuedescription
(optional string): New variable descriptioncategory
(optional string): New variable categoryhcl
(optional boolean): Whether the variable is HCLsensitive
(optional boolean): Whether the variable is sensitivedeleteVariable
Delete a variable.
name
(string): Name of the variableorganization
(string): Organization nameworkspace
(string): Workspace namegetVariable
Get details of a specific variable.
name
(string): Name of the variableorganization
(string): Organization nameworkspace
(string): Workspace namelistVariables
List all variables in a workspace.
organization
(string): Organization nameworkspace
(string): Workspace namecreateModule
Create a new module.
name
(string): Name of the moduleorganization
(string): Organization nameprovider
(string): Module providerdescription
(optional string): Module descriptionupdateModule
Update an existing module.
name
(string): Name of the moduleorganization
(string): Organization nameprovider
(string): Module providerdescription
(optional string): New module descriptiondeleteModule
Delete a module.
name
(string): Name of the moduleorganization
(string): Organization nameprovider
(string): Module providergetModule
Get details of a specific module.
name
(string): Name of the moduleorganization
(string): Organization nameprovider
(string): Module providerlistModules
List all modules in an organization.
organization
(string): Organization namecreateOrganization
Create a new organization.
name
(string): Name of the organizationdescription
(optional string): Organization descriptionupdateOrganization
Update an existing organization.
name
(string): Name of the organizationdescription
(optional string): New organization descriptiondeleteOrganization
Delete an organization.
name
(string): Name of the organizationgetOrganization
Get details of a specific organization.
name
(string): Name of the organizationlistOrganizations
List all organizations.
Create a .env
file in the root directory with the following variables:
TERRAKUBE_API_URL=<your-terrakube-api-url> TERRAKUBE_PAT_TOKEN=<your-personal-access-token>
To install Terrakube MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AzBuilder/mcp-server-terrakube --client claude
Clone the repository:
git clone https://github.com/azbuilder/terrakube-mcp-server.git cd terrakube-mcp-server
Install dependencies:
npm install
Build the project:
npm run build
To use this with Claude Desktop, add the following to your claude_desktop_config.json
:
{ "mcpServers": { "terrakube": { "command": "npx", "args": [ "-y", "@terrakube/mcp-server" ], "env": { "TERRAKUBE_API_URL": "<YOUR_API_URL>", "TERRAKUBE_PAT_TOKEN": "<YOUR_PAT_TOKEN>" } } } }