A Model Context Protocol server for Aliyun RabbitMQ
Project description
Aliyun RabbitMQ MCP Server
一个用于阿里云 RabbitMQ 的 Model Context Protocol (MCP) 服务器,允许 LLM 通过 MCP 协议管理和操作阿里云 RabbitMQ 资源。
如何运行 MCP Server
本文档说明如何将 server.py 作为 MCP server 运行起来。
前置条件
-
安装依赖(如果还没有安装):
# 使用 uv(推荐) uv sync # 或使用 pip pip install -e .
-
配置阿里云凭据(通过环境变量):
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": ""
}
}
}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aliyun_mcp_server_rabbitmq-0.2.0.tar.gz.
File metadata
- Download URL: aliyun_mcp_server_rabbitmq-0.2.0.tar.gz
- Upload date:
- Size: 112.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edccf984fe7b6fe864c2c0e46b75712f030049b950b55efcc4305fa5c008842d
|
|
| MD5 |
6726faf6a6aef04c363255cf08e62170
|
|
| BLAKE2b-256 |
63477980060e56228b0c019d4972fa8022aff47d012456f13698900e5baab692
|
File details
Details for the file aliyun_mcp_server_rabbitmq-0.2.0-py3-none-any.whl.
File metadata
- Download URL: aliyun_mcp_server_rabbitmq-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9537755705aaf815aa7d326c4b87e96cc1c2818911577386746690b27f65569c
|
|
| MD5 |
26461e6ca0a6d98ed3e329cbb73a581b
|
|
| BLAKE2b-256 |
47d17647d29b8b3a73ecbb977e8e8abbbd8c81a5bef8b77d9d19fc64c3990b6c
|