> For the complete documentation index, see [llms.txt](https://docs.natoma.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.natoma.ai/apps/spacelift.md).

# Spacelift

**Type:** Community

**Source Type:** Repository

**Source:** [GitHub](https://github.com/spacelift-io/spacectl)

**Description:** Enables Claude to interact with Spacelift's infrastructure management platform through the spacectl CLI and MCP server integration. Provides complete GraphQL schema introspection, stack management, module operations, policy management, and workerpool administration capabilities. Allows AI assistants to discover and use the Spacelift GraphQL API automatically without manual API learning, facilitating infrastructure-as-code workflows and Terraform/OpenTofu management.

**Configuration Parameters:**

* **Spacelift API Key Endpoint** \* - The URL to your Spacelift account (e.g., <https://mycorp.app.spacelift.io>)
* **Spacelift API Key ID** \* - API key identifier
* **Spacelift API Key Secret** \* - API key secret

**Setup Steps:**

1. Log in to your Spacelift account at https\://\[your-account].app.spacelift.io
2. Navigate to Settings > API Keys as an admin user
3. Click "Create API Key" and provide a name and description
4. Select the appropriate Space and access level (reader vs writer)
5. Configure the Subject Expression if needed to restrict access
6. Assign Groups if using team-based access control
7. Copy the generated API Key ID and API Key Secret
8. Provide the API Key Endpoint, ID, and Secret to Natoma

**Notes:**

* Requires Spacelift admin access to create API keys
* API keys can be scoped to specific spaces and access levels
* Supports multiple authentication methods (API tokens, GitHub tokens, API keys)
* MCP server includes complete GraphQL schema introspection
* spacectl CLI must be installed and configured
* Documentation: <https://docs.spacelift.io/integrations/api>

***
