Install
$ agentstack add mcp-opendatahub-io-mcp-server-operator ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
MCP Server Operator
The MCP Server Operator manages the lifecycle of MCP (Model Context Protocol) Servers on OpenShift Clusters. It leverages a Custom Resource Definition (CRD) Called MCPServer, allowing users to specify the MCP server image and runtime arguments for a custom MCP server deployment.
Features
- Deploy and manages MCP server instances via CRDs
- Supports custom container images and runtime arguments
- Compatible with Openshift clusters
- Includes both end-to-end test and unit tests.
Table of Contents
- [Project Overview](#mcp-server-operator)
- [Features](#features)
- [Usage](#usage)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Running the operator locally](#running-the-operator-locally)
- [Running the operator on a cluster](#running-the-operator-on-a-cluster)
- [Making an MCP Server instance](#making-an-mcp-server-instance)
- [Uninstalling the operator and cleaning the cluster](#uninstalling-the-operator-and-cleaning-the-cluster)
- [Developer Guide](#developer-guide)
- [Pre-requisites](#pre-requisites)
- [Run tests](#run-tests)
- [Contributing](#contributing)
Usage
Prerequisites
Before installation, you will need the following to run the operator:
- An OpenShift Cluster (ROSA, OSD, CRC) or compatible Kubernetes cluster
- A container engine (
podmanordocker) - The OpenShift CLI tool:
oc - Sufficient permissions to install CRDs and deploy operators
Installation
Before doing any of these steps, ensure that you are logged into your cluster if using one:
oc login --token= --server=
After logging into your cluster, clone the repository and then swap to the mcp-server-operator folder:
git clone https://github.com/opendatahub-io/mcp-server-operator.git
cd mcp-server-operator
Next, set the environment variables:
export IMG=//mcp-server-operator:
Afterward, build the image:
CONTAINER_TOOL={docker|podman} IMG=$IMG make build
Then, install the necessary CRDs:
make install
Running the Operator Locally
make run
Running the Operator on a Cluster
make deploy IMG=$IMG
Making an MCP Server Instance
The following is an example on how to create an MCPServer, ensure that the text in brackets is replaced with the appropriate information before running the command.
cat
namespace: mcp-server-operator-system
spec:
image:
args:
-
-
command:
-
-
EOF
Field Descriptions
image: Container image for the MCP server.args: (Optional) List of runtime arguments to be passed to the MCP server container.command: (Optional) List for the entrypoint command to be passed to the MCP server container.
Uninstalling the operator and cleaning the cluster
Firstly, delete the MCPServer object from the cluster using the following command:
oc delete mcpserver -n mcp-server-operator-system [name]
Next is to uninstall the operator, which can be done by simply running the command below.
make undeploy
Developer Guide
Pre-requisites
Go 1.23Kubebuilder
Run Tests
To run unit tests, run:
make test
To run end-to-end tests, run:
make test-e2e
Contributing
Contributions are welcome! Please refer to our contributing guidelines.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: opendatahub-io
- Source: opendatahub-io/mcp-server-operator
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.