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.
Integrations
Provides containerization capabilities for the MCP server, allowing for consistent deployment across environments using Docker images.
Enables deployment and management of the MCP server on Kubernetes clusters, with support for scaling, health checks, and configuration management through Kubernetes resources.
Supports running the MCP server on Node.js runtime environments, allowing developers to build and extend MCP functionality using Node.js ecosystem.
モデルコンテキストプロトコル(MCP)サーバー
このリポジトリには、Azure Kubernetes Service (AKS) 上の MCP サーバーの Kubernetes デプロイ構成が含まれています。
前提条件
- Azure CLI
- kubectl
- ドッカー
- Node.js 18歳以上
プロジェクト構造
展開手順
- Docker イメージをビルドします。
- イメージを Azure Container Registry (ACR) にプッシュします。
- Kubernetes マニフェストを適用します。
- 展開を確認します。
構成
アプリケーションは、ConfigMap ( k8s/configmap.yaml
) で定義された環境変数を通じて構成できます。
健康診断
アプリケーションは、Kubernetes ヘルスチェック用の/health
エンドポイントを公開します。
監視
- リソースの使用状況はAzure Monitorを通じて監視できます
- アプリケーションログは
kubectl logs
から入手できます。
安全
- アプリケーションはHTTPSを使用します
- CORSは安全なクロスオリジンリクエスト用に設定されている
- 不正使用を防ぐためにレート制限が実装されています
- Helmet.jsはセキュリティヘッダーに使用されます
スケーリング
デプロイメントはデフォルトで3つのレプリカで構成されています。以下の方法でスケールアップまたはスケールダウンできます。
This server cannot be installed
構成可能な環境変数との安全な通信、正常性の監視、および Azure Kubernetes Service でのスケーラブルなデプロイを可能にする、モデル コンテキスト プロトコル用の Kubernetes デプロイ サーバー。