platform-mcp-server

platform-mcp-server

Read-only MCP server that exposes Kubernetes platform state (tenants, pods, SLOs, ArgoCD applications, chaos schedules, and catalog services) to AI agents, enabling natural language queries about cluster health and configuration.

Category
Visit Server

README

Platform MCP Server

Serveur MCP (Model Context Protocol) read-only qui expose l'état de multi-tenant-platform et golden-path-portal à un agent IA (Claude Desktop, ou tout autre client MCP).

➡️ Voir le design doc pour le contexte, et ADR-0001 pour la décision de rester read-only en v1 (pas d'action possible sur le cluster depuis l'agent).

Tools exposés

Tool Rôle
list_tenants Liste les namespaces tenants, avec leur niveau PodSecurity
get_tenant_pods Statut des pods d'un tenant (running, redémarrages)
get_tenant_slo Disponibilité, error budget, latence p95 d'un tenant
list_argocd_applications Statut sync/santé de toutes les Applications ArgoCD
get_chaos_schedules Expériences de chaos actives d'un tenant
list_catalog_services Services enregistrés sur le golden-path-portal

Prérequis

  • kubectl configuré et pointant vers ton cluster k3s (le serveur hérite de ton contexte local, pas de credentials séparés)
  • Un port-forward actif vers Prometheus pour get_tenant_slo :
    kubectl port-forward svc/monitoring-kube-prometheus-prometheus -n platform 9091:9090
    
  • Node.js 18+ (pour fetch natif)

Installation

npm install

Utilisation avec Claude Desktop

Édite ta config Claude Desktop (claude_desktop_config.json — sur macOS : ~/Library/Application Support/Claude/claude_desktop_config.json, sur Windows/WSL : vérifie le chemin équivalent dans les paramètres de l'app) :

{
  "mcpServers": {
    "platform": {
      "command": "node",
      "args": ["/chemin/absolu/vers/platform-mcp-server/server.js"],
      "env": {
        "PROM_URL": "http://localhost:9091",
        "GOLDEN_PATH_CATALOG": "/chemin/absolu/vers/golden-path-portal/catalog.json"
      }
    }
  }
}

Redémarre Claude Desktop. Tu peux ensuite demander directement :

"Quel est l'error budget de team-a en ce moment ?" "Liste tous les services enregistrés sur la plateforme." "Est-ce que toutes les Applications ArgoCD sont saines ?"

Claude appelle les tools correspondants et répond à partir des données réelles de ton cluster.

Test manuel sans client MCP

node --check server.js   # valide la syntaxe
node server.js            # démarre le serveur (attend un client sur stdin)

Pourquoi read-only (résumé)

Exposer des actions (suspendre un chaos, scaler un déploiement) à un agent IA est une décision de sécurité à part entière — confirmation requise, scope de permissions, audit trail. La v1 se concentre sur la valeur immédiate (obtenir des réponses) sans ouvrir cette surface de risque. Détail complet dans l'ADR-0001.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured