QZone MCP Server
Enables AI to post, view, comment, reply, like, and delete QQ Space (QZone) entries through natural language.
README
QZone MCP Server for AstrBot
让 AstrBot 接入 QQ 空间,AI 可以在聊天时自主发说说、查看评论、回复评论、点赞。
功能
| 工具 | 说明 |
|---|---|
post_shuoshuo |
发说说(AI 自主触发,无需指令) |
get_my_shuoshuo_list |
查看说说列表 |
get_shuoshuo_detail |
查看说说详情 + 评论 |
add_comment |
评论说说 |
reply_comment |
回复评论 |
like_post |
点赞 / 取消点赞 |
delete_post |
删除说说 |
快速开始
1. 获取 QQ 空间 Cookie
浏览器打开 https://i.qq.com 登录 → F12 → Console → 输入 document.cookie → 复制输出
粘贴到 cookies.txt 文件中。
2. 放入 AstrBot data 目录
.../data/qzone_mcp/
├── server.py
├── requirements.txt
└── cookies.txt
3. 配置 MCP
在 AstrBot 的 mcp_server.json 中添加:
{
"mcpServers": {
"qq空间": {
"command": "python",
"args": ["/AstrBot/data/qzone_mcp/server.py"]
}
}
}
4. 修复 Persona
AstrBot 默认 persona 的 tools 为 [] 会拦截 MCP 工具,需要改为 null。
Docker:
docker exec astrbot python3 -c "
import sqlite3
conn = sqlite3.connect('/AstrBot/data/data_v4.db')
conn.execute(\"UPDATE personas SET tools = NULL WHERE persona_id = 'default'\")
conn.commit()
print('Done')
"
pip / Desktop:打开 WebUI → Persona → default → 清空工具列表 → 保存。
5. 重启
docker restart astrbot
依赖
- Python >= 3.12
mcprequestsjson5
致谢
QZone API 端点基于 astrbot_plugin_qzone_ultra 逆向。
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.