A Kubernetes-deployed server for the Model Context Protocol that enables secure communication with configurable environment variables, health monitoring, and scalable deployment on Azure Kubernetes Service.
This repository contains the Kubernetes deployment configuration for the MCP server on Azure Kubernetes Service (AKS).
.
├── k8s/
│ ├── deployment.yaml # Kubernetes deployment configuration
│ ├── service.yaml # Kubernetes service configuration
│ └── configmap.yaml # Kubernetes configmap for environment variables
├── src/ # Source code directory
├── Dockerfile # Container build configuration
├── package.json # Node.js dependencies
└── tsconfig.json # TypeScript configuration
docker build -t mcp-server:latest .
az acr login --name docker tag mcp-server:latest .azurecr.io/mcp-server:latest docker push .azurecr.io/mcp-server:latest
kubectl apply -f k8s/
kubectl get pods kubectl get services
The application can be configured through environment variables defined in the ConfigMap (k8s/configmap.yaml
).
The application exposes a /health
endpoint for Kubernetes health checks.
kubectl logs
The deployment is configured with 3 replicas by default. You can scale up or down using:
kubectl scale deployment mcp-server --replicas=
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!