This release is a pre-release and may not be stable for production use.
Elytra
Local guardrails for coding agents. Elytra checks what Claude Code, Codex, Grok and Antigravity do (shell commands, file edits, web access and MCP tool calls) and holds consequential actions for your decision before they run.
Elytra is early access software. Everything runs on your machine: the runtime, the console and the decision records. There is no account to create.
Website and documentation: https://elytra-gray.vercel.app
Install
Python 3.11 or newer, on macOS or Linux.
pipx install elytra-mcp # or: python3 -m pip install elytra-mcp
elytra setup # guided, asks before it changes anything
# restart your agent, then work as usual
elytra open # review held actions in the local console
elytra status # what is protected
elytra uninstall # restore every agent configuration exactly
What setup does
- Runs the local runtime as a background service (launchd on macOS,
systemd --useron Linux). - Installs action hooks for Claude Code, Codex (a local plugin you trust once), Grok and Antigravity.
- Wraps local stdio MCP servers for Claude Code, Cursor, Claude Desktop, Windsurf, VS Code, Antigravity, Codex and Grok, with a backup of each configuration.
- Offers suggested classifications for recognized MCP servers. Unlisted or changed tools wait for your review.
- Applies a guardrail preset.
| Preset | Behavior |
|---|---|
| Balanced (default) | Reads run. Writes run in a clean session. Writes after the agent reads untrusted content, sends, and deletes ask you. Sending data out after untrusted reads is blocked. |
| Cautious | Every write and send asks you. |
| Autonomous | Only destructive actions ask you. Sending data out after untrusted reads is blocked. |
Agent actions are classified as reads, untrusted web reads, edits, unrecognized commands (treated as writes), sends (push, post, publish, upload), and deletes or history rewrites.
When an action needs you, Claude Code and Grok show their own prompt with Elytra's reason. Codex, Antigravity, and any agent running with permissions bypassed wait up to ten minutes while Elytra sends a desktop notification; an action nobody approves is denied.
Limits
- Shell classification is a heuristic. A disguised command, or a script the agent writes and runs, may only be recognized as an unrecognized command, which is treated as a write.
- Self-protection is best-effort. Elytra denies agents reading its credentials or calling its local API, but any process running as you can read your files.
- Coverage is per agent process, not per conversation.
- If the runtime is not running, actions go through with a visible warning, unless you set up with
--fail-closed. - Remote HTTP MCP servers are not proxied; their calls are seen through agent hooks.
Read what Elytra does and does not establish before relying on it.
Python integration
Orchestrators that create runs explicitly can use the SDK directly:
from mirage_mcp.sdk import RuntimeClient
owner = RuntimeClient()
run = owner.create_run(intent="Inspect an issue", grants=[])
scoped = owner.for_run(run["run_id"], run["run_token"])
See the documentation for exact grants, approvals and the stdio bridge.
Upgrade and uninstall
pipx upgrade elytra-mcp && elytra service restart
elytra uninstall && pipx uninstall elytra-mcp
Local records in ~/.elytra remain until you delete them.
MIT licensed.
Metadata
Release files for elytra-mcp 0.4.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elytra_mcp-0.4.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / elytra_mcp-0.4.0a1-py3-none-any.whl
| Download URL | elytra_mcp-0.4.0a1-py3-none-any.whl |
|---|---|
| Size | 472.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dabd7fd3d01226e22d39058c4a4e688bf888e28c2723ae5ad87f13c23e652dee
|
|
BLAKE2b-256 checksum How to use checksums |
2fb2de0f51701aa4f506a6d236caa1884c22b16154e3dad4116b90cac24c0d95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for elytra-mcp 0.4.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.