Nga Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Nga Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
基于Playwright的NGA游戏论坛MCP Server,专注于数据获取,支持帖子内容爬取、板块帖子获取和板块浏览等操作。
demo_with_cursor
自动处理多页帖子、跳过中间页面、智能去重排序,确保数据完整性。
git clone <repository-url>
cd nga-mcp-serverpip install -r requirements.txt
playwright install chromiumpython boards_index_tool.py{
"mcpServers": {
"nga": {
"command": "python",
"args": ["/your-project-path/nga-mcp-server/nga_mcp_server.py"]
}
}
}使用 MCP Inspector 进行测试:
# 安装 MCP Inspector
npm install -g @modelcontextprotocol/inspector
# 启动测试
mcp-inspector -- python nga_mcp_server.py{}{
"name": "魔兽世界",
"topk": 3
}{
"url": "https://bbs.nga.cn/thread.php?fid=178",
"topk": 20
}{
"url": "https://bbs.nga.cn/read.php?tid=12345678",
"topk": 50
}如果需要访问需要登录的板块,需要配置用户cookies:
python cookies_tool.py按照提示在浏览器中登录,然后回到终端按回车即可自动保存cookies。
HEADLESS: 是否无头模式,默认为 true,可设为 false 观察浏览器行为NGA_INDEX_PATH: 板块索引文件路径,默认为 boards_index.jsonNGA_COOKIES_PATH: Cookies文件路径,默认为 nga_cookies.jsonboards_index_tool.py 生成板块索引python boards_index_tool.py 生成索引python cookies_tool.py 保存登录状态playwright install chromium 安装浏览器nga-mcp-server/
├── nga_mcp_server.py # MCP服务器主文件
├── nga_client.py # NGA爬虫客户端
├── boards_index_tool.py # 板块索引构建工具
├── cookies_tool.py # Cookies管理工具
├── boards_index.json # 板块索引文件
├── nga_cookies.json # 用户cookies配置
├── requirements.txt # 依赖包
└── README.md # 项目说明~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.