nwafu-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PDQQ_COOKIES | No | QQ 频道会话 Cookie(频道类工具需要) | |
| NWAFU_TIMEOUT | No | 单请求超时秒数,默认 30 | 30 |
| PDQQ_GUILD_ID | No | 频道标识,默认为 inwafu1934 | inwafu1934 |
| PDQQ_CHANNEL_ID | No | 子版块标识,默认为 670126629 | 670126629 |
| PDQQ_COOKIE_URL | No | 远程 Cookie 提供者的 URL 地址 | |
| NWAFU_COOKIE_FILE | No | 指向 nwafu-export-cookies 导出的 JSON 文件路径 | |
| PDQQ_COOKIE_TOKEN | No | 远程 Cookie 提供者的 Bearer 令牌 | |
| NWAFU_MCP_TRANSPORT | No | 传输方式,stdio(默认)或 streamable-http | stdio |
| PDQQ_COOKIE_REFRESH_TTL | No | 远程 Cookie 缓存秒数,默认 600 | 600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| campus_channel_summaryA | 抓取西北农林科技大学官方 QQ 频道(https://pd.qq.com/g/inwafu1934)近期帖子,按互动量(点赞+评论)排名出热度榜,并自动归类为活动/竞赛/通知/推荐/贴士/求助/其他,输出 Markdown 总结;每条重要信息都附来源帖子标题与链接。 |
| official_site_recentA | 查询西北农林科技大学官网(https://www.nwafu.edu.cn/)最近的活动、竞赛、通知、招聘等官方信息并输出 Markdown 总结。支持传入关键词(如学院名)缩小检索范围,例如 keyword='植保学院' 只返回植保学院相关通知。 |
| official_site_searchB | 对西北农林科技大学官网(含新闻网)执行关键词全文检索,返回 Markdown 排版的结果列表(标题/日期/来源/摘要/原文链接)。 |
| campus_question_searchA | 对“学校官网 + 校园 QQ 频道”两个信息源做自定义问题检索:先自动从问题中提取关键词,在官网全文索引与频道近期帖子中检索,合并输出 Markdown 结果,每条均附来源标题与链接。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a fairly distinct retrieval need: QQ channel hot summaries, official-site recent info, official-site full-text search, and cross-source question search. The only mild overlap is between official_site_recent and official_site_search, but their descriptions make the difference clear enough.
Tool names are consistently lowercase snake_case and follow recognizable source prefixes like campus_* and official_site_*. However, suffixes mix result-oriented terms (summary, recent) with action terms (search), so they do not follow a strict verb_noun pattern throughout.
Four tools is well-scoped for a campus information retrieval server. Each tool covers a distinct retrieval workflow without redundancy, and the set is neither too thin nor overloaded for its stated purpose.
The set covers recent official announcements, full-text official-site search, QQ channel hot content, and a combined question-based search across both sources. A dedicated channel-only keyword search is missing, but campus_question_search partially fills that gap, so the surface is reasonably complete.