MCP cover image
See in Github
2025-03-22

MCP server for all of your needs in k8s ☸️

1

Github Watches

1

Github Forks

1

Github Stars

Kubernetes MCP Server

A backend system that provides an interactive and extensible interface for managing Kubernetes resources, retrieving and analyzing logs, and formatting logs for export through the Model Context Protocol (MCP).

Features

  • CRUD operations on Kubernetes resources (Pods, Services, Namespaces, Deployments, etc.)
  • Log retrieval and pattern searching
  • Log formatting and exporting in multiple formats (Plaintext, JSON, CSV, NDJSON)
  • Extensible architecture for future enhancements

Requirements

  • Go 1.24+
  • Kubernetes cluster access
  • kubectl configured

Installation

# Clone the repository
git clone https://github.com/mayukhsarkar/k8s-mcp-server.git
cd k8s-mcp-server

# Build the binary
go build -o k8s-mcp-server

# Run the server
./k8s-mcp-server serve

Usage

# Start the MCP server
./k8s-mcp-server serve

# Get help
./k8s-mcp-server --help

API Documentation

The MCP server exposes HTTP endpoints for interacting with Kubernetes resources and logs.

Kubernetes Operations

  • POST /api/v1/resources/{resource_type} - Create a resource
  • GET /api/v1/resources/{resource_type} - List resources
  • GET /api/v1/resources/{resource_type}/{name} - Get resource details
  • DELETE /api/v1/resources/{resource_type}/{name} - Delete a resource

Log Operations

  • GET /api/v1/logs/{namespace}/{pod} - Get logs from a pod
  • GET /api/v1/logs/search - Search logs with pattern matching
  • GET /api/v1/logs/export - Export logs in various formats

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • modelcontextprotocol
  • Model Context Protocol Servers

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

    Reviews

    5 (1)
    Avatar
    user_YIZOXOzT
    2025-04-15

    The Playwright MCP Docker Environment by iuill is a game-changer for automated testing enthusiasts. Seamlessly integrating Playwright's powerful capabilities within a Docker setup, it offers a high-performance, scalable solution for modern web testing. Easy to set up and use, this environment ensures robust test execution across different browsers. Highly recommended for those looking to streamline their testing workflow. Check it out at https://mcp.so/server/playwright-mcp-docker/iuill.