# Scalr

{% hint style="warning" %}
**Early Access** — Reach out to your Natoma representative for access.
{% endhint %}

**Type:** Community

**Source Type:** Repository

**Source:** Docker image: `scalr/mcp-server:latest`

**Description:** Scalr MCP server provides AI assistants with access to Scalr's Terraform automation platform. It enables querying environments, workspaces, runs, modules, and policies.

**Configuration Parameters:**

* **Scalr API URL** \* - Your Scalr instance URL (e.g. `https://your-account.scalr.io`).
* **Scalr API Token** \* (sensitive) - Personal Access Token or Service Account Token.

**Setup Steps:**

1. Log in to Scalr.
2. Open your account avatar and go to **Personal Access Tokens** (or **Service Accounts → API Tokens**).
3. Click **Create Token**, name it, and copy the value.
4. When creating the connection in Natoma, paste the URL and token and save.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/scalr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
