MCP Ops Toolkit
Integrates with Cloudflare to manage Cloudflare resources such as DNS, workers, and other services via a bridge adapter.
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., "@MCP Ops Toolkitcheck git status of current repository"
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.
MCP Ops Toolkit
中文说明 | English
A self-hosted Model Context Protocol (MCP) operations gateway for Linux control hosts. It provides a compact tool surface for safe filesystem and Git operations, authenticated HTTP transport, ChatGPT attachment upload, native file reading, SSH/SFTP adapters, and optional infrastructure integrations.
Security warning: this project can expose highly privileged operations. The unrestricted root-shell path is disabled by default. Audit the code, keep the service on loopback behind an authenticated reverse proxy or tunnel, use a dedicated Unix account, and allowlist every privileged bridge.
Highlights
Compact FastMCP facade designed to keep tool discovery manageable.
Constant-time Bearer or
X-API-Keyauthentication for Streamable HTTP.Atomic binary attachment upload with size limits, SHA-256 verification, overwrite protection, and backup support.
Native MCP text, image, and blob responses for local files.
Structured filesystem, Git, Python, Node, and npm operations through a root-owned bridge.
Persistent SSH sessions, argv-based remote execution, terminal I/O, and SFTP-style transfer through an external allowlisted bridge.
Optional Azure, Cloudflare, control-plane, and encrypted secret-broker adapters.
Optional full root shell with bounded runtime, bounded output files, output paging, and explicit opt-in.
Related MCP server: git-mcp-server
Repository layout
compact_app.py: the compact public MCP tool surface.http_server.py: authenticated Streamable HTTP entrypoint.mcp_main.py: stdio entrypoint.safe_ops.py/safe_ops_bridge.py: structured local operations.file_content.py: native MCP file responses.server.py: control-plane and optional root-shell implementation.azure_tools.py,cloudflare_tools.py,ssh_tools.py,secret_tools.py: optional bridge adapters.deploy/systemd/: generic systemd and sudoers examples.
Quick start
git clone https://github.com/gaojiefengxswhuhit/mcp-ops-toolkit.git
cd mcp-ops-toolkit
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
export MCP_OPS_ACCESS_TOKEN="$(python3 -c 'import secrets; print(secrets.token_urlsafe(48))')"
python http_server.pyThe default listener is 127.0.0.1:8792; /healthz is unauthenticated and all MCP routes require the access token. For stdio transport, run python mcp_main.py.
Privileged bridges
The MCP process should run as an unprivileged account. Privileged operations call narrowly named, root-owned executables under /usr/local/sbin/. The repository includes the safe-operations bridge and the optional root-shell bridge. Azure, Cloudflare, SSH, and secret-broker adapters define JSON or argv contracts, but their deployment-specific credential and host-resolution implementations are intentionally not included.
Expected bridge paths can be changed in source or wrapped with stable symlinks:
/usr/local/sbin/mcp-ops-toolkit-safe-ops
/usr/local/sbin/mcp-ops-toolkit-root-shell
/usr/local/sbin/mcp-ops-toolkit-azure-cli
/usr/local/sbin/mcp-ops-toolkit-cloudflare
/usr/local/sbin/mcp-ops-toolkit-ssh-bridge
/usr/local/sbin/mcp-ops-toolkit-secret-brokerSecurity defaults
The HTTP server binds to loopback by default.
DNS-rebinding protection is enabled.
Allowed hosts and origins are configured through environment variables.
Full root shell is disabled unless
MCP_OPS_ENABLE_FULL_SHELL=1.File reads use allowlisted roots and deny common key and secret locations.
Uploaded files are copied atomically and verified after the copy.
Real tokens, host aliases, private domains, account identifiers, and credentials must stay outside Git.
See SECURITY.md before production use.
Tests
python -m compileall -q .
python test_server_contract.py server.py
python test_compact_contract.py .License
MIT
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
- Alicense-qualityAmaintenanceRemote Linux operations via SSH, exposed as an MCP server, with tools for filesystem, systemd, Docker, network, and more, using per-user AD authentication and optional sudo elevation.Last updated1MIT
- Alicense-qualityCmaintenanceA secure, git-aware MCP server for working with local repositories, enabling file management, shell commands, and full git operations within allowed directories.Last updated1891GPL 3.0
- Flicense-qualityCmaintenanceSafety-first local MCP tool gate with control plane, runtime security, and observability for managing MCP backends.Last updated
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
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/gaojiefengxswhuhit/mcp-ops-toolkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server