tools

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2025 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const SourceName = "terraform-mcp-server"

Variables

This section is empty.

Functions

func ActionRun

func ActionRun(logger *log.Logger) server.ServerTool

ActionRun creates a tool to apply, discard or cancel a Terraform run

func AttachVariableSetToWorkspaces

func AttachVariableSetToWorkspaces(logger *log.Logger) server.ServerTool

AttachVariableSetToWorkspaces creates a tool to attach a variable set to workspaces.

func CreateNoCodeWorkspace added in v0.3.2

func CreateNoCodeWorkspace(logger *log.Logger, mcpServer *server.MCPServer) server.ServerTool

CreateNoCodeWorkspace creates a tool to create a No Code module workspace.

func CreateRun

func CreateRun(logger *log.Logger) server.ServerTool

CreateRun creates a tool to create a new Terraform run.

func CreateRunSafe

func CreateRunSafe(logger *log.Logger) server.ServerTool

CreateRunSafe creates a tool to create a new Terraform run without destructive options.

func CreateVariableInVariableSet

func CreateVariableInVariableSet(logger *log.Logger) server.ServerTool

CreateVariableInVariableSet creates a tool to create a variable in a variable set.

func CreateVariableSet

func CreateVariableSet(logger *log.Logger) server.ServerTool

CreateVariableSet creates a tool to create a variable set.

func CreateWorkspace

func CreateWorkspace(logger *log.Logger) server.ServerTool

CreateWorkspace creates a tool to create a new Terraform workspace.

func CreateWorkspaceTags

func CreateWorkspaceTags(logger *log.Logger) server.ServerTool

CreateWorkspaceTags creates a tool to add tags to a workspace.

func CreateWorkspaceVariable

func CreateWorkspaceVariable(logger *log.Logger) server.ServerTool

CreateWorkspaceVariable creates a tool to create a workspace variable.

func DeleteVariableInVariableSet

func DeleteVariableInVariableSet(logger *log.Logger) server.ServerTool

DeleteVariableInVariableSet creates a tool to delete a variable from a variable set.

func DeleteWorkspaceSafely

func DeleteWorkspaceSafely(logger *log.Logger) server.ServerTool

DeleteWorkspaceSafely creates a tool to safely delete a Terraform workspace by ID. It will only delete the workspace if it has no managed resources.

func DetachVariableSetFromWorkspaces

func DetachVariableSetFromWorkspaces(logger *log.Logger) server.ServerTool

DetachVariableSetFromWorkspaces creates a tool to detach a variable set from workspaces.

func GetPrivateModuleDetails

func GetPrivateModuleDetails(logger *log.Logger) server.ServerTool

GetPrivateModuleDetails creates a tool to get detailed information about a private module.

func GetPrivateProviderDetails

func GetPrivateProviderDetails(logger *log.Logger) server.ServerTool

GetPrivateProviderDetails creates a tool to get detailed information about a private provider.

func GetRunDetails

func GetRunDetails(logger *log.Logger) server.ServerTool

GetRunDetails creates a tool to get detailed information about a specific Terraform run.

func GetWorkspaceDetails

func GetWorkspaceDetails(logger *log.Logger) server.ServerTool

GetWorkspaceDetails creates a tool to get detailed information about a specific Terraform workspace.

func ListRuns

func ListRuns(logger *log.Logger) server.ServerTool

ListRuns creates a tool to list Terraform runs in a workspace.

func ListTerraformOrgs

func ListTerraformOrgs(logger *log.Logger) server.ServerTool

ListTerraformOrgs creates a tool to get terraform organizations.

func ListTerraformProjects

func ListTerraformProjects(logger *log.Logger) server.ServerTool

ListTerraformProjects creates a tool to get terraform projects.

func ListVariableSets

func ListVariableSets(logger *log.Logger) server.ServerTool

ListVariableSets creates a tool to list variable sets.

func ListWorkspaceVariables

func ListWorkspaceVariables(logger *log.Logger) server.ServerTool

ListWorkspaceVariables creates a tool to list workspace variables.

func ListWorkspaces

func ListWorkspaces(logger *log.Logger) server.ServerTool

ListWorkspaces creates a tool to list Terraform workspaces.

func ReadWorkspaceTags

func ReadWorkspaceTags(logger *log.Logger) server.ServerTool

ReadWorkspaceTags creates a tool to read tags from a workspace.

func SearchPrivateModules

func SearchPrivateModules(logger *log.Logger) server.ServerTool

SearchPrivateModules creates a tool to search for private modules in Terraform Cloud/Enterprise.

func SearchPrivateProviders

func SearchPrivateProviders(logger *log.Logger) server.ServerTool

SearchPrivateProviders creates a tool to search for private providers in Terraform Cloud/Enterprise.

func UpdateWorkspace

func UpdateWorkspace(logger *log.Logger) server.ServerTool

UpdateWorkspace creates a tool to update an existing Terraform workspace.

func UpdateWorkspaceVariable

func UpdateWorkspaceVariable(logger *log.Logger) server.ServerTool

UpdateWorkspaceVariable creates a tool to update a workspace variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL