AA

api7/apisix-mcp

Developer tools공식

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

38 stars 19 forks 품질 66 트렌드 0Apache-2.0

api7/apisix-mcp는 MCP 서버 후보가 https://github.com/api7/apisix-mcp.에서 수입되었습니다

개요

api7/apisix-mcp는 MCP 서버 후보가 https://github.com/api7/apisix-mcp.에서 수입되었습니다

개요(AI 번역)

APISIX Model Context Protocol (MCP) 서버는 APISIX Admin API를 사용하여 대형 언어 모델 (LLMs)를 브리핑하는 데 사용됩니다. MCP 호환 AI 클라이언트를 통해 APISIX의 보고 및 관리 리소스에 대한 자연 언어 기반 상호 작용을 가능하게하는 것을 목표로 합니다.

https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe] [T0]] [T0]] [T0]] [T0]] [T0]] [T0]] [T0]] [T0] [T0] [T0]] [T0] [T0] [T0]] [T0]] [T0] [T0] [T0] [T0] [T0]] [T0] [T0]] [T0] [T0] [T0]] [T0]] [T0] [T0] [T0]] https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe] https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe]]] https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe]]]]]] [[https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe]]]]]]] [[[[[[https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe]]]]]]]]]]]]]] [[[[[[[https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe]]]]]]]]]]]]]]]]]] [[[[[[[[[[[[[[[[[[[[[[

지원 가동

# 공통 작업

  • get_resource: 유형별 리소스 검색 (루트, 서비스, 업스트림 등)
  • delete_resource: ID로 리소스 제거
  • send_request_to_gateway: APISIX Gateway에 요청 또는 여러 요청 보내기

API 자원 가동

  • create_route/[T5]]/delete_route: 경로 관리
  • create_service]/[T8]]/delete_service: 서비스 관리
  • create_upstream]/update_upstream/delete_upstream: 업스트림 관리
  • create_ssl/update_ssl]/delete_ssl: SSL 인증서 관리
  • create_or_update_proto: protobuf 정의 관리
  • [T17]]: 스트림 경로 관리

플러그인 작업

  • get_all_plugin_names: 모든 플러그인 이름 받기
  • get_plugin_info]/[T20]]/get_plugin_schema: 플러그인 구성

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

README

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

APISIX Model Context Protocol (MCP) Server

APISIX Model Context Protocol (MCP) server is used to bridge large language models (LLMs) with the APISIX Admin API. It aims to enable natural language-based interaction for viewing and managing resources in APISIX through MCP-compatible AI clients.

https://github.com/user-attachments/assets/081e878c-225e-4ff8-a9c5-5813f4784cfe

Support Operations

Common Operations

  • get_resource: Retrieve resources by type (routes, services, upstreams, etc.)
  • delete_resource: Remove resources by ID
  • send_request_to_gateway: Send a request or multiple requests to the APISIX gateway

API Resources Operations

  • create_route/update_route/delete_route: Manage routes
  • create_service/update_service/delete_service: Manage services
  • create_upstream/update_upstream/delete_upstream: Manage upstream
  • create_ssl/update_ssl/delete_ssl: Manage SSL certificates
  • create_or_update_proto: Manage protobuf definitions
  • create_or_update_stream_route: Manage stream routes

Plugin Operations

  • get_all_plugin_names: Get all available plugin names
  • get_plugin_info/get_plugins_by_type/get_plugin_schema: Retrieve plugins configuration
  • create_plugin_config/update_plugin_config: Manage plugin configurations
  • create_global_rule/update_global_rule: Manage plugin global rules
  • get_plugin_metadata/create_or_update_plugin_metadata/delete_plugin_metadata: Manage plugin metadata

Security Configuration

  • get_secret_by_id/create_secret/update_secret: Manage secrets
  • create_or_update_consumer/delete_consumer: Manage consumers
  • get_credential/create_or_update_credential/delete_credential/: Manage consumer credentials
  • create_consumer_group/delete_consumer_group: Manage consumer groups

Configuration in AI client

Prerequisite

Follow the APISIX Getting Started guide to set up and run APISIX.

Installing via Smithery

To install APISIX Model Context Protocol Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @api7/apisix-mcp --client claude

Using npm

Configure your AI client (Cursor, Claude, Copilot, etc.) with following settings:

{
  "mcpServers": {
    "apisix-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "apisix-mcp"
      ],
      "env": {
        "APISIX_SERVER_HOST": "your-apisix-server-host",
        "APISIX_SERVER_PORT": "your-apisix-server-port",
        "APISIX_ADMIN_API_PORT": "your-apisix-admin-api-port",
        "APISIX_ADMIN_API_PREFIX": "your-apisix-admin-api-prefix",
GitHub에서 전체 README 보기

설치

npx -y apisix-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "apisix-mcp": { "command": "npx", "args": [ "-y", "apisix-mcp" ], "env": { "APISIX_SERVER_HOST": "your-apisix-server-host", "APISIX_SERVER_PORT": "your-apisix-server-port", "APISIX_ADMIN_API_PORT": "your-apisix-admin-api-port", "APISIX_ADMIN_API_PREFIX": "your-apisix-admin-api-prefix", "APISIX_ADMIN_KEY": "your-apisix-api-key" } } } }