Skip to main content

Aliyun RabbitMQ MCP Server

一个用于阿里云 RabbitMQ 的 Model Context Protocol (MCP) 服务器,允许 LLM 通过 MCP 协议管理和操作阿里云 RabbitMQ 资源。

如何运行 MCP Server

本文档说明如何将 server.py 作为 MCP server 运行起来。

前置条件

  1. 安装依赖(如果还没有安装):

    # 使用 uv(推荐)
    uv sync
    
    # 或使用 pip
    pip install -e .
    
  2. 配置阿里云凭据(通过环境变量):

    export ALIBABA_CLOUD_ACCESS_KEY_ID="你的AccessKeyID"
    export ALIBABA_CLOUD_ACCESS_KEY_SECRET="你的AccessKeySecret"
    

MCP 客户端配置

Cursor 配置

通过配置文件配置

在项目根目录下创建 .cursor/mcp.json 文件(如果目录不存在,需要先创建),或在用户目录下创建 ~/.cursor/mcp.json:

方案 1:使用 uv 运行(需要设置 PYTHONPATH)

{
  "mcpServers": {
    "aliyun-rabbitmq": {
      "command": "/pathTo/aliyun-mcp-server-rabbitmq/.venv/bin/python",
      "args": ["-m", "src.server"],
      "cwd": "/pathTo/aliyun-mcp-server-rabbitmq" 
    }
  }
}

方案 2:使用已安装的命令(推荐,最简单)

项目已经发布到阿里内部仓库,可以使用下列方式直接依赖。

{
  "mcpServers": {
    "aliyun-rabbitmq": {
      "command": "uvx",
      "args": [
        "aliyun-mcp-server-rabbitmq"
      ],
      "env": {
        "CONNECTION_STRING": ""
      }
    }
  }
}

Metadata

Release files for aliyun-mcp-server-rabbitmq 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aliyun-mcp-server-rabbitmq 0.4.0
File Size Uploaded Provenance Actions
aliyun_mcp_server_rabbitmq-0.4.0.tar.gz 113.1 kB Without provenance Details for aliyun_mcp_server_rabbitmq-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aliyun-mcp-server-rabbitmq 0.4.0
File Interpreter ABI Platform Actions
aliyun_mcp_server_rabbitmq-0.4.0-py3-none-any.whl Python 3 none any Details for aliyun_mcp_server_rabbitmq-0.4.0-py3-none-any.whl

Total release size: 126.7 kB

Release files / aliyun_mcp_server_rabbitmq-0.4.0.tar.gz

Download URL aliyun_mcp_server_rabbitmq-0.4.0.tar.gz
Size 113.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b5eed8a8ec003070b37864919c51592d26251544728794670545dbc1a40d6f0
BLAKE2b-256 checksum
How to use checksums
b09ea9bfc4775d971af9546faab19d8b011f1ecddbbff7a8928c25995b53ec99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / aliyun_mcp_server_rabbitmq-0.4.0-py3-none-any.whl

Download URL aliyun_mcp_server_rabbitmq-0.4.0-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68bf0550eac3f06c4650b20509228b8677d05cd57db6103de0409cef6f159de6
BLAKE2b-256 checksum
How to use checksums
383123385e5de8d0ce1da772d4ade8d090801eb4e525088853d9b84c7355d816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for aliyun-mcp-server-rabbitmq 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page