NGA MCP Server
Click on "Install 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: MCP Sankhya Community Search 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/superboy724/nga_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server