> For the complete documentation index, see [llms.txt](https://docs.allout.game/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allout.game/scripting/cursor-claude-antigravity-setup.md).

# Cursor/Claude/Antigravity Setup

You can write CSL with any text editor, but using an editor with CSL tooling makes a huge difference: syntax highlighting, inline errors, autocomplete, and quick navigation.

It's also even easier than ever to get started thanks to tools that integrate AI agents which can help you learn and write CSL.

You’ll write `.csl` files inside your project’s `scripts/` directory.

## 1. Using the Agent Panel

If you want the simplest setup, use the AI Agent panel inside the All Out editor.

Using the agent panel only requires having one of the industry standard AI subscriptions. Today we support:

* OpenAI/ChatGPT Codex
* Claude Code
* OpenCode

Whether you use the built-in agent panel or a third-party agent directly, the editor adds a few project files to your game folder to give the agent better context:

* `AGENTS.md` with basic information about All Out/CSL
* Agent skills to help it with animations, UI, etc...
* An `mcp.json` file to allow it to connect to the editor for compiling/fetching assets. The MCP is auto configured for most tools except Google Antigravity (see notes below to install it)

## 2. Third Party Agents

{% tabs %}
{% tab title="Installing Cursor (programmers)" %}
We recommend Cursor (or VS Code) to develop All Out games. Our editor extension provides:

* Syntax highlighting support
* Inline compile error diagnostics
* Autocomplete

{% hint style="info" %}
The extension is currently in closed beta, please reach out to an All Out team member for access. We expect to publish the extension on the marketplace soon.
{% endhint %}

1. [Download and install Cursor](https://cursor.com/)
2. Add the All Out extension to Cursor
3. Open your game project folder in Cursor (the folder that contains `scripts/` and `res/`)

{% hint style="info" %}
All Out automatically adds some files to your project to help give AI context:

* AGENTS.md with basic information about All Out/CSL
* Agent skills to help it with animations, UI, etc...
* An mcp.json file to allow it to connect to the editor for compiling/fetching assets
  {% endhint %}
  {% endtab %}

{% tab title="Installing Claude Code (non-programmers)" %}
If you don't have much experience programming, or prefer using Claude Code, we also have native support for it.

Claude Code is an AI tool that can write and debug CSL scripts for you.

1. [Download and install Claude Code](https://code.claude.com/docs/en/overview)
2. Open a terminal inside your game project folder and type `claude` to login with your Claude account.

{% hint style="warning" %}
Even if you use an AI model, it helps a **ton** to spend some time getting familiar with CSL scripting at a basic level. You'll be able to direct the AI more efficiently and make quick adjustments. Plus, it's fun!
{% endhint %}

{% hint style="info" %}
All Out automatically adds some files to your project to help give AI context:

* AGENTS.md with basic information about All Out/CSL
* Agent skills to help it with animations, UI, etc...
* An mcp.json file to allow it to connect to the editor for compiling/fetching assets
  {% endhint %}
  {% endtab %}

{% tab title="Antigravity" %}
Antigravity is Google's version of Cursor and can be a nice alternative if you prefer the Google ecosystem. It does require some additional setup to get the MCP server working.

1. [Download and install Antigravity](https://antigravity.google/download)
2. Install the All Out extension to Antigravity
3. Manually configure the All Out MCP server

**MCP Server Setup**

<figure><img src="/files/tto7BAh6vJla7AYUHfGx" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/UYGlFagq4cXcpdYFth0h" alt=""><figcaption></figcaption></figure>

Then paste this into the raw config

```go
{
    "mcpServers": {
        "allout": {
            "serverUrl": "http://localhost:3333/mcp"
        }
    }
}
```

{% hint style="info" %}
All Out automatically adds some files to your project to help give AI context:

* AGENTS.md with basic information about All Out/CSL
* Agent skills to help it with animations, UI, etc...
* An mcp.json file to allow it to connect to the editor for compiling/fetching assets
  {% endhint %}
  {% endtab %}
  {% endtabs %}

{% hint style="warning" %}

### Important note: we strongly recommend [adding your game folder as a Windows Defender exclusion](/reference/windows-defender-exclusion.md) to improve performance.

{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.allout.game/scripting/cursor-claude-antigravity-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
