Back to MCP directory
publicPublicdnsLocal runtime

qyweixin_bot_mcp_server

企业微信机器人通知服务

article

README

🚀 企业微信群通知机器人MCP服务器配置说明

本配置文件完整定义了一个企业微信群通知机器人的MCP服务器,涵盖运行环境、超时时间、执行命令、环境变量以及传输类型等关键参数。

🚀 快速开始

此配置文件以JSON格式呈现,定义了企业微信群通知机器人MCP服务器的相关参数。以下是配置文件内容:

{
  "mcpServers": {
    "qyweixin_bot": {
      "disabled": false,
      "timeout": 60,
      "command": "python",
      "args": [
        "D:\\code\\qyweixin_bot_mcp_server\\server.py"
      ],
      "env": {
        "key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "PYTHONIOENCODING": "utf-8"
      },
      "transportType": "stdio",
      "alwaysAllow": []
    }
  }
}

🔧 技术细节

配置参数解释

| 属性 | 详情 | |------|------| | disabled | false 表示该机器人未被禁用。 | | timeout | 60 表示每次请求的超时时间为60秒。 | | command | "python" 表示使用Python命令来运行脚本。 | | args | 数组中的路径 D:\\code\\qyweixin_bot_mcp_server\\server.py 表示要执行的具体Python脚本文件。 | | env | 其中的 key 是机器人的密钥,用于身份验证。PYTHONIOENCODING 设置为 "utf-8" 以确保字符编码正确。 | | transportType | "stdio" 表示使用标准输入输出进行通信。 | | alwaysAllow | 空数组表示没有设置任何始终允许触发的规则。 |

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client