rigout
An MCP server that gives an AI agent a shell and the files on your machine. Start it, give your agent the command it prints, and the agent works there.
Install
pipx install rigout
Or run it without installing: uvx rigout. Needs Python 3.10 or newer.
Use
On the machine the agent should work on, in the folder it should start in:
rigout # this machine only, at http://127.0.0.1:8765/mcp
rigout share # reachable from anywhere, through a Cloudflare tunnel
It prints the URL, a token and the command for Claude Code:
claude mcp add --transport http rigout <url> --header "Authorization: Bearer <token>"
rigout share also copies that command to the clipboard when it can. For other clients:
rigout url --client cursor # or vscode, or raw
A client that starts local servers itself can run rigout stdio instead, with no URL or token.
Tools
| Tool | Does |
|---|---|
run |
Runs a shell command and returns its exit code and output. A command still running after about 50 seconds keeps going as a job. |
process |
Reads a job's output, waits for it, stops it, or lists jobs. |
read |
Reads a text file with line numbers. |
write |
Creates or replaces a file. |
edit |
Replaces an exact piece of text in a file. |
ls |
Lists a folder. |
glob |
Finds files by pattern, such as **/*.py. |
grep |
Searches file contents. Uses ripgrep when it is installed. |
Four tools are read-only (read, ls, glob, grep) and four can change the machine
(run, process, write, edit). Each is marked that way for the client, so a client can
approve reads on its own and ask about the rest.
Relative paths and commands start in the workspace: the folder rigout was started in, or
--workspace DIR. The agent is told this, and which shell run uses, when it connects.
Access
Rigout gives the agent the same access you have. There is no list of blocked commands.
Every request needs the token. It is created once, kept in your user state folder, and printed at
each start. Anyone with the URL and the token can run commands as you, so keep the token private.
rigout token --reset replaces it.
rigout share uses a quick tunnel, whose URL changes each start. For a URL that stays the same,
create a named Cloudflare tunnel with a hostname once, then run:
rigout share --tunnel NAME --hostname rigout.example.com
If cloudflared is not installed, rigout downloads it the first time.
Commands
rigout serve [--workspace DIR] [--port 8765] [--host 127.0.0.1]
rigout share [--workspace DIR] [--port 8765] [--tunnel NAME --hostname HOST]
rigout url [--client claude|cursor|vscode|raw]
rigout token [--reset]
rigout stdio [--workspace DIR]
rigout on its own is rigout serve.
License
Apache-2.0
Metadata
Release files for rigout 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rigout-0.4.1.tar.gz | 23.9 kB | With provenance | Details for rigout-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rigout-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for rigout-0.4.1-py3-none-any.whl |
Total release size: 50.9 kB
Release files / rigout-0.4.1.tar.gz
| Download URL | rigout-0.4.1.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25346664906183b74c6f70a46dfd0182cce1771dfef3e9263a8541b9350b0b9c
|
|
BLAKE2b-256 checksum How to use checksums |
eb50e450988c4ba4570859b51a5b0bcb42de8a38aff9312a44b31b0adbfdb503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / rigout-0.4.1-py3-none-any.whl
| Download URL | rigout-0.4.1-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6000295a54c8ae95e5f78ab8097f19a591c9dd7b23db435317aa67d49681c40a
|
|
BLAKE2b-256 checksum How to use checksums |
d31764735c6134b83def1724a179857a3c64cd0ea3fa64bd47d924c6dd727234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for rigout 0.4.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rigout-0.4.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.