MCP Server logo

MCP Server

by adrianozagallo-home

This repository contains the Kubernetes deployment configuration for the Model Context Protocol (MCP) server on Azure Kubernetes Service (AKS). It provides the necessary files and instructions to deploy and manage the MCP server in a Kubernetes environment.

View on GitHub

Last updated: N/A

What is MCP Server?

The MCP server is deployed using Kubernetes on Azure Kubernetes Service (AKS). This repository provides the configuration files and instructions needed to build, deploy, and manage the server.

How to use MCP Server?

To use the MCP server, you need to build the Docker image, push it to Azure Container Registry (ACR), and apply the Kubernetes manifests. The application can be configured through environment variables defined in the ConfigMap. Health checks are available via the /health endpoint, and monitoring is done through Azure Monitor and kubectl logs.

Key features of MCP Server

  • Kubernetes deployment

  • Azure AKS integration

  • Docker containerization

  • Environment variable configuration

  • Health checks

  • Monitoring

  • HTTPS

  • CORS

  • Rate limiting

  • Security headers (Helmet.js)

  • Scalable deployment

Use cases of MCP Server

  • Serving model context in a distributed environment

  • Providing a scalable and reliable context service

  • Integrating with other Azure services

  • Deploying a secure context server

  • Managing model context in a cloud-native architecture

FAQ from MCP Server

What is Azure Container Registry (ACR)?

Azure Container Registry is a managed, private Docker registry service based on the open-source Docker Registry 2.0. It is used to store and manage private Docker container images.

How do I configure environment variables?

Environment variables are defined in the k8s/configmap.yaml file. You can modify this file to set the desired configuration values.

How do I access the application logs?

Application logs are available through kubectl logs. Use the command kubectl logs <pod-name> to view the logs for a specific pod.

How do I scale the deployment?

You can scale the deployment using the command kubectl scale deployment mcp-server --replicas=<number>, where <number> is the desired number of replicas.

What security measures are in place?

The application uses HTTPS, CORS is configured for secure cross-origin requests, rate limiting is implemented to prevent abuse, and Helmet.js is used for security headers.