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.1.tar.gz (2.3 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.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_mns_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 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.1.tar.gz
Algorithm Hash digest
SHA256 388e98980840ff26abb1ffb4e0abd82261ae35b31cbfffe39c8b09a4b89258c5
MD5 9c6998c338621abb42d5e1ab153229a8
BLAKE2b-256 14c3f276f2cb98f634708195223adeafc9baa8b57da00451fa92fd6f282a790e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_mns_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b92d11d09502be097ff28807e155859f12e7dba64d41a04220f8bfb5d656ef9
MD5 118d26dda7c01d4857bd5f135ee5d314
BLAKE2b-256 683ddf967ba685064d08ac70eeb317105ee849747cd79f3f26e6b591f524290e

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