Skip to main content
Glama

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

Alibaba Cloud RDS OpenAPI MCP-Server

MCP-Server für RDS-Dienste über OPENAPI

Voraussetzungen

  1. Installieren Sie uv von Astral oder der GitHub-README
  2. Installieren Sie Python mit uv python install 3.12
  3. Alibaba Cloud-Anmeldeinformationen mit Zugriff auf Alibaba Cloud RDS-Dienste

Schnellstart

Verwendung von Cherry-Studio (empfohlen)

Installieren Sie die MCP-Umgebung gemäß der Dokumentation von Cherry-Studio und konfigurieren und verwenden Sie anschließend RDS MCP. Fügen Sie der MCP-Client-Konfigurationsdatei die folgende Konfiguration hinzu:

"mcpServers": { "rds-openapi-mcp-server": { "command": "uvx", "args": [ "alibabacloud-rds-openapi-mcp-server@latest" ], "env": { "ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id", "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key", "ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token" // optional, required when using STS Token } } }

Verwenden von Cline

Legen Sie Ihre Umgebung fest und führen Sie den MCP-Server aus.

# set env export SERVER_TRANSPORT=sse; export ALIBABA_CLOUD_ACCESS_KEY_ID=$you_access_id; export ALIBABA_CLOUD_ACCESS_KEY_SECRET=$you_access_key; export ALIBABA_CLOUD_SECURITY_TOKEN=$you_sts_security_token; # optional, required when using STS Token # run mcp server uvx alibabacloud-rds-openapi-mcp-server@latest

Nach dem Ausführen des MCP-Servers wird die folgende Ausgabe angezeigt:

INFO: Started server process [91594] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

Und dann konfigurieren Sie die Cline.

remote_server = "http://127.0.0.1:8000/sse";

Mit Claude

Von Github herunterladen

git clone https://github.com/aliyun/alibabacloud-rds-openapi-mcp-server.git

Fügen Sie der MCP-Client-Konfigurationsdatei die folgende Konfiguration hinzu:

"mcpServers": { "rds-openapi-mcp-server": { "command": "uv", "args": [ "--directory", "/path/to/alibabacloud-rds-openapi-mcp-server/src/alibabacloud_rds_openapi_mcp_server", "run", "server.py" ], "env": { "ALIBABA_CLOUD_ACCESS_KEY_ID": "access_id", "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "access_key", "ALIBABA_CLOUD_SECURITY_TOKEN": "sts_security_token" // optional, required when using STS Token } } }

Komponenten

Werkzeuge

  • create_db_instance : Erstellen Sie eine RDS-Instanz.
  • describe_db_instances : Fragt Instanzen ab.
  • describe_db_instance_attribute : Fragt die Details einer Instanz ab.
  • describe_db_instance_performance : Fragt die Leistungsdaten einer Instanz ab.
  • describe_error_logs : Fragt das Fehlerprotokoll einer Instanz ab.
  • describe_db_instance_net_info : Ruft im Batch Netzwerkkonfigurationsdetails für mehrere RDS-Instanzen ab.
  • describe_db_instance_ip_allowlist : Ruft im Batch IP-Whitelist-Konfigurationen für mehrere RDS-Instanzen ab.
  • describe_db_instance_databases : Ruft im Batch Datenbankinformationen für mehrere RDS-Instanzen ab.
  • describe_db_instance_accounts : Ruft im Batch Kontoinformationen für mehrere RDS-Instanzen ab.
  • describe_available_classes : Abfrage verfügbarer Instanzklassen und Speicherbereiche.
  • describe_available_zones : Abfrage der verfügbaren Zonen für RDS-Instanzen.
  • describe_bills : Abfrage der Verbrauchsübersicht aller Produktinstanzen oder Abrechnungspositionen für einen Benutzer innerhalb eines bestimmten Abrechnungszeitraums.
  • describe_vpcs : VPC-Liste abfragen.
  • describe_vswitches : VSwitch-Liste abfragen.
  • describe_slow_log_records : Abfrage langsamer Protokolldatensätze für eine RDS-Instanz.
  • describe_db_instance_parameters : Ruft im Batch Parameterinformationen für mehrere RDS-Instanzen ab.
  • modify_parameter : RDS-Instanzparameter ändern.
  • modify_db_instance_spec : RDS-Instanzspezifikationen ändern.
  • get_current_time : Ruft die aktuelle Uhrzeit ab.

Ressourcen

Zurzeit keine

Eingabeaufforderungen

# Role You are a professional Alibaba Cloud RDS Copilot, specializing in providing customers with efficient technical support and solutions for RDS (Relational Database Service). Your goal is to help customers resolve issues quickly through clear problem decomposition, precise tool invocation, and accurate time calculations. ## Skills ### Skill 1: Problem Decomposition and Analysis - Deeply deconstruct user questions to identify core requirements and potential steps/commands involved. - Provide clear task breakdowns to ensure each step contributes to the final solution. - Please organize your answers in a table format as much as possible. ### Skill 2: RDS MCP Tool Invocation - Proficiently invoke the RDS MCP tool to retrieve database information or execute operations. - Tool invocation must follow task decomposition and align with logical reasoning and customer needs. - Select appropriate MCP modules (e.g., monitoring data queries, performance diagnostics, backup/recovery) based on user requirements. ### Skill 3: Time Interpretation and Calculation - Accurately parse relative time concepts like "today," "yesterday," or "the last hour." - Convert relative time expressions into precise time ranges or timestamps using the current time to support data queries or operations. ## Constraints - **Task Decomposition First**: Always provide detailed task breakdowns. - **Tool Dependency Clarity**: All MCP tool invocations must be justified by clear task requirements and logical reasoning. - **Time Precision**: Calculate exact time ranges for time-sensitive queries. - **Professional Focus**: Discuss only Alibaba Cloud RDS-related technical topics. - **Safety Awareness**: Ensure no operations negatively impact customer databases.

Beitragen

Beiträge sind willkommen! Senden Sie gerne einen Pull Request.

  1. Forken Sie das Repository
  2. Erstellen Sie Ihren Feature-Zweig ( git checkout -b feature/amazing-feature )
  3. Übernehmen Sie Ihre Änderungen ( git commit -m 'Add some amazing feature' )
  4. Pushen zum Zweig ( git push origin feature/amazing-feature )
  5. Öffnen einer Pull-Anfrage

Lizenz

Dieses Projekt ist unter der Apache 2.0-Lizenz lizenziert.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Ein Server, der über OpenAPI Verwaltung und Konnektivität für Alibaba Cloud RDS-Datenbankdienste bereitstellt und es Benutzern ermöglicht, über die MCP-Integration RDS-Instanzen zu erstellen, abzufragen und zu ändern.

  1. Voraussetzungen
    1. Schnellstart
      1. Verwendung von Cherry-Studio (empfohlen)
      2. Verwenden von Cline
      3. Mit Claude
    2. Komponenten
      1. Werkzeuge
      2. Ressourcen
      3. Eingabeaufforderungen
    3. Beitragen
      1. Lizenz

        Related MCP Servers

        • -
          security
          -
          license
          -
          quality
          A Model Context Protocol server that enables large language models to upload files directly to Alibaba Cloud Object Storage Service (OSS), supporting multiple OSS configurations and specified upload directories.
          Last updated -
          1
          TypeScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI agents to interact with Alibaba Cloud DataWorks through standardized interfaces, allowing seamless management of DataWorks resources and operations via the DataWorks Open API.
          Last updated -
          169
          81
          17
          TypeScript
          Apache 2.0
        • A
          security
          A
          license
          A
          quality
          A server that provides access to Alibaba Cloud resources including ECS, VPC, and CloudMonitor through API and OOS implementations, enabling resource management and monitoring via a unified interface.
          Last updated -
          34
          53
          Python
          Apache 2.0
          • Apple
          • Linux
        • A
          security
          A
          license
          A
          quality
          A server implementation that enables management of Alibaba Cloud ECS (Elastic Compute Service) resources through a collection of API and OOS automation tools, supporting operations like instance lifecycle management, monitoring, and resource inspection.
          Last updated -
          26
          53
          Python
          Apache 2.0
          • Apple
          • Linux

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-rds-openapi-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server