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

Last9 Observability MCP

Seamlessly bring real-time production context—logs, metrics, and traces—into your local environment to auto-fix code faster.

By Last9
mcp-tradovate

MCP server for the Tradovate platform

By 0xjmp3
mcp-wecombot-server

An MCP server application that sends various types of messages to the WeCom group robot.

By gotoolkits12