
Codex ServerOps MCP
io.github.cyyprezzPublished by GitHub account cyyprezzv0.1.0Updated Oct 24, 2026
Stateful Windows OpenSSH server operations for Codex with local credential handling.
Overview
Lets an assistant run stateful Bash sessions on your own Linux servers over Windows OpenSSH, with explicit profiles, structured file tools and visible local…
- What you can do
- Manage explicit server profiles and start or reconnect to sessions without putting credentials in chat
- Run completed Bash commands in a held session that keeps working directory and shell environment, with exit code, duration and truncation reported
- Drive an interactive terminal with cursor reads, input, interrupt, resize and status
- List, read, search, hash, write, patch, rename, create and remove UTF-8 text files inside configured roots, optionally with SHA-256 preconditions
- Handle OpenSSH authentication, host-key decisions and guided sudo through separate visible local windows, with a redacted local audit log
- When to use it
- Useful when you repeatedly operate the same Linux servers from Codex or Claude Code and want persistent shell state, reviewable structured file edits and explicit evidence instead of one-off SSH commands. Best for diagnosis, project work and controlled changes on servers you already administer.
- Requirements
- Windows 10 or 11 with Windows OpenSSH Client, Python 3.12 and uv/uvx; the package runs locally over stdio. An SSH-accessible Linux account with Bash, plus common utilities for structured file tools. Server profiles are created through a local assistant window; no API keys or environment variables are declared.
Installation
In SourceWeft
- Open Codex ServerOps MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ServerOps
[CI] [PyPI] [Python] [License]
Operate the Linux servers you choose from Codex or Claude Code—through normal conversation, without installing a ServerOps agent on them.
ServerOps keeps useful Bash state between operations, returns structured evidence, and opens visible local windows when OpenSSH or sudo needs input. It is for freelancers, agencies, support teams, project owners, and operators who need reliable server work without living in an SSH terminal.
Three promises
Easy to start
Thin Codex and Claude Code plugins connect to one shared ServerOps core. A guided local assistant creates explicit server profiles without putting credentials into chat.
Easy to operate
Ask for an outcome in normal language. ServerOps keeps the working directory and shell environment in a held Bash session, supports interactive terminal work, and returns bounded, structured results instead of an uncontrolled wall of terminal text.
Reliable when outcomes matter
Sessions belong to a local broker-owned worker rather than the disposable MCP process. If the
result of a remote mutation is uncertain, ServerOps reports outcome_unknown and never retries it
automatically. Linux permissions, explicit profiles, visible authentication, controlled elevation,
hash preconditions, and a redacted local audit form the trust layer.
See it in action
These are realistic prompts for the eight tools available today:
See the step-by-step reproducible demo for expected evidence and safe boundaries.
Available today
- Explicit profiles and a visible local profile assistant.
- Broker-owned, stateful Bash sessions with completed-command and interactive-terminal modes.
- Rediscovery after an MCP-client restart when the optional managed broker task is installed and the broker, worker, and Bash remain alive.
- Explicit unknown-outcome errors with no automatic retry of uncertain mutations.
- Bounded structured UTF-8 text operations inside configured roots, with optional SHA-256 preconditions for edits.
- Visible local OpenSSH authentication and host-key decisions, plus guided sudo and optional root sessions.
- Redacted local JSONL audit events without remote output or file contents.
- One eight-tool MCP core with thin Codex and Claude Code wrappers.
- Automatic, idempotent local bootstrap on first MCP start.
- A native Claude Code marketplace and plugin beside Codex.
- No ServerOps agent or daemon installed on the Linux server.
The current runtime is Windows-first and uses Windows OpenSSH to reach Linux. The detailed tool reference defines the exact operations and schemas.
Codex quickstart
Install the repository marketplace and plugin. The pinned 0.1.1 MCP creates its own local state
on first start; no prior setup command is required:
Start a new Codex task. Do not add a separate user-wide [mcp_servers.serverops] block when using
the plugin. If a previous installer created that alternative block, preview its removal with
serverops-install codex-config --remove, then repeat with --apply only after review. This keeps
profiles and audit data. Begin without contacting a server:
Claude Code quickstart
The Claude Code wrapper uses the same pinned 0.1.1 runtime and client-neutral skills:
If the GitHub shorthand requires an SSH key that is not configured, add the marketplace through HTTPS instead:
Start a new Claude Code session (or reload plugins) and use the same safe first prompt.
Automatic local bootstrap
Version 0.1.1 starts without a separate setup command. MCP, broker, setup, check, Doctor, and
update share one idempotent bootstrap that prepares only ServerOps-owned local state: the app,
configuration, runtime, audit, migration, and status paths for the current user.
The bootstrap does not edit Codex or Claude configuration, install a Scheduled Task, create a profile, contact a server, request administrator rights, or overwrite an unmanaged file. The visible profile assistant remains the first possible server contact.
The explicit serverops-install setup command remains compatible and idempotent for maintenance
and for previewing the optional broker task; it is no longer a plugin prerequisite.
Optional installer and broker task
The version-pinned installer can check the shared runtime or a client path:
doctor --client codex also checks the alternative installer-managed user configuration. A
plugin-only Codex installation can therefore warn that this optional block is absent; that warning
does not prove the plugin is broken.
Install the managed current-user broker task only when live sessions must be reliably rediscovered after an MCP client process restarts. Preview first, then apply explicitly:
The task requests no administrator elevation and stores no password. It does not make sessions survive a Windows reboot or broker crash; the current broker does not adopt orphaned workers.
Typical workflows
Customer server check
Select the named customer profile, start read-only, confirm target and identity, inspect only the relevant service evidence, and report facts, hypotheses, gaps, and any changes separately.
Remote project work
Enter a project directory once, retain its shell environment across calls, run bounded commands, and use structured file reads or preconditioned text edits for configured paths.
Interactive or longer-running work
Use the terminal only when a command genuinely needs interaction, incremental output, interrupt, resize, or retained terminal state. Completed commands can run for up to the configured maximum of 3600 seconds and return exit code, duration, CWD, and truncation state.
Configured remote files
List, inspect, search, read, hash, write, patch, rename, create, or remove UTF-8 text paths inside a profile's configured roots. These roots constrain the structured file tools; they do not sandbox shell commands or replace backups.
Authentication and sudo
Passwords, key passphrases, host-key decisions, and interactive sudo input stay in separate visible local windows. ServerOps can use existing OpenSSH behavior or guide a controlled key transition. Sudo remains governed by the server's PAM and sudoers policy.
One-off SSH command or ServerOps?
ServerOps does not replace SSH. It uses OpenSSH and adds a stateful, structured boundary for AI-led operations where repeated one-off commands become fragile or difficult to review.
Architecture
The MCP process exposes eight tools. The broker owns session routing, each worker owns exactly one SSH/Bash process, and no ServerOps component is installed remotely. See Architecture and Broker lifecycle.
Requirements and honest limits
- Windows 10 or 11, Python 3.12,
uv/uvx, and Windows OpenSSH Client for the current release. - An SSH-accessible Linux account with Bash; structured files require the common utilities listed in Structured remote files.
- ServerOps is alpha software. Start with a disposable or non-production account and narrow Linux permissions.
- Stateful means process-held: no durable jobs, resume after reboot, or worker adoption after a broker crash.
- Structured files are bounded UTF-8 text operations, not binary or resumable transfers and not a transactional filesystem.
allowed_rootsconstrain only structured file tools. Shell commands retain the SSH user's real permissions.- ServerOps makes no exactly-once promise. A timeout or connection loss after delivery can leave an effect unknown and requires read-only verification.
- First-class clients today are Codex and Claude Code. Claude Desktop, Cherry Studio, and other desktop-client onboarding are planned, not shipped.
- There is no
ServerOpsSetup.exeyet; the public release requires Python 3.12 anduvx.
Capability status
The machine-readable capability contract keeps this table, evidence paths, tool names, marketplace identities, and public version pins testable.
Roadmap
- 0.1.1A: Claude Code, neutral branding, automatic local bootstrap, project foundations.
- 0.1.1B: this evidence-led product presentation and reproducible demo.
- 0.1.1C: synchronized version pins, clean-machine cold starts, lifecycle regressions, commit-bound release evidence, and publication hardening.
- 0.1.2: self-contained Windows packaging, graphical onboarding, and explicitly confirmed desktop-client integration.
- 0.2–0.5: durable operations, investigations, fleet-safe changes, backup assurance, and narrow native adapters.
See ROADMAP.md for the phase definitions. Planned items are not available features.
Documentation and project
- Getting started and reproducible demo
- Installation, update, Doctor, and uninstall
- Profiles, tools, and troubleshooting
- Authentication, elevation, structured files, and security model
- Architecture, ADRs, and release evidence
- 0.1.1 release notes, migration and rollback, and release checklist
- Changelog, artifact plan, and contributing guide
For support, open a GitHub issue without credentials, private keys, customer hostnames, or production output. Report vulnerabilities through SECURITY.md. ServerOps is available under the MIT License.
Source: README.md at commit b734275
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts