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 dayong@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!