NG

nacos-group/nacos-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

12 stars 8 forks 품질 62 트렌드 8Apache-2.0

Nacos MCP 서버

개요

Nacos는 동적 서비스 발견 및 구성 및 서비스 관리를 위해 설계된 사용하기 쉬운 플랫폼입니다. 클라우드 네이티브 애플리케이션과 microservices 플랫폼을 쉽게 구축할 수 있습니다. 이 MCP (Model Context Protocol) 서버는 Nacos 상호 작용과 자동화를 위해 입니다. 이 서버는 큰 언어 모델을 통해 Nacos Cluster의 Namespace, 서비스 및 구성 상대 정보를 검색하고 읽을 수있는 도구를 제공합니다. mcp-server-nacos는 현재 초기 개발 중입니다. 기능 및 사용 가능한 도구는 우리가 계속 개발 하 고 서버를 개선 하 여 변경 및 확장 될 수 있습니다. 또한 mcp-server-nacos는 현재 버전에 대한 모든 쓰기 작업을 지원하지 않고 읽기, 검색 및 목록 작업을 제공합니다. 글쓰기 작업은 향후 버전에서 지원됩니다. 이 mcp-server-nacos가 필요한 버전은 다음과 같습니다. 1. list namespaces - 현재 Nacos 클러스터의 네임스페이스 목록을 검색합니다.

개요(AI 번역)

개요

Nacos는 동적 서비스 발견 및 구성 및 서비스 관리를 위해 설계된 사용하기 쉬운 플랫폼입니다. 클라우드 네이티브 애플리케이션과 microservices 플랫폼을 쉽게 구축할 수 있습니다.

이 MCP (Model Context Protocol) 서버는 Nacos 상호 작용과 자동화를 위해 입니다. 이 서버는 namespace], service], configuration], configuration]를 검색하고 읽는 도구를 제공합니다.

mcp-server-nacos]는 현재 초기 개발 중입니다. 기능 및 사용 가능한 도구는 우리가 계속 개발 하 고 서버를 개선 하 여 변경 및 확장 될 수 있습니다. 또한 mcp-server-nacos]는 현재 버전에 대한 모든 쓰기 작업을 지원하지 않는 읽기, 검색 및 목록 작업을 제공합니다. 글쓰기 작업은 향후 버전에서 지원됩니다.

이 mcp-server-nacos] 필수 버전:

도구

  1. list_namespaces
  • 현재 Nacos 클러스터의 네임스페이스 목록을 검색합니다.
  • 입력:
  • 없음
  • 반품 : 현재 Nacos 클러스터의 네임스페이스 목록.
  1. [T7]]
  • 이 도구는 지정된 네임스페이스에서 서비스의 목록을 검색합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-server-nacos: A Nacos MCP server

Overview

Nacos is an easy-to-use platform designed for dynamic service discovery and configuration and service management. It helps you to build cloud native applications and microservices platform easily.

This MCP(Model Context Protocol) Server is for Nacos interaction and automation. This server provides tools to search and read namespace, service and configuration relative information in Nacos Cluster via Large Language Models.

Please note that mcp-server-nacos is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server. And also note that mcp-server-nacos only provide read, search and list operation, not support any write operation for current version. Write operation is planning supported in future versions.

One more note that this mcp-server-nacos required version:

1. Nacos version required upper `3.0.0`, because of depended on the [Nacos Admin API](https://nacos.io/en/swagger/admin/) in 3.x.
2. python version required 3.x, recommend upper `3.13`.

Tools

  1. list_namespaces
    • Retrieves the list of namespaces in the current Nacos cluster.
    • Input:
      • None
    • Returns: list of namespaces in the current Nacos cluster.
  2. list_services
    • This tool retrieves the list of services under a specified namespace. The response format depends on the withInstances parameter:withInstances=true: Returns service details with instances (ServiceDetailInfo objects). withInstances=false: Returns service metadata without instances (ServiceView objects). **NOTE: ** When withInstances=true, The API may cost too much memory and networks, If Only want get instance list with little or one service, Suggest use withInstances=false with List Service Instances.
    • Input:
      • pageNo(number): The current page number, default is 1.
      • pageSize(number): The size of services in each page, default is 100.
      • namespaceId(string, optional): The namespaceId of services, default is public if missing.
      • groupNameParam(string, optional): The groupName pattern of services, default null means all group if missing.
      • serviceNameParam(string, optional): The serviceName pattern of services, default null means all service if missing.
      • ignoreEmptyService(bool, optional): Whether ignore the empty service in result, default is true.
      • withInstances(bool, optional): Whether contain instances under each services in result, recommend and default is false.
    • Returns: list of services under a specified namespace.
  3. get_service
    • This tool retrieves detailed information of a specified service, including metadata and clusters, not including instance list.
    • Input:
      • namespaceId(string, optional): The namespaceId of services, default is public if missing.
GitHub에서 전체 README 보기

설치

uvx nacos-mcp-server --host your_nacos_host --port your_nacos_main_port such as 8848 --access_token your_nacos_access_token get from `login` api: /nacos/v3/auth/user/login with `username` and `password`
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

"mcpServers": { "git": { "command": "uvx", "args": [ "nacos-mcp-server", "--host", "your_nacos_host", "--port", "your_nacos_main_port, such as 8848", "--access_token", "your_nacos_access_token, get from `login` api: /nacos/v3/auth/user/login with `username` and `password`" ], } }