We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhengjianhong001/mcp-server-qiwei'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import os
import json
import requests
from mcp.server.fastmcp import FastMCP
from mcp_server_qiwei.core import QweiClient
from mcp_server_qiwei.app_config import AppConfig
mcp = FastMCP("mcp-qiwei")
client = QweiClient()
@mcp.tool()
def send_qiwei_message(msg: str) -> dict:
"""发送信息到企业微信群
Args:
msg: 推送的企业微信的信息,Markdown 格式(必填)
Returns: <str>
"""
data = {
"msg": msg,
}
return client.send_message(data)
def main():
mcp.run()
if __name__ == "__main__":
mcp.run()