hardikvjoshi/openshift-mcp-server
3.1
If you are the rightful owner of openshift-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The OpenShift MCP Server is a Model Context Protocol server designed to integrate seamlessly with OpenShift clusters, enabling efficient management of namespaces, applications, and administrative tasks.
š OpenShift MCP Server - Complete System
A complete Model Context Protocol (MCP) Server system for OpenShift cluster management with AI-powered tools.
šļø System Architecture
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
ā MCP Host ā ā MCP Client ā ā MCP Server ā
ā (User Interface)āāāāāŗā (Tool Executor) āāāāāŗā (OpenShift + LLM)ā
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
ā ā ā
ā¼ ā¼ ā¼
User Commands Tool Execution OpenShift Cluster
š Folder Structure
mcp_server/
- MCP server with OpenShift tools and LLM integrationmcp_client/
- Various MCP client implementationsmcp_host/
- Host applications with user interfaces
šÆ What You Have
ā MCP Server (Running)
- 20 powerful tools (15 OpenShift + 5 LLM)
- Connected to OpenShift cluster
- Gemini AI integration working
- Ready for client connections
ā Working Host Application
mcp_host/final_working_host.py
- FULLY WORKING!- Can execute OpenShift tools
- Provides real cluster data
- Interactive user interface
ā MCP Clients
- Various client implementations
- Protocol-based and direct access options
š Quick Start
1. Start the Working Host (Recommended)
cd mcp_host
source ../.venv/bin/activate
python final_working_host.py
2. Use Available Commands
help
- Show commandstest-tools
- Test all toolsList all namespaces
- Execute OpenShift toolAI help with troubleshooting
- Use LLM integration
š§ System Status
- MCP Server: ā Running with 20 tools
- OpenShift Cluster: ā Connected (hardikvjoshi-dev, openshift-virtualization-os-images)
- LLM Integration: ā Gemini working
- Host Application: ā Fully functional
- Tool Execution: ā Working (list_namespaces, list_pods, ask_llm)
š Success Metrics
Your system successfully:
- ā Connects to OpenShift cluster
- ā Lists real namespaces
- ā Executes MCP tools
- ā Provides AI-powered responses
- ā Tracks conversation history
š Documentation
- Server: See
mcp_server/README.md
- Client: See
mcp_client/README.md
- Host: See
mcp_host/README.md
š Dependencies
- Python 3.11+
- OpenShift cluster credentials
- Gemini API key
- Virtual environment with requirements installed
š” Architecture Benefits
- Separation of Concerns: Server, client, and host are isolated
- Modularity: Each component can be developed independently
- Scalability: Easy to add new tools and clients
- Maintainability: Clear organization and documentation
šÆ Next Steps
- Use the working host for daily OpenShift management
- Connect external MCP clients (Claude Desktop, etc.)
- Extend with new tools as needed
- Customize the host interface for your workflow
š Your OpenShift MCP system is fully operational and ready for production use!