codex-serverops-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex-serverops-mcpcheck the status of the nginx service"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex ServerOps MCP
Windows-first local MCP server for operating explicitly configured Linux servers from Codex through the Windows OpenSSH client. It keeps stateful Bash sessions alive, exposes structured file operations and supports guided sudo without sending passwords or key passphrases through MCP parameters.
Why this exists
Codex can already run commands such as:
ssh my-server "docker compose ps"But this is not the same as working inside a persistent remote environment.
Without a dedicated integration, Codex must repeatedly rebuild connection context, quote remote
commands correctly and reconstruct shell state for every operation. Working with password
authentication, long-running processes, interactive commands, changing directories, activated
virtual environments and sudo is especially awkward.
ServerOps MCP was built to solve that gap.
It provides Codex with persistent, broker-owned SSH sessions that keep their Bash state across multiple MCP calls. Codex can enter a project directory, activate a virtual environment, run commands, inspect output and continue working in the same remote shell.
Persistence does not make the shell indestructible. If a command exits or replaces the original Bash, or leaves it impossible to verify, ServerOps loses the session in a controlled way and never retries an uncertain command automatically.
Sensitive interaction remains local. SSH passwords, private-key passphrases, host-key decisions and interactive sudo authentication are handled in separate visible windows and are never sent through MCP tool arguments.
The goal is not to replace SSH or create a remote security sandbox. The goal is to turn an existing SSH-accessible Linux server into a practical, stateful workspace for Codex while continuing to use OpenSSH, Linux permissions and the operator's existing server configuration.
In practice, this enables workflows such as:
diagnosing services and containers over several related commands;
keeping the current directory and shell environment between operations;
controlling long-running or interactive terminal processes;
using password, key and guided sudo authentication without exposing credentials to Codex;
reading and safely patching configured remote project files; and
rediscovering broker-owned sessions after the disposable MCP process restarts, without rebuilding SSH or retrying a command.
Release status: version
0.1.0is the first public release. Its automated, packaging and contained integration gates are release-blocking. Real-network and visible credential checks remain documented operator evidence because public CI cannot reproduce a real SSH/sudo server. Start with disposable or non-production accounts while evaluating this initial release.
Related MCP server: ssh-mcp-server
What it provides
direct SSH targets and existing OpenSSH aliases;
a guided local profile assistant with password, existing-key and new-key workflows;
stateful SSH sessions that preserve working directory and shell environment while the original Bash remains healthy and controllable;
completed commands plus interactive terminal control;
structured UTF-8 reads and hash-protected normal-user file edits below configured roots;
explicit sudo acquisition, reuse and release plus optional separate root sessions;
local redacted JSONL audit events; and
a checkout-free
uvxinstaller for published releases.
The Linux server needs no ServerOps agent or daemon.
Requirements
Windows 10 or Windows 11;
Python 3.12 for the current release line;
Windows OpenSSH Client;
uv/uvx; andan SSH-accessible Linux account with Bash. Structured file tools additionally need the common utilities listed in Structured remote files.
Use a dedicated non-root SSH account and narrow server-side sudoers rules. ServerOps permissions guide which MCP tools are offered; they do not replace Linux permissions, backups or a remote sandbox.
Getting started
Version 0.1.0 is published on PyPI. Choose the matching path in
Windows installation and Doctor:
install the repository's Codex plugin marketplace;
use the direct exact-PyPI-pin Codex configuration; or
use the explicitly marked local-wheel flow when evaluating a development checkout.
After restarting Codex, follow Getting started to create the first profile, open a session and verify the connection without putting a credential into chat.
Codex plugin
The repository includes a local-first Codex plugin that starts the exact public package through
uvx and bundles the serverops-control safety workflow. Prepare local ServerOps state once:
uvx --from "codex-serverops-mcp==0.1.0" serverops-install setupThen install the repository marketplace and plugin:
codex plugin marketplace add cyyprezz/codex-serverops-mcp
codex plugin add codex-serverops-mcp@serverops-codexStart a new Codex task after installation. The plugin already supplies the serverops MCP entry;
do not keep or add a separate user-wide [mcp_servers.serverops] block. Existing users can preview
and then remove only the installer-managed block without deleting profiles, audit data, or the
broker task:
uvx --from "codex-serverops-mcp==0.1.0" serverops-install codex-config --remove
uvx --from "codex-serverops-mcp==0.1.0" serverops-install codex-config --remove --applyDocumentation
Development
uv sync --locked --all-groups --python 3.12
$env:PYTHONPATH = "src"
.\.venv\Scripts\python.exe -m unittest discover -s tests -v
.\.venv\Scripts\ruff.exe check .No credentials, private keys, host-specific configuration or generated runtime material belong in the repository. See SECURITY.md before reporting a vulnerability.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceA local Model Context Protocol server that allows LLMs to securely execute shell commands on remote Linux and Windows systems via SSH connections.Last updated6412
- Alicense-qualityDmaintenanceAn MCP server that enables remote SSH command execution and bidirectional file transfers through a standardized interface. It allows AI assistants to securely manage remote servers while keeping credentials isolated and applying command-level security controls.Last updatedISC
- Alicense-qualityBmaintenanceA local MCP server that proxies file and shell tools (Read, Write, Edit, Bash, etc.) to a remote Linux host over SSH, enabling MCP clients like Claude Code to operate on remote codebases.Last updatedMIT
- AlicenseAqualityBmaintenanceSSH orchestration MCP server for coding agents, enabling persistent bash sessions, hash-protected remote file editing, SFTP transfers, SSH tunnels, and multi-host orchestration with connection reuse across tools.Last updated143Apache 2.0
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Operate your own Linux servers from your LLM. Requires the SentinelX agent installed per host.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyyprezz/codex-serverops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server