Skip to main content
Glama

WeChat Article Reader MCP Server

by whbfxy
start_server.sh762 B
#!/bin/bash # 微信公众号文章MCP服务器启动脚本 # 获取脚本所在目录 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" # 检查是否在虚拟环境中 if [[ "$VIRTUAL_ENV" == "" ]]; then echo "警告: 不在虚拟环境中,建议先激活虚拟环境" echo "运行: source ../.venv/bin/activate" echo "" fi # 检查依赖 echo "检查依赖..." python -c "import playwright, mcp, bs4, requests" 2>/dev/null if [ $? -ne 0 ]; then echo "安装缺失的依赖..." pip install playwright mcp beautifulsoup4 requests fi # 安装Playwright浏览器 echo "确保Playwright浏览器已安装..." playwright install # 启动服务器 echo "启动微信公众号文章MCP服务器..." python main.py

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whbfxy/MCP101Demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server