G

nacos-istio

...
Created 8/19/2019bynacos-group

Language:

Go

Stars:

39

Forks:

6

nacos-istio

Nacos integrate with Istio as a MCP server

Build

  • Linux CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build nacos-istio.go

Configure this MCP server in Istio

  1. Edit the configMap of Istio:
 kubectl edit cm istio -n istio-system
  1. Add this MCP server to the configSource list:
-- address: x.x.x.x:18848
  1. Restart Pilot.

Run in mock mode

This mode generates specified count of services with random names to test the function as well as the performance of MCP protocol with Pilot.

./nacos-istio --mock=true --mockServiceCount=50 --mockAvgEndpointCount=70 --mockPushDelay=1 --mockServiceNamePrefix=mock1

  • mock: if use mock mode.
  • mockServiceCount: generated service count, the endpoint count is about 10 times of service count.
  • mockAvgEndpointCount: average endpoint count of each service, shouldn't be smaller than 10. (To test large endpoints number, 0.0.1% of the services will each have 20000 endpoints.)
  • mockPushDelay: the interval in milliseconds between each service entry push to Pilot.
  • mockServiceNamePrefix: service name prefix.

Run in real mode

Nacos MCP Server has been implemented as a builtin server of Nacos in Nacos 1.1.4, please see the code in https://github.com/alibaba/nacos/tree/develop/istio

Last updated: 10/24/2024

Publisher info

nacos-group's avatar

Nacos Group

405
followers
0
following
39
repos

More MCP servers built with Go

ocireg-mcp

An MCP (Model Context Protocol) server that provides tools for querying OCI registries and image references.

By StacklokLabs
mcp-helm

MCP server for Helm package manager

By zekker6
osv-mcp

An SSE-based MCP server that allows LLM-powered applications to query the OSV database for vulnerability information

By StacklokLabs