Integrations (MCP)
Through the MCP server, Claude and other MCP clients query Aetherial, e.g. “Which stands in sector 2 still have no power?”. The client always reads as the person who connected it, with exactly their rights.
Who: only agency people with the admin right see the “Integrations” page. Anyone with a login can connect; the client then sees only what this person sees in Aetherial.
Where: navigation entry “Integrations”, page title “MCP server”.
Connecting
Section titled “Connecting”- On the “MCP server” page choose “Copy address” (the address ends in
/mcp). - Add the address in the MCP client as a server or connector (in Claude: add a custom connector).
- The client opens Aetherial in the browser: sign in (passkey or sign-in link).
- With several tenants, choose the tenant the client may read. The connection is valid for this tenant only.
- On the “Connect …?” page check which client connects and choose “Connect”. “Decline” cancels; the client gets no access.
If the agency removes a person’s access to the tenant, the very next call fails.
Command line (aeth)
Section titled “Command line (aeth)”aeth is the command line tool for Aetherial, e.g. for scripts. It is an MCP client: it uses the same tools with your rights and appears in the log with channel MCP and client aeth.
- Install: on macOS and Linux with Homebrew
brew install erwins-enkel/tap/aethor with the install scriptcurl --proto '=https' --tlsv1.2 -LsSf https://github.com/erwins-enkel/aeth/releases/latest/download/aeth-installer.sh | sh(putsaethin~/.local/bin). On Windows in PowerShell:powershell -ExecutionPolicy Bypass -c "irm https://github.com/erwins-enkel/aeth/releases/latest/download/aeth-installer.ps1 | iex". Or download the archive for your system from the releases; every file has a checksum (.sha256). - Version and updating:
aeth --versionshows the version. Update withbrew upgrade aethor run the install script again. If the server needs a newer version,aethstops before every command with the hint “too old” and exit code 5. - Sign in:
aeth loginshows a code and a link. Open the link in the browser, sign in (passkey or sign-in link) and check on the page “Sign in aeth?” that it shows the same code. The sign-in applies to the active tenant (“Switch tenant” picks another one). “Sign in” grants access, “Deny” cancels. A code is valid for 10 minutes and only for the person who opens it first. - Who am I:
aeth whoamishows person, tenant, role and the reachable events. - Sign out:
aeth logoutrevokes the access on the server and deletes it locally. This ends allaethsign-ins of the person in this tenant; the very next call fails. - Server: the default is
https://aetherial.events; another address via--urlor the environment variableAETH_URL.
Queries with aeth
Section titled “Queries with aeth”Every read tool has a command: aeth stands search, aeth stand get <stand-id>, aeth changes since <time>, aeth power plan, aeth defects list, aeth budget summary (agency and customer with finance only) and aeth events list. The commands come from the server’s tool list: aeth tool list shows every tool with its command, aeth <command> --help its options (e.g. --sector-id, --status, --power, --query). Every tool, also a new one without its own command, can be called with aeth tool call <name> --arg key=value; except tools that could delete or overwrite data.
- Event:
--eventwith name or ID. Without--event, the only non-archived event you can reach is used; with several,aethlists them and stops. - Output: a table in the terminal, JSON in scripts and pipes;
--tableor--jsonforce the format. The JSON is the server’s answer unchanged (amounts in cents, times in UTC). The table shows amounts in euros and times in Europe/Berlin, in your language (setting under “Account”, else German). - Rights: as in the app. What you may not see ends with an error message, never with an empty list; the same for a switched-off tool. Bank details never appear.
- Time for
changes since: with time zone, e.g.2027-06-10T07:00:00+02:00; the next page with--cursorfrom “Next page”. - Exit codes: 0 success, 1 tool error (e.g. no permission), 2 wrong call (unknown command or option, no event), 3 sign-in missing or expired, 4 server unreachable, 5
aethtoo old (update).
Proposals and defects with aeth
Section titled “Proposals and defects with aeth”From the terminal, changes are only proposals: the commands file a proposal that a person with the right to make the change approves or rejects in the changes inbox. Until then nothing changes.
aeth requirement propose --stand-id <id> --changes '[{"entity":"requirement","id":"<id>","field":"specText","value":"16 A"}]' --reason "…"proposes changed requirements, connections or sizes (IDs fromaeth stand get).aeth power assign --connection-id <id> --distributor-id <id>proposes assigning a connection to a distributor;--no-distributor-idunassigns it (IDs fromaeth power plan).aeth message draft --template-key storm --stand-ids <id>,<id> --values '{"maßnahme":"…"}'drafts a message to the vendors; it is only sent after approval.- The output shows the proposal ID and the link into the changes inbox.
aeth defect report --stand-id <id> --label "…" --deadline 2027-06-11T14:00:00+02:00reports a defect directly, as in the phone app (without SMS to the vendor).--photo <file>attaches a photo (JPEG, PNG or WebP, at most 3 MB).aethhas no command to delete, approve or force anything. Without the right, the command ends with an error message and an exit code other than 0.
The access is kept in the operating system’s keyring, never in a file, and never appears in the output. It is renewed automatically. Without sign-in, with expired or revoked access and when the server is unreachable, aeth ends with an error message and an exit code other than 0. The connection is listed under “Connected clients” and can be revoked there.
Scripts with a service token
Section titled “Scripts with a service token”Scripts and agents sign in without a browser using a service token. aeth then has exactly the token’s rights (role, event, “Read only”).
- Environment variable:
AETH_TOKEN=aet_… aeth stands searchuses the token without storing it; it takes precedence over a stored sign-in. - Store it:
aeth login --token -reads the token from standard input (not in the shell history) and keeps it in the keyring once the server accepts it.aeth logoutonly removes it locally; the agency revokes it. - An unknown, revoked or expired token ends with an error message and exit code 3. It is never renewed.
Administration with aeth
Section titled “Administration with aeth”Agency admins also manage integrations in the terminal, after aeth login (sign-in in the browser). With a service token or without the admin right every command ends with an error message. Other MCP clients such as Claude never see these tools.
aeth admin tokens listshows the valid service tokens,aeth admin tokens create --name "Morning report" --role customer --read-onlycreates one (event with--event, optionally--scheduleand--expires-at 2027-06-30T23:59:00+02:00). The token appears only in this output; Aetherial stores only a hash.aeth admin tokens revoke <id>revokes it: its very next call fails.aeth admin clients listshows the connected clients,aeth admin clients revoke <id>revokes a connection or a service token.aeth admin tools listshows the tool switches,aeth admin tools disable <tool>orenable <tool>switches one.stand.deletecan never be switched on here either.aeth admin callsshows the recent calls (--limitup to 100).
Every administrative action is logged with channel MCP and client aeth.
Service tokens
Section titled “Service tokens”For agents without a login, e.g. a morning report that sums up the changes every morning.
- Choose “Create service token”.
- Enter a name, Rights of role (e.g. customer), Event and optionally Read only, a schedule (information only, e.g. “daily 07:00”) and Valid until.
- “Create”: the token appears once. Copy it now and store it in the agent as
Authorization: Bearer …. Aetherial stores only a hash and never shows the token again.
The token has exactly the rights of the chosen role, without the admin right, bank data or staff personal data, and only in the chosen event. With “Read only” every write tool is refused; without it, it may file proposals but not report a defect (defect.report needs a person). The agent itself runs outside Aetherial; the schedule is only shown in the list.
Connected clients
Section titled “Connected clients”The list shows every OAuth connection (client, person, rights, since) and every valid service token (read only, event, schedule, rights, expiry). “Revoke” blocks at once: the very next call fails with “Access revoked or expired.”. A person must connect a revoked OAuth connection again.
Tool switches
Section titled “Tool switches”Each tool can be switched on or off for the tenant with the switch on the right. A switched-off tool answers “This tool is switched off for the tenant.”, never with an empty result. stand.delete can never be switched on. The switches apply to MCP, not to the assistant.
Recent calls
Section titled “Recent calls”The right column shows the tenant’s last 20 MCP calls from the log: time, tool, caller (person or service token name) and result, e.g. “results: 12” or “refused: no permission”. Arguments and answers are not shown.
The read tools change nothing.
| Tool | Returns | Who |
|---|---|---|
events.list |
Events of the tenant the person may see (for the event id) | everyone |
whoami |
Person (or service token), tenant, role and reachable events | everyone |
stands.search |
Stands by sector, category, status, power or search text | like the stand list |
stand.get |
One stand with time windows, requirements, on-site status, history | like the object detail |
changes.since |
Changes since a point in time (from the log) | like the log |
power.plan |
Booked connections and distributor load | like the power plan |
defects.list |
Open defects with deadline and photo links | like inspections & defects |
budget.summary |
Income, expenses and balance per plan version (totals, no positions) | agency and customer with finance |
Without the right, the tool answers “Refused: no permission.”, never with an empty result. Amounts come in cents (net), times in UTC.
stands.search leaves out cancelled stands (also in total), unless filtered by the status cancelled; stand.get still reads them.
Write tools change nothing directly: they create a proposal that a person approves or rejects in the event’s change inbox. The only exception is defect.report.
| Tool | Does | Rule |
|---|---|---|
requirement.propose |
Change a requirement: quantity or description of a requirement, connection type or kW, stand dimensions | approval required |
power.assign |
Assign a connection to a distributor (or remove the assignment) | approval required |
defect.report |
Report a defect (text or defect catalog entry, deadline), without photo and without SMS to the vendor | direct, logged |
message.draft |
Draft a message to vendors from a template (SMS or e-mail); it goes out on approval | approval required |
stand.delete |
– | not via MCP |
- Only someone who may see the target (e.g. the stand or the power plan) can propose.
defect.reportneeds the same right as reporting a defect in the mobile app. - Approval: a proposal is only executed if the approving person could make the change themselves. Otherwise “No permission” appears and the proposal stays open. If the value has changed since the proposal, it is not executed: reject it and ask for a new one.
- The stand’s area is responsible for approval (messages: agency without area restriction).
- Deleting is not possible via MCP.
For a cancelled stand, requirement.propose and power.assign refuse the proposal with a message.
Ground rules
Section titled “Ground rules”- Bank data (IBAN, BIC, account holder) and deposit accounts are never available via MCP, not even with the bank data right. The same applies to staff personal data.
- Management: creating and revoking service tokens, revoking connections and every switch appear in the log.
- Log: every call appears in the event’s log (visible to agency admins only) as “MCP call” with channel MCP, tool and result (e.g. “refused: no permission”). Search texts are not stored.
- Photo links in
defects.listopen only with a login that may see the photos.