Skip to main content
Glama

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

Alibaba Cloud RDS OpenAPI MCP サーバー

OPENAPI 経由の RDS サービス用の MCP サーバー

前提条件

  1. AstralまたはGitHubのREADMEからuvをインストールします。
  2. uv python install 3.12を使用して Python をインストールします。
  3. Alibaba Cloud RDS サービスにアクセスできる Alibaba Cloud の資格情報

クイックスタート

Cherry-studioの使用(推奨)

Cherry Studioのドキュメントに従ってMCP環境をインストールし、RDS MCPを設定して使用します。MCPクライアント設定ファイルに以下の設定を追加します。

"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 } } }

Clineの使用

環境を設定し、mcp サーバーを実行します。

# 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

mcp サーバーを実行すると、次の出力が表示されます。

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)

次に、Cline を構成します。

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

クロードの使用

Githubからダウンロード

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

MCP クライアント構成ファイルに次の構成を追加します。

"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 } } }

コンポーネント

ツール

  • create_db_instance : RDS インスタンスを作成します。
  • describe_db_instances : インスタンスを照会します。
  • describe_db_instance_attribute : インスタンスの詳細を照会します。
  • describe_db_instance_performance : インスタンスのパフォーマンス データを照会します。
  • describe_error_logs : インスタンスのエラー ログを照会します。
  • describe_db_instance_net_info : 複数の RDS インスタンスのネットワーク構成の詳細をバッチで取得します。
  • describe_db_instance_ip_allowlist : 複数の RDS インスタンスの IP 許可リスト構成をバッチで取得します。
  • describe_db_instance_databases : 複数の RDS インスタンスのデータベース情報をバッチで取得します。
  • describe_db_instance_accounts : 複数の RDS インスタンスのアカウント情報をバッチで取得します。
  • describe_available_classes : 利用可能なインスタンス クラスとストレージ範囲を照会します。
  • describe_available_zones : RDS インスタンスの利用可能なゾーンを照会します。
  • describe_bills : 特定の請求期間内のユーザーのすべての製品インスタンスまたは請求項目の消費量の概要を照会します。
  • describe_vpcs : VPC リストを照会します。
  • describe_vswitches : VSwitch リストを照会します。
  • describe_slow_log_records : RDS インスタンスのスローログレコードを照会します。
  • describe_db_instance_parameters : 複数の RDS インスタンスのパラメータ情報をバッチで取得します。
  • modify_parameter : RDS インスタンスパラメータを変更します。
  • modify_db_instance_spec : RDS インスタンスの仕様を変更します。
  • get_current_time : 現在の時刻を取得します。

リソース

現時点ではありません

プロンプト

# 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.

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

このプロジェクトは、Apache 2.0 ライセンスに基づいてライセンスされます。

-
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.

OpenAPI を介して Alibaba Cloud RDS データベース サービスの管理と接続を提供し、ユーザーが MCP 統合を通じて RDS インスタンスを作成、クエリ、および変更できるようにするサーバー。

  1. 前提条件
    1. クイックスタート
      1. Cherry-studioの使用(推奨)
      2. Clineの使用
      3. クロードの使用
    2. コンポーネント
      1. ツール
      2. リソース
      3. プロンプト
    3. 貢献
      1. ライセンス

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A server that helps people access and query data in databases using the Query Runner with integration of the Model Context Protocol (MCP) Python SDK. Support databases including PostgreSQL Redshift MySQL Microsoft SQL Server Google APIs Amazon Web Services (via boto3) CockroachDB SQLite
          Last updated -
          26
          Python
          GPL 3.0
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          A management tool for Alibaba Cloud Message Service (MNS) implemented through the MCP framework, allowing users to create, delete, send messages to, and receive messages from MNS queues through MCP Host configuration.
          Last updated -
          Python
        • 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
          45
          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
          45
          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