Skip to main content
Glama

Model Context Protocol Server

模型上下文协议 (MCP) 服务器

此存储库包含 Azure Kubernetes 服务 (AKS) 上 MCP 服务器的 Kubernetes 部署配置。

先决条件

  • Azure CLI
  • 库布克特尔
  • Docker
  • Node.js 18+

项目结构

. ├── 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

部署步骤

  1. 构建 Docker 镜像:
docker build -t mcp-server:latest .
  1. 将映像推送到 Azure 容器注册表 (ACR):
az acr login --name <your-acr-name> docker tag mcp-server:latest <your-acr-name>.azurecr.io/mcp-server:latest docker push <your-acr-name>.azurecr.io/mcp-server:latest
  1. 应用 Kubernetes 清单:
kubectl apply -f k8s/
  1. 验证部署:
kubectl get pods kubectl get services

配置

可以通过 ConfigMap( k8s/configmap.yaml )中定义的环境变量来配置应用程序。

健康检查

该应用程序公开了一个/health端点,用于 Kubernetes 健康检查。

监控

  • 可以通过 Azure Monitor 监视资源使用情况
  • 可以通过kubectl logs获取应用程序日志

安全

  • 该应用程序使用HTTPS
  • CORS 配置用于安全的跨域请求
  • 实施速率限制以防止滥用
  • Helmet.js 用于安全标头

缩放

默认情况下,部署配置了 3 个副本。您可以使用以下方式进行扩展或缩减:

kubectl scale deployment mcp-server --replicas=<number>
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

用于模型上下文协议的 Kubernetes 部署服务器,可实现与可配置环境变量的安全通信、运行状况监视以及在 Azure Kubernetes 服务上的可扩展部署。

  1. 先决条件
    1. 项目结构
      1. 部署步骤
        1. 配置
          1. 健康检查
            1. 监控
              1. 安全
                1. 缩放

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    Provides a scalable, containerized infrastructure for deploying and managing Model Context Protocol servers with monitoring, high availability, and secure configurations.
                    Last updated -
                  • A
                    security
                    A
                    license
                    A
                    quality
                    This server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standardized interface for communicating with Azure DevOps
                    Last updated -
                    96
                    19
                    TypeScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Azure DevOps resources including projects, work items, repositories, pull requests, branches, and pipelines through a standardized protocol.
                    Last updated -
                    15
                    1,347
                    215
                    TypeScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Kubernetes clusters through natural language, supporting core Kubernetes operations, monitoring, security, and diagnostics.
                    Last updated -
                    537
                    Python
                    MIT License
                    • Linux
                    • Apple

                  View all related MCP servers

                  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/adrianozagallo-home/mcp-server'

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