Skip to main content

Add your description here

Project description

MNS MCP Server

MNS MCP Manager 是一个基于阿里云消息服务(MNS)的管理工具。通过 MCP 框架实现,用户可以通过 MCP Host 配置文件轻松集成并使用。

功能特性

  • 创建队列:支持动态创建 MNS 队列。
  • 删除队列:支持删除指定队列。
  • 发送消息:向指定队列发送消息。
  • 接收消息:从指定队列接收并删除消息。
  • 列出队列:支持按前缀过滤列出所有队列。

环境要求

  • Python 3.8+
  • 阿里云 MNS SDK (aliyun-mns-sdk)

安装与配置

1. 克隆项目

git clone https://github.com/Houlong66/mns-mcp-server.git
cd mns-mcp-server

2. 配置 MCP Servers

在 MCP Host 的配置文件中添加以下内容以注册 MNS MCP Server 服务器:

{
  "mcpServers": {
    "mns-mcp-server": {
      "command": "/absolute/path/to/uv",
      "args": [
        "--directory",
        "/absolute/path/to/mns-mcp-server",
        "run",
        "server.py"
      ],
      "env": {
        "MNS_ACCESS_KEY_ID": "your-access-key-id",
        "MNS_ACCESS_KEY_SECRET": "your-access-key-secret",
        "MNS_ENDPOINT": "your-mns-endpoint"
      }
    }
  }
}

配置说明:

  • command: 启动服务器的 uv 路径。
  • env: 配置阿里云 MNS 的访问密钥和端点信息。

your-access-key-idyour-access-key-secretyour-mns-endpoint 替换为您的实际值。

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

mseep_mns_mcp_server-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mns_mcp_server-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mns_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_mns_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_mns_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d0565695bab50f76bd966049aeb39d6e127d2f5c2166bbf5c34194ee074ff072
MD5 d5d4bb7c3124059865a5ee66e4e90563
BLAKE2b-256 7fbab171270ed5480a41658b7900a51b03638ee25be085918e428a32c7f588b7

See more details on using hashes here.

File details

Details for the file mseep_mns_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mns_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ecbd6716f1523a05db2a076ac6daf3b2e08dd7d50b91b80ea60e3bfbc22493a
MD5 f54af13028f83fc209020ccf55544b83
BLAKE2b-256 68b93e8a8b3a39715152f57cdcb93515e72e368e2d74460fd29eea9b4eeb1fc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page