MCP Server Rhoai
M

MCP Server Rhoai

This project is a bachelor's thesis project for implementing an MCP server for collaborating with RHOAI, providing a guide for setting up and using the MCP server in the Cursor IDE.
2 points
5.9K

What is the RHOAI MCP Server Suite?

This is a set of tools developed based on the Go language, which follow the Model Context Protocol (MCP) standard. Simply put, they are like 'interpreters' or 'assistants', allowing you to directly use natural language (such as 'Show me all the workbenches') to query and manage resources on your Red Hat OpenShift AI cluster in an AI integrated development environment like Cursor, without leaving the editor to perform complex command - line operations.

How to use the RHOAI MCP Server Suite?

The usage process is divided into two steps: First, you need to compile the provided Go code into an executable program and register it as an MCP server in Cursor's settings. After the configuration is completed, you can directly ask questions to the AI assistant in Cursor's chat window. For example, 'List all the workbenches in the mcp - test namespace', and the AI assistant will automatically call the corresponding MCP tool to obtain information and answer you.

Applicable scenarios

When you are a developer working on an AI/ML project on the OpenShift AI platform, you need to frequently check the workbench status, Pod running status, or debug the environment. By using these MCP servers, you can quickly obtain cluster information while coding, without switching terminals or web consoles, which greatly improves work efficiency and context coherence.

Main Features

Workbench List Query
Provide a dedicated MCP server (such as WorkbenchList) for querying AI workbench resources in a specified OpenShift namespace, and return key information such as names and statuses.
Pod List Query
Provide a dedicated MCP server (such as podslist) for querying Pod (container group) resources in a specified OpenShift namespace, helping you understand the application running status.
Deep Integration with Cursor IDE
Follow the MCP protocol and can be seamlessly integrated into the Cursor IDE. After configuration, the AI assistant can directly call these tools to answer your questions about the cluster status.
Developed Based on Go Language
The server is written in Go language, compiled into an independent binary file, which is easy to deploy, runs efficiently, and has good cross - platform compatibility.
Cluster Authentication Required
To securely access the OpenShift cluster, you need to log in to the target cluster through methods such as `oc login` before using the relevant tools to ensure operation permissions.
Advantages
Improve development efficiency: You can query cluster information without leaving the IDE and switching contexts, allowing you to focus more on the code.
Natural language interaction: Manage the infrastructure through simple conversations with the AI assistant, reducing the threshold of using complex command lines.
Modular design: Each function (such as querying workbenches and querying Pods) is an independent server, which can be enabled and configured as needed.
Open - source and extensible: The code is open - source. You can easily develop MCP servers for querying other Kubernetes resources based on this project.
Limitations
Requires initial configuration: Users need to manually compile the code and configure the MCP server in Cursor, which has a certain technical threshold.
Depends on cluster login: The tool itself does not handle authentication. Users need to log in to the OpenShift cluster through the command line in advance.
Relatively basic functions: The current version mainly provides query functions, and complex cluster management operations (such as creation and deletion) may not be supported.
Specific to Cursor: Although MCP is a standard protocol, the configuration instructions in this README are mainly for the Cursor IDE.

How to Use

Prepare the Environment and Code
Ensure that the Go language environment is installed on your development machine. Clone or download the source code of this project from the code repository.
Compile the Server
Open the terminal, enter the project directory, and use the Go compilation command to build the source code into an executable binary file. You can name the output file whatever you like.
Configure Cursor MCP Settings
Open the Cursor IDE, press `Ctrl + Shift + P` (Windows/Linux) or `Cmd + Shift + P` (Mac), enter and select 'Open MCP Settings'. In the opened JSON configuration file, add the path of the compiled server.
Log in to the OpenShift Cluster
Open the terminal and use the OpenShift command - line tool `oc` to log in to the target cluster you want to query. This is a prerequisite for the server to access cluster data.
Start Using
After the configuration is completed, in the AI chat interface of Cursor, you can directly ask questions to the assistant. The assistant will recognize your intention and automatically call the configured MCP tool to get the answer.

Usage Examples

Quickly Check Workbench Status
You are developing a machine - learning model and need to confirm whether the workbench providing you with the computing environment is ready, rather than stuck in the startup process.
Debug Application Deployment Issues
You just deployed a new service to OpenShift, but you can't access it. You want to quickly check whether the relevant Pods are running and if there are any errors.
Daily Environment Inspection
Before starting work every day, you want to quickly understand the basic situation of resources in several development environments you are responsible for.

Frequently Asked Questions

Do I have to use it in Cursor? Does it support other editors?
Why does the AI assistant say it can't find the tool or I don't have permission after I've configured it?
Is this tool safe? Will it modify my cluster configuration?
Can I add new query functions myself? For example, querying Deployments or Services?
What should I do if there is a dependency error when running `go build`?

Related Resources

Model Context Protocol (MCP) Official Documentation
Understand the standards, specifications, and design concepts of the MCP protocol.
Cursor IDE Official Website
Understand the features of the Cursor IDE and how to better use its AI functions.
Red Hat OpenShift AI Documentation
Understand the detailed functions and usage methods of the OpenShift AI platform.
Kubernetes Go Client (client - go)
The official library for accessing the Kubernetes/OpenShift API from a Go program, which is the basis for developing such MCP servers.
Go Language Installation Guide
How to install and set up the Go programming language development environment.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
8.6K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
8.2K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
8.4K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
11.9K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
10.6K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
10.0K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
11.8K
5 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.5K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
18.4K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
54.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
27.5K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.1K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.2K
5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
75.5K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
35.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase