Back to MCP directory
publicPublicdnsLocal runtime

istio-mcp-sample

一个用于Istio的MCP-over-XDSv3 gRPC服务器示例实现,支持通过Kubernetes部署并配置为Istio的配置源。

article

README

🚀 Istio MCP-over-XDSv3 服务器示例

本项目是一个 MCP-over-XDSv3 gRPC 服务器的样例实现,专为 Istio 打造,为相关开发和应用提供了实用的参考。

🚀 快速开始

📦 安装指南

要构建并发布容器镜像,并将服务器部署到 Kubernetes 中,你需要在本地安装 ko,然后应用部署清单:

ko apply -f deploy.yaml

💻 使用示例

基础用法

在完成上述部署后,你需要配置服务器作为 istiodconfigSource,示例配置如下:

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  profile: minimal
  meshConfig:
    configSources:
    - address: xds://mcp-sample.default.svc.cluster.local:15010
    - address: k8s://
# ...
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client