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

402
followers
0
following
39
repos

More MCP servers built with Go

mcp-server

learn to make some mcp servers

By yiGmMk1
linear-mcp-go

linear MCP server based on mcp-go

By geropl1
gomcptest

A proof-of-concept demonstrating a custom-built host implementing an OpenAI-compatible API with Google Gemini, function calling, and interaction with a dummy MCP server.

By owulveryck2