Basic information
About Github MCP Server
# Kubernetes MCP
Github is a MCP server in the Cloud & Infrastructure category listed in the AddMCP.net directory, published by HSn0918. Supported transport: stdio. Runtime: go. License: Apache-2.0. The repository has 30 GitHub stars. Source code is hosted on github.com. Related topics: kubernetes, mcp, server.
Setup
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
{
"servers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
Github MCP Server — by HSn0918 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_TOKEN"
}
}
}
}
Github MCP Server — by HSn0918 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Github?
A Kubernetes-focused Model Context Protocol (MCP) server built in Go. It exposes Kubernetes operations as MCP tools and supports stdio, sse, and streamable transports, working with both local kubeconfig and in-cluster configuration.
How to use Github?
Build the binary from source with Go 1.24+ (go build -o kubernetes-mcp ./cmd/kubernetes-mcp), then run it with one of three transport commands: server transport stdio, server transport sse, or server transport streamable, optionally specifying a kubeconfig path. For network transports, configure port, health port, allowed origins, and base URL via flags. Deploy in-cluster using manifest files under /deploy/kubernetes or run via Docker.
Key features of Github
- Generic resource CRUD for any Kubernetes API group prefix.
- Core cluster utilities: list nodes, namespaces, get pod logs.
- Advanced tools: apply/validate/diff manifests, search resources.
- Prompt tools for YAML generation, querying, troubleshooting.
- Metrics tools to retrieve node/pod metrics and top consumers.
- Multiple transports (stdio, SSE, StreamableHTTP) with health endpoints.
Use cases of Github
- AI assistants performing Kubernetes resource operations (list, get, create, update, delete).
- Automated cluster debugging: fetch pod logs, analyze events, troubleshoot nodes.
- Infrastructure as code workflows: apply, validate, diff manifests via MCP.
- Real-time cluster monitoring: retrieve resource metrics and top consumers.
- Integrated Kubernetes prompt-based help for YAML and troubleshooting queries.
Frequently asked questions
1 What transports does Kubernetes MCP support?
It supports stdio, sse, and streamable (StreamableHTTP). Each transport can be selected via the server transport subcommand.
2 What runtime and dependencies are required?
Go 1.24+ is needed to build from source. For operation, access to a Kubernetes cluster is required either via a local kubeconfig file or an in-cluster service account.
3 Does Kubernetes MCP support all Kubernetes API resources?
Yes, it provides generic resource operations (LIST, GET, CREATE, DELETE, etc.) for any API group prefix. Currently the K8S prefix is registered, and operations depend on cluster API availability and RBAC permissions.
4 Where is the data stored? Is authentication handled?
The server does not persist data; all operations are performed against the target
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In