Skip to content

Tools of the author MCP ​

Every tool the author server offers, as it lists them to an agent (tools/list). The server works inside one folder, its root: it never runs a command, never opens the network and never writes outside the root.

Set it up: Setup.

At a glance ​

ToolWhat it doesEffect
genresGenres of contentreads only
schemaJSON Schema of a content filereads only
docsGuides, standards and examplesreads only
executorsWhat a step can runreads only
checksWhat a step can provereads only
stepCheck steps on their ownreads only
scaffoldNew content from a skeletonwrites in the root
listFiles of the rootreads only
readRead a file of the rootreads only
writeWrite a file of the rootwrites in the root
checkValidate contentreads only
packPack (dry run)reads only

genres ​

Genres of content. Lists the genres of content an author can make (quest pack, onboarding and its axis variants, cinematics, universe, item, mission), the files each one is made of, the kind check reports, and the guide, standard and example to read. Start here.

No argument.

schema ​

JSON Schema of a content file. Returns the JSON Schema (draft 2020-12) of a content file, by name (alta.quests, alta.onboarding, alta.cinematics, alta.universe, alta.chart, alta.game, alta.catalog, alta.license). Without a name, lists them. The schema gives the shape; check gives the full rules.

NameTypeRequiredDescription
namestring (one of 10)no

docs ​

Guides, standards and examples. Reads a page of the documentation, read only: a guide (site/guides/quests/do-it-step, site/concepts/do-it, …), a standard (standards/alta-onboarding-0.2, …) or an example file (examples/axes/agent/onboarding.agent.json, …). Without a name, lists the pages. Copy from the examples: they are valid.

NameTypeRequiredDescription
namestring (one of 282)no

executors ​

What a step can run. The closed list of executors a step may name in run.do (alta.game/0.3): what each does on the player's machine, the arguments it takes from run.args (kind, closed list, bounds, required), whether it shows a plan card, how it is undone, how a secret reaches it, where it runs (systems, hosted) and the capability the owner must allow. Give id for one executor.

NameTypeRequiredDescription
idstringnoOne executor, e.g. setup.daemon-name.

Example ​

The agent sends:

json
{
  "name": "executors",
  "arguments": {
    "id": "channel.connect"
  }
}

It gets back:

text
A step that does it: "kind": "action", "inputs" (a form), "run": { "do": <executor>, "args": { <name>: literal | { "input": id } | { "answer": "answers.<key>" } } }, and a read-only "check" that proves it.
- channel.connect: Connects a chat channel (Telegram, WhatsApp): the bot token typed in the card, or the channel's own login. Args: channel (telegram|whatsapp), token (secret, optional). Card: plan; secret via tool, page, terminal; macos/linux, hosted too.

checks ​

What a step can prove. Every check type a step may declare in check (alta.game/0.3): its fields, when it passes (read only), who answers it, the version that added it, and an example. Also the input kinds a step may ask for and the reasons a step stays with the player (human). Give type for one check.

NameTypeRequiredDescription
typestringnoOne check type, e.g. permission.

step ​

Check steps on their own. Checks one step, or the steps of one quest, with the rules of alta.quests/0.3 (inputs, run.args references, executor arguments, secrets, human, provenBy, check fields) without a file. Each problem has its rule, the validator's words (detail), a hint read from the step (the inputs it has, the arguments its executor takes) and the fix. Use it while you write a step, then write the file and check it.

NameTypeRequiredDescription
stepsarray (≤ 40)yesThe steps, as they go in a quest's "steps" (provenBy may name one of them).

Example ​

The agent sends:

json
{
  "name": "step",
  "arguments": {
    "steps": [
      {
        "id": "connect",
        "kind": "action",
        "title": {
          "en": "Connect Telegram",
          "fr": "Branche Telegram"
        },
        "inputs": [
          {
            "id": "token",
            "kind": "secret",
            "label": {
              "en": "Bot token",
              "fr": "Jeton du bot"
            }
          }
        ],
        "run": {
          "do": "channel.connect",
          "args": {
            "channel": "telegram",
            "token": {
              "input": "tokn"
            }
          }
        },
        "check": {
          "type": "channel",
          "id": "telegram"
        }
      }
    ]
  }
}

