nomad
nomad is a local MCP server for agentic remote development. It keeps source
code local while an AI agent syncs with rsync, runs commands over SSH, manages
long jobs in remote tmux, and pulls artifacts back into the project.
For Codex, use the project-scoped Streamable HTTP daemon. Stdio remains available for compatible clients and one-off use.
Features
- Multiple remote targets per local project.
- Project-local
.nomad.jsonconfiguration. - SSH preflight checks and read-only network diagnostics.
- Incremental
rsyncpush and guarded artifact pull. - Short remote commands and long-running
tmuxtasks. - Optional persistent reverse SSH tunnels.
- Path guards, dangerous-command checks, output limits, and secret redaction.
Requirements
- Python 3.11+,
ssh, andrsync - Key-based SSH access to remote targets
- Remote
tmuxwhen using long-running tasks
Daemon lifecycle management supports macOS, Linux, and other POSIX systems. Windows is not currently supported or tested.
Installation
Run the latest PyPI release without installing it globally:
uvx --from nomad-mcp nomad
Or install an isolated global command:
pipx install nomad-mcp
Codex Setup
nomad codex setup is an optional Codex configuration adapter, not a protocol
requirement. Any MCP host can use Nomad through the standard stdio or
Streamable HTTP transports without Codex configuration.
From the project you want Codex to control, run:
nomad codex setup --project "$PWD"
nomad codex doctor --project "$PWD"
The adapter starts or repairs a project daemon and writes only the trusted
project's .codex/config.toml. It never changes user-level Codex configuration
or project trust. Resolve any reported global conflict, then fully restart
Codex so it loads the project MCP entry.
Other MCP hosts can launch Nomad directly over stdio:
{
"mcpServers": {
"nomad": {
"command": "uvx",
"args": ["--from", "nomad-mcp", "nomad"]
}
}
}
Use nomad client-config to generate JSON or TOML for standard stdio or
Streamable HTTP clients. See Persistent MCP Daemon
for manual registration, lifecycle, security, and troubleshooting.
Quick Start
- Start and register the project daemon.
- Open Codex in the local project.
- Call
health, theninit_discover. - Select an SSH target and remote workspace.
- Save
.nomad.jsonwithinit_save_config. - Push code with
sync_push. - Use
run_remotefor short commands. - Use
task_startandtask_statusfor long jobs. - Pull artifacts with
sync_pull.
Use run_remote only for short synchronous work. Downloads, builds, training,
servers, and batch jobs belong in task_start. If a call with side effects
times out, inspect its status before retrying it.
Documentation
- Project overview
.nomad.jsonschema and examples- Tools and workflows
- Network and reverse tunnels
- Security model
- Context and output limits
- Workspace isolation
- Persistent MCP daemon
Safety
nomad executes commands over SSH and synchronizes files with rsync. Use it
only with trusted local projects and remote machines. Its guardrails reduce
risk, but cannot make an untrusted agent or host trustworthy.
Development
python -m pip install -e .[dev]
nomad doctor
python -m pytest
python -m compileall -q src tests
License
MIT
Metadata
Release files for nomad-mcp 0.2.3
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 |
|---|---|---|---|---|
| nomad_mcp-0.2.3.tar.gz | 71.9 kB | Without provenance | Details for nomad_mcp-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nomad_mcp-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for nomad_mcp-0.2.3-py3-none-any.whl |
Total release size: 152.3 kB
Release files / nomad_mcp-0.2.3.tar.gz
| Download URL | nomad_mcp-0.2.3.tar.gz |
|---|---|
| Size | 71.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bfb457fd684269d1e046ded7010ae8707638daba1963533e7ceead58632e3bd
|
|
BLAKE2b-256 checksum How to use checksums |
62b08469bb7e40945bcc64f6a0ee6693fa06597eec5dd8edd0a05bb9c5854c56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / nomad_mcp-0.2.3-py3-none-any.whl
| Download URL | nomad_mcp-0.2.3-py3-none-any.whl |
|---|---|
| Size | 80.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1110af8687e02cf959648a2f0b1a7d6ca8fd1f5cb6bade3876108f02fef3959
|
|
BLAKE2b-256 checksum How to use checksums |
27709dda4f51c8612811d157056c32b22b309a3ec2721154e3027a34dbf342f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for nomad-mcp 0.2.3
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.