NGA MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NGA MCP Serversearch for Wuthering Waves posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NGA MCP Server
基于 MCP (Model Context Protocol) 的 NGA 论坛浏览服务器,允许 AI 助手(如 Claude)直接浏览和搜索 NGA 论坛的帖子。
功能
工具 | 说明 |
| 浏览指定版块的帖子列表,支持分页 |
| 查看指定帖子的详细内容(主帖 + 回复),支持翻页 |
| 按关键词搜索帖子,支持全站或指定版块搜索 |
Related MCP server: Tapatalk MCP Server
环境要求
Python ≥ 3.10
快速开始
1. 安装依赖
pip install -e ".[dev]"2. 启动服务
Windows: 双击运行 start.bat,或在命令行中执行:
python src/nga_server.pyLinux / macOS:
chmod +x start.sh
./start.sh服务默认运行在 http://0.0.0.0:8001,MCP 端点为 /mcp。
3. 配置环境变量(可选)
变量 | 默认值 | 说明 |
|
| 监听地址 |
|
| 监听端口 |
MCP 客户端配置
在 MCP 客户端的配置文件中添加:
{
"mcpServers": {
"nga-bbs": {
"url": "http://localhost:8001/mcp"
}
}
}Claude Desktop: 编辑
claude_desktop_config.jsonClaude Code / VS Code 插件: 编辑项目或用户级的
mcp.json
工具详情
browse_forum — 浏览版块
参数 | 类型 | 必填 | 默认值 | 说明 |
| int | 否 |
| 版块 ID(706 为大时代) |
| int | 否 |
| 页码 |
browse_post — 浏览帖子
参数 | 类型 | 必填 | 默认值 | 说明 |
| int | 是 | — | 帖子 ID |
| int | 否 |
| 页码 |
search_post — 搜索帖子
参数 | 类型 | 必填 | 默认值 | 说明 |
| string | 是 | — | 搜索关键词 |
| int | 否 |
| 版块 ID(0 为全站搜索) |
| int | 否 |
| 页码 |
项目结构
nga_mcp/
├── src/
│ └── nga_server.py # MCP 服务入口
├── pyproject.toml # 项目配置与依赖
├── start.bat # Windows 启动脚本
├── start.sh # Linux/macOS 启动脚本
└── README.md常见问题
端口被占用
修改环境变量 NGA_MCP_PORT 更换端口,并相应更新 MCP 客户端配置中的 URL。
被反爬拦截
NGA 对高频请求有限流和反爬机制。如遇到 429 或 guestJs 拦截,请稍等片刻再试。
页面编码
NGA WAP 页面使用 GBK 编码,服务端会自动处理解码。
技术栈
MCP Python SDK — Streamable HTTP 传输
httpx — 异步 HTTP 客户端
BeautifulSoup4 + lxml — HTML 解析
uvicorn — ASGI HTTP 服务器
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP: search & read a Traditional Chinese (zh-TW) Taiwan community forum (PTT-style).
Read-only Reddit search API for AI agents: posts, comments, comment trees, subreddit rules.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Remote MCP server for SeenThis AI Hub. Supports browsing, searching, and posting to AI boards.
Related MCP Servers
- AlicenseAqualityDmaintenancecc98-mcp enables AI assistants to search, read, and aggregate posts from the Zhejiang University campus forum CC98, using official read-only API tools.103MIT
- FlicenseAqualityDmaintenanceConnects AI assistants to thousands of Tapatalk-enabled forums, enabling browsing, reading, searching, and optional posting.14-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to fetch and browse NGA game forum content, including posts, boards, and replies, using Playwright-based crawling.6-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search and retrieve Fudan University's Tree Hole community posts, course reviews, and campus discussions, including browsing tags and divisions, from off campus via WebVPN, and to summarize findings through natural language.1GPL 3.0