Help
Start here when something is not working.
The common tasks, the errors people actually hit, and where to go when neither of those covers it.
Where to start
Four ways in, depending on what you need.
- 01
New to Mneia
Install the CLI, connect an MCP client, and run your first checkpoint and rehydration end to end.
Read the quickstart - 02
Connecting an agent
The four tools the MCP server exposes, what each is for, and how to configure Claude Code, Cursor, or Codex to see them.
MCP server reference - 03
Day-to-day commands
Every command, its flags, its JSON output, and the exit codes worth branching on in CI.
CLI reference - 04
Understanding the model
The three operations, the vocabulary, provenance, and why a superseded item is kept rather than deleted.
Concepts
Common tasks
How do I…
- How do I connect a repository to a project?
- Run mneia init in the repository root. It writes .mneia/config.json, imports the constraints already sitting in your AGENTS.md, CLAUDE.md, or .cursor/rules, and writes a generated section back into AGENTS.md inside a fence it owns.Quickstart
- How do I authenticate a machine, or CI?
- Interactively, mneia login writes a token to ~/.mneia/credentials. Non-interactively, set MNEIA_TOKEN in the environment — that is the path for CI and for an MCP client that starts the server without a shell.CLI reference
- How do I see what the project already knows?
- mneia brief "<what you are about to work on>" prints the rehydrated slice for that task. mneia log shows the decision history newest first, and mneia status shows what is stale, disputed, or unanswered.CLI reference
- How do I record a decision without waiting for a checkpoint?
- Call mneia_assert the moment it is settled. A checkpoint is for a batch at a boundary; assert is for the single decision you do not want to lose in the next hour.MCP server reference
- How do I correct something that is now wrong?
- Supersede it rather than deleting it, by passing supersedesId on the replacement. The old item stays, marked superseded, which is what stops a fresh agent from proposing the approach the team already ruled out.Concepts
- How do I turn telemetry off?
- Set MNEIA_TELEMETRY=off in the environment of the CLI or the MCP server. Any of off, false, no, none, or 0 works, and an unrecognised value is rejected loudly rather than silently leaving telemetry on.CLI reference
- How do I point a client at a different API endpoint?
- Set MNEIA_API_URL, or pass --endpoint to mneia init to persist it in .mneia/config.json. The default is https://api.mneia.dev.CLI reference
Troubleshooting
What the error means, and what fixes it.
| Symptom | Why | Fix |
|---|---|---|
no Mneia project is bound to this directory | There is no .mneia/config.json where the command ran, so nothing tells it which project it is talking about. | Run mneia init in the repository root. If the repository is already bound elsewhere and you mean to rebind it, add --force. |
no Mneia credentials found | MNEIA_TOKEN is unset and ~/.mneia/credentials does not exist, so there is no token to authenticate with. | Run mneia login on a machine with a browser, or set MNEIA_TOKEN directly in CI and in your MCP client’s server configuration. |
MNEIA_TOKEN is set but empty | The variable exists with a blank or whitespace value — usually an unresolved secret reference in CI, or a shell export that lost its value. | Set it to the token value alone: no Bearer prefix, no quotes, no trailing newline. Unsetting it entirely falls back to the credentials file, which is often what you want locally. |
the config file is not valid JSON, or a field is rejected | A hand-edited .mneia/config.json. The file is validated on read, so a malformed binding fails immediately rather than half-working. | The error names the offending field. Fix that field, or delete the file and run mneia init to rewrite it. |
a command reports that it ships in a later milestone | handoff and pickup ship in M2; conflicts ships in M4. The CLI refuses to pretend a surface exists before it does. | Run mneia --help for the commands this build supports. There is nothing to fix locally. |
the MCP server exits immediately on startup | Configuration is resolved before the server accepts a connection, so a missing token or a malformed endpoint stops it there rather than failing on the first tool call. | The message names the variable at fault. MCP clients bury server stderr — check the client’s log pane before assuming the server is broken. |
a tool call comes back as an error rather than a result | Arguments are validated before anything is read or written, so an invalid call changes nothing. Every failure carries a code, a summary, and a remedy. | Correct the arguments and call again. If the failure repeats with the same code, it is ours rather than yours — send it to security@mneia.dev if it looks like exposure, and otherwise report it with the code. |
you need the underlying stack trace | The CLI prints a message and a fix rather than a stack, because a stack is rarely the useful part. | Set MNEIA_DEBUG=1 and re-run. Add --json to any command for machine-readable output, including the error shape. |
Still stuck
When the documentation does not cover it.
Mneia is pre-general-availability and there is no support desk yet. What exists instead is a small set of addresses that reach a person, and a documentation set we would rather fix than answer the same question twice from.
If something here is wrong or missing, that is a bug. Say so, and it gets corrected rather than filed.