Quickstart
Build the Aether server, leave it running, and connect Claude Code to it.
Before you start#
- Node 22.13 or later.
- Claude Code, on the same PC.
- A checkout of the Aether repository.
Start the shared server#
Build it#
In the repository folder, install the dependencies and build.
npm installnpm run buildRun it#
Start the server with the --http flag and leave it running. It listens on 127.0.0.1 port 9700 and answers only to local requests.
node dist/cli/main.js mcp --httpAdd --port to change the port and --host to change the address. -C sets the folder a client gets when it reports none.
Connect Claude Code#
Register Aether for your user account so every folder can use it. aether is the bin entry of the package, which points at dist/cli/main.js.
aether install mcp --scope userThe entry this command writes starts one server over stdio for one session. To use the shared server instead, make the aether entry point at its URL in ~/.claude.json.
{ "type": "http", "url": "http://127.0.0.1:9700/mcp"}Check the connection#
Start a new Claude Code session and ask it to call the compute tool of Aether with op set to list. The tool documents itself, so the answer is the list of every operation it can run.
The tool list comes from the server without opening your folder, so it shows at once. The folder opens on the first tool call.
What your agent can call#
| Tools | What they do |
|---|---|
compute | Deterministic operations: math.eval, stats.*, json.get and json.set, base64, hex and hashes. |
diagram | Checks, lays out and renders diagrams of five types as SVG or HTML. |
jsonlogic_generate, jsonlogic_validate | Write and check JSON Logic rules. |
memory_query, memory_write, memory_stats, memory_reflect | Work on the memory files of the project, under ~/.claude/projects/<slug>/memory. |
find_symbol, find_dependents, impact_of, search_context, read_context | Search the code index of your folder: symbols, imports and text. The index builds in the background on the first call. |
search_tools, get_schema, call_tool | Reach other MCP servers through Aether. They start on first use, tool names read server.tool, and their output is labelled untrusted. |
gateway_stats, gateway_status | Read-only: calls, errors and p50 and p95 times per server and tool, and the state of each other server. |
How sessions share the server#
- A session's folder is the first MCP root its client reports. A client that reports none gets the folder set with
-C. - Sessions in one folder share one code index and one set of other servers. Aether closes them after 10 idle minutes.
- An idle session is closed after an hour. After a restart the old session id is unknown, so the server answers 404 and the client starts a new session.
- A request whose Host is not
127.0.0.1:<port>orlocalhost:<port>, or whose Origin is not loopback, gets 403.
Add other MCP servers#
Other MCP servers are rows under downstream.servers in ~/.aether/config.json. A local row has command, args, cwd and env, where env holds variable names only. A remote row has url and headers. Every row accepts idleTimeoutMs, allow and risk.
Aether reads this section from the global file only, so the config of a project cannot add a server or repoint one.