It gets back:

text
error: steps[0].run.args.token: run.args.token: unknown input tokn [step.input-ref]
  hint: this step's inputs: token (secret)
  fix: Write `{ "input": "<id of an input of this step>" }` or `{ "answer": "answers.<key>" }`, and feed every input to an argument (or `saves` it).
error: steps[0].inputs[0]: input token is not used by run.args [step.input-ref]
  hint: this step's inputs: token (secret)
  fix: Write `{ "input": "<id of an input of this step>" }` or `{ "answer": "answers.<key>" }`, and feed every input to an argument (or `saves` it).

scaffold ​

New content from a skeleton. Writes the skeleton of a genre into a folder of the root (default: a folder named after the id), valid as written, then checks it. For an onboarding variant of an axis, give axis: the file is onboarding.<axis>.json. Edit the texts afterwards (read, write) and check again.

NameTypeRequiredDescription
genrechart, quest-pack, onboarding, cinematics, universe, mission, signinyesWhat to make (see genres).
idstringyesLower-case id of the new content: letters, digits, dashes; 2 to 32 characters.
dirstringnoFolder of the root to write in (default: the id). Path relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.
branchstringnoBranch a quest pack, mission or item joins (default core).
axisstringnoOnboarding only: the axis of the variant (play, agent, fleet, open, store, cockpit, or your own).
templatelink-code, device-code, email-link, secret, tool-browsernosignin only: the sign-in template (default link-code).
toolclaude, codex, gh, practicenosignin only: the tool (default: the template's own); it must offer the template.
overwritebooleannoReplace files that are already there (default false).

Example ​

The agent sends:

json
{
  "name": "scaffold",
  "arguments": {
    "genre": "quest-pack",
    "id": "my-pack"
  }
}

It gets back:

text
created my-pack/quests.json (quest-pack, id my-pack)
ok   my-pack/quests.json (quests)
1 checked, 0 errors, 0 warnings
next: read the files, change the texts (write with overwrite: true), then check my-pack

list ​

Files of the root. Lists the files and folders under a folder of the root (default the root), without hidden names; symbolic links are shown, not followed.

NameTypeRequiredDescription
dirstringnoPath relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.
depthintegernoHow deep to go (default 4).

read ​

Read a file of the root. Reads a text file of the root (at most 524288 bytes). Hidden names, key files and symbolic links are refused.

NameTypeRequiredDescription
pathstringyesPath relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.

write ​

Write a file of the root. Writes a .json, .md, .txt file inside the root (at most 1048576 bytes), creating its folders. A .json file must parse, and its folder is checked right after (the report is in the result). An existing file is replaced only with overwrite: true.

NameTypeRequiredDescription
pathstringyesPath relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.
contentstringyesThe whole text of the file.
overwritebooleannoReplace the file if it exists (default false).

check ​

Validate content. Validates content files (a .json with a "schema", or a universe folder) under a path of the root, against the game of Alta OS. Every problem names the file, the field, the rule and the page of the standard that states it; fix them and check again until ok is true. Warnings do not fail unless strict.

NameTypeRequiredDescription
pathstringnoFile or folder to check (default the root). Path relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.
strictbooleannoWarnings fail too.

Example ​

The agent sends:

json
{
  "name": "check",
  "arguments": {
    "path": "my-pack"
  }
}

It gets back:

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

pack ​

Pack (dry run). Dry run of alta package: checks a folder of the root, then computes its deterministic archive in memory and returns the archive's sha256, the tree digest (alta.tree/1, what an item's source.sha256 carries) and the files. Writes nothing, sends nothing.

NameTypeRequiredDescription
dirstringyesFolder to pack. Path relative to the root ("/" between folders). Absolute paths, "..", hidden names and symbolic links are refused.

Alta OS is open source (MIT).