Skip to main content
Glama

k8s-dev-mcp

An MCP server that gives AI assistants access to Kubernetes enhancement proposals (KEPs), contributor guidelines, and official documentation.

What it does

Provides 7 tools over the Model Context Protocol:

Tool

Description

list-keps

List and filter KEPs by SIG, status, or search query

read-kep

Read a full KEP design document by number

read-kep-metadata

Read KEP metadata (status, milestones, feature gates)

list-docs

List available convention/guideline documents

read-doc

Read a document, optionally a specific section

list-doc-sections

List section headings in a document

search-k8s-docs

Full-text search across all repos

Documents are sourced from three Kubernetes repos using sparse git checkouts:

  • kubernetes/enhancements — KEPs

  • kubernetes/community — contributor guidelines (API conventions, controller patterns, etc.)

  • kubernetes/website — official docs (API concepts, CRDs, server-side apply, etc.)

Related MCP server: code-intel MCP Server

Requirements

  • Node.js 18+

  • Git

  • ripgrep (rg) — optional, falls back to grep for full-text search

Install

Claude Code

claude mcp add k8s-dev-mcp npx github:Jefftree/k8s-dev-mcp

Gemini CLI

gemini mcp add k8s-dev-mcp npx github:Jefftree/k8s-dev-mcp

Manual

Add to your MCP client config:

{
  "mcpServers": {
    "k8s-dev-mcp": {
      "command": "npx",
      "args": ["github:Jefftree/k8s-dev-mcp"]
    }
  }
}

Configuration

Repos and documents are defined in the bundled config.yaml. Override it by setting:

export K8S_CONTEXT_CONFIG=/path/to/custom/config.yaml

Environment variables

Variable

Description

K8S_CONTEXT_CONFIG

Path to a custom config.yaml

K8S_CONTEXT_CACHE

Cache directory for cloned repos (default: ~/.cache/k8s-dev-mcp)

Development

npm install
npm run build
npm start

License

Apache 2.0

Available Tools

7 tools
list-docsA

List available Kubernetes convention and guideline documents.

Inputs: no named parameters.

list-doc-sectionsB

List section headings in a document.

Inputs: name (required).

list-kepsB

List Kubernetes Enhancement Proposals. Filter by SIG name, status, or search query.

Inputs: sig, query, status.

read-docA

Read a Kubernetes convention/guideline document, optionally a specific section.

Inputs: name (required), section.

read-kepB

Read the full KEP design document (README.md) by its number.

Inputs: kepNumber (required).

read-kep-metadataA

Read kep.yaml metadata: status, milestones, feature gates, authors.

Inputs: kepNumber (required).

search-k8s-docsA

Full-text search across all configured Kubernetes repos (enhancements, community, website).

Inputs: query (required), repo, maxResults.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct operation: listing vs reading vs searching, and documents vs KEPs vs metadata. There is no overlap or ambiguity.

    Naming Consistency4/5

    Tools follow a verb-noun pattern with hyphens (list-, read-, search-). Minor inconsistencies like plural 'docs' vs singular 'doc' and use of 'k8s' abbreviation exist, but overall pattern is clear.

    Tool Count5/5

    7 tools is well-scoped for the domain of Kubernetes documentation and KEPs, covering listing, reading, searching, and metadata access without bloat.

    Completeness5/5

    The tool set covers the full range of expected operations for a read-only documentation server: listing, reading, searching, and retrieving metadata. No obvious gaps.

    Related MCP Connectors

    Related MCP Servers