> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Use your coding agent

> Let Claude Code, Codex or Cursor set up Akua with you: build your software once and install it for every customer

With Akua, you deploy, sell and run a separate install of your software for each customer, on a server Akua runs or on the customer's own. Your coding agent does the setup through the Akua CLI. You approve each step that matters.

## Give your agent this prompt

```text theme={null}
Akua lets me build my software once and install it for every customer, each with their own install, on a server Akua runs or one they own.
Read https://docs.akua.dev/agent-setup/prompt, install the Akua CLI and sign me in with `akua auth login`.
Then work out with me what I want to set up, and ask me before you change anything.
```

The page it reads tells the agent to:

* Install `akua` and sign you in through your browser. The agent never sees your token.
* Work out your goal from your conversation and your project, and ask only when something is unclear.
* Look up the matching docs pages before it acts.
* Explain cost and side effects, and ask before it changes anything.

## Keep going from the CLI

The agent discovers commands with `akua commands` and does not guess request fields. Ask it for your outcome in your own words, for example:

```text theme={null}
Publish this app as a Package and install it for my first customer. Tell me what it costs before you create anything.
```

## Optional: MCP servers

The CLI is the path that sets Akua up. Add an MCP server next to it when your AI tool should also work with your Workspace or search these docs. MCP is never required for setup, and the agent does not wait for a restart.

| Server | URL | Auth | Use it for |
| - | - | - | - |
| `akua` | `https://mcp.akua.dev` | Sign in to Akua in your browser | Search and call the Akua API from your AI tool: [Platform MCP](https://docs.akua.dev/ai/platform-mcp.md) |
| `akua-docs` | `https://docs.akua.dev/mcp` | None | Search current Akua documentation: [Documentation MCP](https://docs.akua.dev/ai/docs-mcp.md) |

The CLI and the Platform MCP server use the same API and Workspace access controls as the
dashboard.

### Add the Akua MCP server to your tool

The Akua MCP server is `https://mcp.akua.dev`. It speaks the Streamable HTTP transport and signs
you in with OAuth: on first use your tool opens your browser, you sign in to Akua, and the tool
keeps the session.

For a coding agent in your terminal:

> [tab] Claude Code
>
> Add the server, then sign in from Claude Code with `/mcp` or from your shell:
>
> ```bash theme={null}
> claude mcp add --transport http akua https://mcp.akua.dev
> claude mcp login akua
> ```
>
> Add `--scope user` to the first command to use Akua in every project.

> [tab] Codex
>
> Add the server and sign in:
>
> ```bash theme={null}
> codex mcp add akua --url https://mcp.akua.dev
> codex mcp login akua
> ```
>
> Or add it to `~/.codex/config.toml` yourself, then run `codex mcp login akua`:
>
> ```toml theme={null}
> [mcp_servers.akua]
> url = "https://mcp.akua.dev"
> ```

> [tab] opencode
>
> Add the server and sign in:
>
> ```bash theme={null}
> opencode mcp add akua --url https://mcp.akua.dev
> opencode mcp auth akua
> ```
>
> In `opencode.jsonc` the same server is:
>
> ```json theme={null}
> {
>   "$schema": "https://opencode.ai/config.json",
>   "mcp": {
>     "servers": {
>       "akua": {
>         "type": "remote",
>         "url": "https://mcp.akua.dev"
>       }
>     }
>   }
> }
> ```

> [tab] Antigravity
>
> In Antigravity CLI, type `/mcp` to open the MCP manager. To add Akua for every project, add
> it to `~/.gemini/config/mcp_config.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "serverUrl": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> Antigravity signs you in through your browser the first time it connects. Gemini CLI users
> on an enterprise license or a paid API key use the **Gemini CLI** tab.

> [tab] Gemini CLI
>
> Gemini CLI works with an enterprise license or a paid API key; everyone else uses
> **Antigravity**.
>
> Add the server for your user, then sign in from Gemini CLI:
>
> ```bash theme={null}
> gemini mcp add --transport http --scope user akua https://mcp.akua.dev
> ```
>
> ```text theme={null}
> /mcp auth akua
> ```
>
> In `~/.gemini/settings.json` the same server is:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "httpUrl": "https://mcp.akua.dev"
>     }
>   }
> }
> ```

> [tab] Goose
>
> [Add Akua to Goose](goose://extension?url=https%3A%2F%2Fmcp.akua.dev\&type=streamable_http\&id=akua\&name=Akua\&description=Akua%20Workspace)
> with one click. In the terminal, run `goose configure`, choose **Add Extension**, then
> **Remote Extension (Streamable HTTP)**, and enter `https://mcp.akua.dev`.
>
> In `~/.config/goose/config.yaml` the same extension is:
>
> ```yaml theme={null}
> extensions:
>   akua:
>     name: Akua
>     type: streamable_http
>     uri: https://mcp.akua.dev
>     enabled: true
>     timeout: 300
> ```
>
> Goose opens your browser to sign in the first time it connects.

> [tab] Amp
>
> Add the server:
>
> ```bash theme={null}
> amp mcp add akua https://mcp.akua.dev
> ```
>
> Or add it to `amp.mcpServers` in your Amp settings:
>
> ```json theme={null}
> {
>   "amp.mcpServers": {
>     "akua": {
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> Amp opens your browser to sign in when it starts.

For an editor or IDE extension:

> [tab] VS Code
>
> In a Copilot chat session, run **Chat: Open Customizations**, select **MCP Servers**, then
> **Add Server**. Enter `https://mcp.akua.dev` and choose **Global** > **Copilot Global**.
>
> Or add Akua to `~/.copilot/mcp-config.json` (every workspace) or to `.mcp.json` at the root
> of your workspace:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "type": "http",
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> When Copilot offers it, sign in with **Authenticate** in the server's actions.

> [tab] Cursor
>
> [Add Akua to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=akua\&config=eyJ1cmwiOiJodHRwczovL21jcC5ha3VhLmRldiJ9)
> with one click, or add it to `~/.cursor/mcp.json` (every project) or `.cursor/mcp.json`
> (one project):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> Cursor asks you to sign in the first time it connects.

> [tab] Cline
>
> In the Cline extension, open **MCP Servers**, then **Remote Servers**. Enter `akua` as the
> name and `https://mcp.akua.dev` as the URL, choose Streamable HTTP, and click **Add Server**.
>
> In the Cline CLI, add it with one command:
>
> ```bash theme={null}
> cline mcp add akua https://mcp.akua.dev --transport http --yes
> ```
>
> Or add Akua to `cline_mcp_settings.json`. Set `type` to `streamableHttp`; without it, Cline
> uses the older SSE transport:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "type": "streamableHttp",
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> In the Cline CLI, run `cline mcp` and choose **Authorize OAuth** to sign in. If the extension
> doesn't offer a sign-in, send an Akua API token as described under any other MCP client.

> [tab] Devin Desktop
>
> Devin Desktop is the new name for Windsurf. Add Akua for every project to
> `~/.config/devin/mcp_config.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "akua": {
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> Then open **Customize** > **MCPs** in the Agents window. When Akua shows
> **Needs authentication**, click **Authenticate** to sign in.
>
> With the Devin CLI, add the server and sign in from the terminal instead:
>
> ```bash theme={null}
> devin mcp add -s user akua https://mcp.akua.dev
> devin mcp login akua
> ```
>
> In the Windsurf plugins for JetBrains and VS Code, open Cascade's MCP settings and add the
> same server with `"serverUrl": "https://mcp.akua.dev"` instead of `url`.

> [tab] Zed
>
> Open **Settings** > **AI** > **MCP Servers**, click **Add Server**, choose
> **Add Remote Server** and enter `https://mcp.akua.dev`.
>
> Or add Akua to `context_servers` in your Zed `settings.json`:
>
> ```json theme={null}
> {
>   "context_servers": {
>     "akua": {
>       "url": "https://mcp.akua.dev"
>     }
>   }
> }
> ```
>
> Zed asks you to sign in the first time it connects.

**Any other MCP client.** If your tool isn't listed, connect it to `https://mcp.akua.dev` with
the Streamable HTTP transport. Most clients accept this shape:

```json theme={null}
{
  "mcpServers": {
    "akua": {
      "url": "https://mcp.akua.dev"
    }
  }
}
```

The server answers an unauthenticated request with `401` and an OAuth discovery challenge,
and it accepts dynamic client registration, so a client with MCP OAuth support signs you in
by itself. A client without OAuth can send an [Akua API token](https://docs.akua.dev/apis/authentication.md)
instead, in the header `Authorization: Bearer AKUA_API_TOKEN`.

## Docs your agent can read

Every page of these docs is also available to agents:

* **Copy or open a page in your AI tool.** The menu at the top of each page copies it as Markdown or opens it in ChatGPT, Claude, Cursor or VS Code.
* **llms.txt.** `https://docs.akua.dev/llms.txt` lists every page, and `llms-full.txt` contains them all, for AI indexing.
* **Documentation MCP.** Search current docs from your agent with the [Documentation MCP](https://docs.akua.dev/ai/docs-mcp.md) server.

## Related topics

> [card] [Quickstart](https://docs.akua.dev/quickstart.md)
>
> Start from one prompt and let the agent do the rest.

> [card] [CLI reference](https://docs.akua.dev/cli.md)
>
> Discover generated commands and pass Workspace context.

> [card] [Platform MCP](https://docs.akua.dev/ai/platform-mcp.md)
>
> Search and call the Akua API from your AI tool.

> [card] [Documentation MCP](https://docs.akua.dev/ai/docs-mcp.md)
>
> Search current docs from your agent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.