Sentrinel's MCP server and CLI let a coding agent read production the way you would: the top issue, the exact request behind it, the trace, the log lines. Two things came up as soon as people used it on real work. They watch more than one app. And an install from last month quietly falls behind an API that moves every week.
A key is one app, so a second app is a second key
An agent key is pinned to one app, deliberately: a key on a laptop or in an agent config should expose exactly the app someone chose to expose, and a leaked one should reach nothing else. That also means sentrinel issues can never mix two apps together.
So watching a second app is a second key, installed as a profile:
curl -fsSL https://sentrinel.dev/install-mcp.sh | \
SENTRINEL_API_KEY=<that app's key> SENTRINEL_PROFILE=merchant bash
That registers sentrinel-merchant in your agent alongside plain sentrinel, and on the command line:
sentrinel apps # every key you have, the app it reaches, which is active
sentrinel use merchant # work on that one from now on
sentrinel issues # ...and this is merchant's now
SENTRINEL_PROFILE=merchant sentrinel issues # or just for one command
use sticks until you change it, and points the plain sentrinel server at that app on the agent's next session too. With both registered, name the app and the agent picks the right server: "check sentrinel-merchant for the top issue".
Each profile keeps its key in its own file under ~/.sentrinel, readable only by you. Only the profile name goes into the agent's config โ never the key.
Asking a better question than "the latest error"
list_issues defaults to what fired most recently, which is the right default and rarely the interesting question. sort changes what "top" means: occurrences for the bug generating the noise, users for the widest blast radius, first_seen for what has been broken longest while nobody fixed it.
"List the issues by occurrences and fix the top one" is usually a better instruction to an agent than "fix the latest error". The newest error is often a one-off; the most repeated one is costing you every minute.
Staying current, without trusting the download
An installed CLI checks once a day for a new version and applies it, so it does not rot against a changing API. You can also run sentrinel update yourself.
Auto-updating a tool that has a production key is exactly the kind of feature that has to be built carefully, because it is a way to run new code on your machine without you looking. Checksums alone do not make it safe: the manifest that lists them is served from the same place as the files, so anyone who could change one could change both.
So the manifest is signed with an ed25519 key whose private half never leaves the machine the site is built on, and every installed copy carries the public half. A manifest that is unsigned, or signed by anything else, is never applied. Each bundle must also match the sha256 the signed manifest names, and both the CLI and the server are verified before either is moved into place, so you can never end up with the two from different versions. The installer checks the same signature before it installs anything.
And an update can never hurt the command you actually ran. It happens after your command has printed its answer; being offline, a read-only directory or a refused download is silent and never changes the exit status. If you would rather update by hand, set SENTRINEL_AUTO_UPDATE=false.
Getting it
curl -fsSL https://sentrinel.dev/install-mcp.sh | SENTRINEL_API_KEY=<an AI agent key> bash
Issue the key under API Keys โ Generate โ AI agent. The read-only kind can see issues, logs, traces and requests; the "may resolve" kind can additionally mark an issue resolved, and nothing else. The agent reference has every tool and command.