Skip to main content
Glama

Kube Core MCP

by Jess321995
service_handler.py684 B
from abc import ABC, abstractmethod from typing import Dict, Any, List, Optional from loguru import logger class ServiceHandler(ABC): """Base class for service handlers""" @abstractmethod async def handle_command(self, command: str, parameters: Dict[str, Any]) -> Dict[str, Any]: """Handle a command for this service""" pass @abstractmethod async def get_service_info(self) -> Dict[str, Any]: """Get information about the service""" pass @abstractmethod async def validate_command(self, command: str, parameters: Dict[str, Any]) -> bool: """Validate if the command can be handled by this service""" pass

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/Jess321995/kube-core-mcp'

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