# Connect the author MCP

> Give Claude Code, Claude Desktop or Cursor the tools of an author, locked in one folder: create, write and check content from a conversation.

You give your agent the tools of an author: it creates content from a skeleton, reads the guides and the standards, writes the files and checks them with the same rules as `alta lint`. Everything happens in one folder you choose. The server runs no command, opens no network connection, and never reads or writes outside that folder.

**Before you begin (5 minutes)**

- The `alta` command (see [Install the CLI](https://docs.altasystem.ai/start/install)).
- Claude Code, Claude Desktop, Cursor, or any client that speaks MCP.

### Choose the folder

`--root` is the only folder the agent can see. Every path is relative to it: an absolute path, `..`, a hidden name or a symbolic link is refused, and only `.json`, `.md` and `.txt` files are written. Start with an empty folder for your content.

```sh [Terminal]
mkdir my-content
cd my-content
```

### Add it to Claude Code

In the folder, add the server once. Claude Code starts it when it needs it, with the folder you were in as the root.

```sh [Terminal]
claude mcp add alta-author -- alta mcp --author --root .
```

### Or add it to Claude Desktop or Cursor

Desktop apps read a configuration file: Claude Desktop's `claude_desktop_config.json`, Cursor's `.cursor/mcp.json`. Add the server with the absolute path of your folder, then restart the app. If the app does not find `alta`, give its full path, as `which alta` prints it.

```json [mcp.json]
{
  "mcpServers": {
    "alta-author": {
      "command": "alta",
      "args": [
        "mcp",
        "--author",
        "--root",
        "/Users/you/my-content"
      ]
    }
  }
}
```

### Know its tools

The agent works in a loop: it looks up what it can make, reads the guide, creates a skeleton, writes, and checks until everything passes. Each problem comes back with the file, the field, the rule and the link to its fix.

| Tool | What it does |
|---|---|
| `genres`, `docs`, `schema` | what can be made, the guides and standards, the schema of a file |
| `executors`, `checks`, `step` | what a step can run and prove; check steps on their own |
| `scaffold` | creates content from a skeleton, already checked |
| `list`, `read`, `write` | the files of the folder |
| `check` | checks a file or a folder, as `alta lint` |
| `pack` | the digest of a folder, without writing anything |

```text [What the agent calls]
scaffold { "genre": "quest-pack", "id": "my-pack", "dir": "my-pack" }
read     { "path": "my-pack/quests.json" }
write    { "path": "my-pack/quests.json", "content": "…", "overwrite": true }
check    { "path": "my-pack" }
```

### Ask for content, then check it yourself

Ask your agent, for example: "Create a quest pack named my-pack with a step that names the assistant, and check it." When it is done, check the folder yourself: it is the same check.

```sh [Terminal]
alta lint my-pack
```

```text [Output]
ok   my-pack/quests.json (quests)
1 checked, 0 errors, 0 warnings
```

**Try it:**

```sh
alta dev my-pack
```

Open the address it prints: what your agent wrote is in the game. Nothing runs on your machine.

## Pitfalls

| Do | Avoid |
|---|---|
| One folder of content as the root | Your home folder as the root: the agent sees all of it |
| Check the whole folder: a guide only knows the quests and scenes of its folder | Checking one file alone, then wondering why a quest is unknown |
| Read what the agent wrote before you share it | Publishing without reading: the check proves the shape, not the meaning |

Known limits, said plainly: this is the author profile only. The server does not play the game, run an action or publish anything: `pack` gives a digest and writes nothing, and `alta publish` stays a command you run.

## Go further

- [MCP](https://docs.altasystem.ai/reference/mcp/): the servers, their tools and the consent rules.
- [Set up the author MCP](https://docs.altasystem.ai/reference/mcp/setup): every option.
- [Use with your agent](https://docs.altasystem.ai/start/agents): the other ways an agent reads these docs.

**Next:**

- [Make a step that does it](https://docs.altasystem.ai/guides/quests/do-it-step)
- [Validate in CI](https://docs.altasystem.ai/guides/tools/validate-ci)
- [MCP](https://docs.altasystem.ai/reference/mcp/)
