Harvester MCP Server
Model Context Protocol (MCP) server for Harvester HCI
Overview
Harvester MCP Server is a Model Context Protocol (MCP) server designed for Harvester HCI, enabling AI assistants to interact with Harvester clusters through the MCP protocol.
To use the Harvester MCP Server, clone the repository, build the server, and run it with the appropriate kubeconfig. It can also be integrated with AI assistants like Claude Desktop for querying cluster information.
- Supports CRUD operations on Kubernetes core resources and Harvester-specific resources. - Provides human-readable formatted outputs and automatic grouping of resources. - Detailed views for comprehensive resource inspection.
- Managing Kubernetes clusters with Harvester-specific resources.
- Integrating with AI assistants for querying cluster states.
- Automating resource management tasks in Harvester HCI.
Add to your AI client
Use these steps to connect Harvester MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"harvester-mcp-server-starbops": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"harvester-mcp-server-starbops": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"harvester-mcp-server-starbops": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"harvester-mcp-server-starbops": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"harvester-mcp-server-starbops": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"harvester-mcp-server-starbops": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-harvester-mcp-server-starbops"
]
}
}
}FAQ
**What programming language is used?**
The server is implemented in Go.
**What are the requirements?**
Requires Go 1.23+ and access to a Harvester cluster with a valid kubeconfig.
**Can it be used with other AI assistants?**
Yes, it is designed to work with various AI assistants that support the MCP protocol.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2588,"uuid":"ef85c9bb-dac4-41e4-b7bc-e92b7688ad9a","name":"harvester-mcp-server","title":"Harvester MCP Server","description":"Model Context Protocol (MCP) server for Harvester HCI","avatar_url":"https://avatars.githubusercontent.com/u/1827717?v=4","created_at":"2025-03-13T08:57:17.756Z","updated_at":"2025-03-13T09:02:07.911Z","status":"created","author_name":"starbops","author_avatar_url":"https://avatars.githubusercontent.com/u/1827717?v=4","tags":"kubernetes,golang,mcp,harvester-hci","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/starbops/harvester-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"Apache-2.0 license\",\"language\":\"Go\",\"is_official\":false,\"latest_commit_time\":\"2025-03-25 23:51:37\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]