Skip to main content
Glama

Kubectl MCP Tool

__init__.py786 B
""" Kubectl MCP Tool - A Model Context Protocol server for Kubernetes. """ __version__ = "1.1.0" # Import implementations with correct FastMCP from .simple_server import KubectlServer, main from .mcp_server import MCPServer as _RootMCPServer # Re-export key symbols for easier import paths in tests try: from .core import KubernetesOperations, MCPServer # type: ignore __all__ = [ "KubectlServer", "MCPServer", "KubernetesOperations", "main", ] except ModuleNotFoundError: # When the package is installed without the *core* package (unlikely) # we at least expose the root‐level MCPServer implementation. MCPServer = _RootMCPServer # noqa: N816 (re-export for callers) __all__ = ["KubectlServer", "MCPServer", "main"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rohitg00/kubectl-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server