プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

OpenShift MCP Server

作者:sanjaypsachdevバージョン 1.2.0i★ –iパソコンで動く
レジストリ名io.github.sanjaypsachdev/mcp-server-openshift

インストール

概要

作者による説明(英語の原文)

OpenShift/Kubernetes cluster management via the oc CLI for MCP clients

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: OPENSHIFT_CONTEXT, OPENSHIFT_NAMESPACE

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "openshift": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-openshift"
      ],
      "env": {
        "OPENSHIFT_CONTEXT": "your-value",
        "OPENSHIFT_NAMESPACE": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add openshift --env OPENSHIFT_CONTEXT=your-value --env OPENSHIFT_NAMESPACE=your-value -- npx -y mcp-server-openshift

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "openshift": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-openshift"
      ],
      "env": {
        "OPENSHIFT_CONTEXT": "your-value",
        "OPENSHIFT_NAMESPACE": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "openshift": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-openshift"
      ],
      "env": {
        "OPENSHIFT_CONTEXT": "your-value",
        "OPENSHIFT_NAMESPACE": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • OPENSHIFT_CONTEXT env
    Default OpenShift/Kubernetes context
  • OPENSHIFT_NAMESPACE env
    Default namespace/project

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント sanjaypsachdev で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの1387件のうち0%よりスターが多い
  • このカテゴリのほかの1387件のうち28%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1387件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

OpenShift MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.2.0)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, Dockerも必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT3 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

パソコンで動く★ 10,225MIT15 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

OpenShift MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with comprehensive OpenShift/Kubernetes cluster management capabilities through the oc command-line interface.

Demo Video

Watch the oc-new-app tool deploy a complete Spring Boot application from GitHub to OpenShift:

https://github.com/user-attachments/assets/f4bace3f-755b-462f-8a8a-680e4dc02129

Features

  • Cluster Information: Access comprehensive cluster status, nodes and configuration via MCP resources
  • Resource Description: Describe any resource with multiple output formats including human-readable summaries
  • Complete Resource Management: Create, read, update, delete, and patch all OpenShift/Kubernetes resources
  • Application Deployment: Deploy applications from Git repositories with S2I builds and automatic route creation
  • Operator Management: Install operators via OLM, Helm, or direct manifests
  • Cluster Operations: Scaling, monitoring, troubleshooting and management
  • Build Operations: Start and monitor OpenShift builds
  • Scaling Operations: Scale deployments, replicasets and statefulsets
  • Logging: Retrieve logs from pods and builds
  • Multi-Transport Support: STDIO and HTTP/SSE transports for different integration scenarios
  • Comprehensive Testing: 99 unit tests ensuring production reliability
  • Rich Error Handling: Detailed troubleshooting guidance and actionable error messages
  • Troubleshooting Prompts: Interactive troubleshooting guides for common OpenShift scenarios
  • Log Sampling: Sample and analyze pod logs with intelligent pattern detection and context

Prerequisites

  • Node.js 20+
  • OpenShift CLI (oc) installed and configured
  • Access to an OpenShift cluster

Installation

git clone https://github.com/sanjaypsachdev/mcp-server-openshift.git

cd mcp-server-openshift npm install npm run build

Configuration

Add to your MCP client configuration:

Claude Desktop / Cursor
{

"mcpServers": { "openshift": { "command": "node", "args": ["/path/to/mcp-server-openshift/dist/index.js"], "env": { "OPENSHIFT_CONTEXT": "your-context-name", "OPENSHIFT_NAMESPACE": "your-default-namespace" } } } }

HTTP/SSE Transport (Remote Access)
# Start HTTP server

npm run start:http

Connect via MCP remote

npx -y mcp-remote http://localhost:3000/sse --transport sse-only

Tools

Authentication & Access
  • `oc_login` - Securely log into OpenShift clusters using token or username/password authentication
API Discovery & Documentation
  • `oc_api_resources` - List all available API resources in the cluster with categorization
  • `oc_explain` - Explain resource schemas, fields, and API documentation
Core Resource Management
  • `oc_get` - Get OpenShift resources (pods, deployments, services, routes, etc.)
  • `oc_create` - Create OpenShift resources from manifests or templates
  • `oc_apply` - Apply YAML manifests with validation and conflict resolution
  • `oc_delete` - Delete resources with safety checks and confirmation options
  • `oc_patch` - Patch resources using strategic merge, JSON merge, or JSON patch operations
  • `oc_describe` - Describe resources with multiple output formats
Application Lifecycle
  • `oc_new_app` - Deploy applications from Git repositories with S2I builds
  • `oc_scale` - Scale deployments, deploymentconfigs, replicasets, and statefulsets
  • `oc_logs` - Get logs from pods, deployments, builds with filtering options
Advanced Operations
  • `oc_install_operator` - Install operators via OLM, Helm, or direct manifests

Resources

MCP Resources provide read-only access to cluster information:

  • `openshift://cluster-info` - Comprehensive cluster status, nodes, namespaces, and events
  • `openshift://project-list` - Detailed project information with quotas and usage statistics
  • `openshift://app-templates` - Application deployment templates and patterns

Prompts

Interactive troubleshooting and operational guidance:

  • `troubleshoot-openshift-prompt` - Comprehensive OpenShift troubleshooting guide for all resource types and cluster issues
  • `monitoring-prompts` - Monitoring and observability guidance for different scenarios

Sampling

Intelligent log analysis and pattern detection:

  • Pod Logs Sampling - Automatic log sampling with error pattern detection and context analysis

Usage Examples

Login to Cluster
# Login with token (recommended)

oc_login with server: "https://api.cluster.example.com:6443", authMethod: "token", token: "sha256~your-token-here"

Login with username/password

oc_login with server: "https://api.cluster.example.com:6443", authMethod: "password", username: "developer", password: "your-password"

Discover API Resources
# List all available API resources

oc_api_resources

List resources for specific API group

oc_api_resources with apiGroup: "apps"

List only namespaced resources

oc_api_resources with namespaced: true

Explain a resource schema

oc_explain with resource: "deployment"

Explain specific field

oc_explain with resource: "pod", field: "spec.containers"

Deploy Application
# Deploy Node.js app from GitHub

oc_new_app with gitRepo: "https://github.com/sclorg/nodejs-ex.git"

Scale Application
# Scale deployment to 3 replicas

oc_scale with name: "my-app", replicas: 3

Patch Resource
# Update deployment labels

oc_patch with resourceType: "deployment", name: "my-app", patch: '{"metadata":{"labels":{"environment":"production"}}}'

Troubleshoot Issues
# Get pod troubleshooting guidance

Use prompt: troubleshoot-openshift-prompt Arguments: issueType: "pod", resourceName: "my-app-12345", namespace: "my-project"

Get deployment troubleshooting guidance

Use prompt: troubleshoot-openshift-prompt Arguments: issueType: "deployment", resourceName: "my-app", namespace: "my-project"

Get general cluster troubleshooting guidance

Use prompt: troubleshoot-openshift-prompt Arguments: issueType: "cluster", symptoms: "nodes not ready"

Development

# Setup

npm install

Build

npm run build

Test

npm test

Start (STDIO)

npm start

Start (HTTP)

npm run start:http

Development mode

npm run dev

Transport Modes

STDIO (Default)
  • Direct MCP client integration
  • Lower latency
  • Recommended for local development
HTTP/SSE
  • Remote access capability
  • Web integration friendly
  • Container deployment ready

Architecture

src/

├── index.ts # Main server entry point ├── tools/ # Tool implementations ├── resources/ # MCP resources ├── prompts/ # Interactive prompts ├── sampling/ # Log sampling and analysis ├── models/ # Zod validation schemas └── utils/ # OpenShift CLI wrapper

Security

Authentication Security
  • Token Authentication: Preferred method for automation and production use
  • Password Authentication: Available but token authentication is recommended
  • HTTPS Enforcement: All cluster connections must use HTTPS
  • URL Validation: Server URLs validated to prevent SSRF attacks
  • Private IP Blocking: Prevents connections to internal/metadata services
Operational Security
  • RBAC Compliance: Respects OpenShift RBAC permissions
  • No Credential Storage: Credentials are not stored or transmitted by the server
  • User Permissions: Executes with the same permissions as the authenticated user
  • Input Validation: Comprehensive validation of all inputs and parameters
  • Secure Defaults: Conservative security settings by default
Best Practices
  • Use Service Account Tokens: For automation and CI/CD pipelines
  • Regular Token Rotation: Rotate authentication tokens regularly
  • TLS Certificate Validation: Always validate TLS certificates in production
  • Least Privilege: Use accounts with minimal required permissions
  • Session Management: Use oc logout to clear credentials when done

License

MIT License - see LICENSE file for details.

PopNxに聞く