Answers without the log dump
Search with regex, tail a file, or read around a matching line. Check service status, running processes, and disk usage.
Let Claude Code, Codex or Cursor read redacted production logs through MCP, without SSH access or copy-paste.
For solo developers, small SaaS teams, and people looking after client servers. Your agent talks to Aken through a local MCP server on your machine.
$ sudo aken collect \
--unit nginx --since 1h
aken collect: review before anything leaves this machine
Upload 2814 lines, 412.3 KiB, 1 chunk, TTL 4h, relay https://relay.aken.dev
Local /var/lib/aken/runs/ (kept 30 days; includes the placeholder mapping)
[s] send [v] view everything [f] view flagged lines [a] abort
“The timeouts start at 14:02. I’ll search the surrounding log lines for the upstream error.”
Your agent. Your workflow.
Less log wrangling. More debugging.
Your agent needs production context. So you open a terminal, find the logs, scrub a few values, paste a wall of text… and do it again for the next question.
Aken turns the logs you choose into a redacted, read-only view your agent can explore. It searches for the relevant lines, asks for more when it needs it, and helps you connect the dots.
One session. Room to investigate.From server to answer
Three steps. A clear boundary.
You decide what crosses it.
Aken can read files under /var/log, plus any directories you add with --allow. For a live session, keep it running while your agent investigates.
# Open a live session
$ sudo aken serve
# Or collect a snapshot to review first
$ sudo aken collect \
--unit nginx --since 1hConnect your agent to the local MCP, then join the session with the token from your server. Ask your agent where the errors started or what to check next.
$ aken-mcp join
# Paste the token at the prompt, not in chat.
Ask: Use the aken MCP to check the nginx journal for errors.By default, Aken asks you to approve your agent’s requests before running them. It redacts and sends the results, pausing for your review when it flags strings to inspect.
Job j7 from the agent: plan of 4 reads
[a] approve [d] deny [v] view params
14:02:07Z tail /var/log/app/app.log 100 lines, 2 strings to inspect
[s] send [d] dropSmall tool. Useful boundaries.
Search with regex, tail a file, or read around a matching line. Check service status, running processes, and disk usage.
The same value gets the same placeholder within a session, so your agent can connect events across lines. Add rules for your own app.
Read journald units, plain files, globs, and Docker logs using the journald driver. Choose sources without setting up a central log platform.
Live sessions expire after 8 hours by default and snapshots after 4. Set either to last up to 24 hours, or end a session early when you’re done.
Everything Aken sent and the placeholder mapping are kept locally for 30 days by default. Review exactly what you shared on your server.
All of Aken's code, including the relay, is open source under Apache-2.0. The hosted relay at relay.aken.dev is an operated service governed by the terms of service. Signed releases and reproducible builds help you verify what you run.
Read the sourceA clear line between context and access
Through Aken, your agent gets redacted, read-only results.
No shell, SSH key, or network path to production.
Redaction is an extra layer of protection and can miss sensitive data. Anything your agent reads goes to its model provider. The protocol and code have not been professionally reviewed.
Read the threat modelLog lines can carry prompt-injection attempts. Through Aken the agent only has read-only tools, but keep its other permissions tight.
Sandbox the agentBring your next “why is this failing?”
Install the collector on your server and the MCP on your machine. Open a session, connect your agent, and follow the evidence.
Collector: Linux amd64 / arm64
MCP: Linux x64 / arm64 · Apple Silicon macOS
Your server needs Linux amd64 or arm64, systemd/journald for service logs, and sudo to install. Your machine needs Linux x64 or arm64, or Apple Silicon macOS. The npm installer requires Node 18+. No Go toolchain needed. Windows and Intel Macs are not supported yet.
Free, no account, best effort, and run by one maintainer. Hosted in Germany (netcup, Cloudflare R2). Limits: 10 session creations per hour per address, 128 MiB per artifact, and a 24 h maximum lifetime. The relay counts, but does not yet enforce, two servers per developer address per 24 h. Relay details · Terms of service
curl -fsSL https://aken.dev/install.sh | sudo bashsudo aken serveThis prints a token. Keep the server terminal open while your agent investigates.
With Node 18 or later:
npm install -g aken-mcpWithout Node, use the script installer:
curl -fsSL https://aken.dev/install-mcp.sh | bashIf the installer prints a PATH instruction, follow it before registering your agent.
Register Claude Code in your terminal:
claude mcp add aken -- aken-mcp serveRegister Codex CLI in your terminal:
codex mcp add aken -- aken-mcp serveFor Cursor, add this to .cursor/mcp.json:
{
"mcpServers": {
"aken": {
"command": "aken-mcp",
"args": ["serve"]
}
}
}Merge the aken entry with any existing servers.
aken-mcp joinPaste the token from your server at the prompt. Keep it out of agent chat.
On your server, run this instead of steps 1 and 2. Then complete steps 3 and 4 on your machine.
curl -fsSL https://aken.dev/run.sh | sudo bash -s -- serveA few good questions
With aken serve, your agent investigates live while you approve its requests in your server terminal. It can read logs and files, list directories, and check service status, processes, and disk usage. Approve requests one at a time or as a plan of up to 40 reads. To share a fixed snapshot instead, use aken collect: review the redacted logs, then upload them for your agent to explore.
Through Aken, your agent gets a fixed set of read-only tools and cannot run arbitrary commands. File reads stay under /var/log or directories you allow, and only where the unprivileged collector user has permission. There is no remote shell or inbound listener. Aken does not remove access your agent already has through other tools; keep SSH keys and SSH agent sockets outside its sandbox.
Content is encrypted on your server and decrypted by the local MCP. In a live session, your agent’s requests are encrypted too. The relay has no content keys. It can see operational metadata such as identifiers, sizes, and expiry times. Free, no account, best effort, and run by one maintainer. Hosted in Germany (netcup, Cloudflare R2). Limits: 10 session creations per hour per address, 128 MiB per artifact, and a 24 h maximum lifetime. The relay counts, but does not yet enforce, two servers per developer address per 24 h. Read about the relay. Keep the token private. Anyone holding a snapshot token can read that snapshot until it expires, and a live session token pairs your machine with the collector.
The relay stops serving the content and any live session ends. Copies are kept locally for 30 days by default, and content already fetched or shared with a model provider is not recalled. Open a new session when you need fresh context.
All of Aken's code, including the relay, is open source under Apache-2.0. The hosted relay at relay.aken.dev is an operated service governed by the terms of service. You can run your own relay. You can inspect the code and verify signed releases before running anything on your server.