UnknownCheats MCP
uc-mcp-server
一个用于与 UnknownCheats 论坛进行程序化交互的 MCP (Model Context Protocol) 服务器。通过真实的 Chrome 实例绕过 Cloudflare 保护,并利用 Cheerio 提供结构化数据提取功能。
功能特性
绕过 Cloudflare — 使用
puppeteer-real-browser和有头 Chrome 实例自动解决 Turnstile 验证Cookie 持久化 — 会话 Cookie 保存至
cookies.json并在重启后复用自动恢复 — 检测到框架分离/浏览器崩溃错误时自动重启
6 个 MCP 工具 — 登录、搜索、阅读帖子、分页、代码提取和调试
Related MCP server: Ghost Browser MCP
工具
工具 | 描述 | 参数 |
| 检查浏览器会话是否已登录 | — |
| 自动填充凭据并登录 |
|
| 搜索 UC 或浏览子论坛 |
|
| 获取带分页的帖子内容 |
|
| 提取 C++/C#/Python/Lua 代码块 |
|
| 检查原始页面结构以进行调试 |
|
extract_code 详情
参数 | 默认值 | 描述 |
| 必填 | 帖子 URL |
|
| 内联返回的最大代码块数量 |
|
| 将所有代码块保存至 |
当达到限制时,响应包含 truncated: true、last_post_id(以便您知道从哪里继续),以及关于跳过了多少代码块的提示。每个代码块还携带一个 postId,以便您可以将其追溯到页面上的确切帖子。
技术栈
要求
Bun v1.0+
已安装 Google Chrome (puppeteer-real-browser 所需)
安装
# via npm
npx uc-mcp-server
# or clone
git clone https://github.com/amaralkaff/mcp-unknowncheat.git
cd mcp-unknowncheat
bun install使用 Claude Code 设置
claude mcp add uc-mcp bun -- run "/path/to/mcp-unknowncheat/src/index.ts"或者使用 npx:
claude mcp add uc-mcp npx -- uc-mcp-server使用 Claude Desktop 设置
添加到 %APPDATA%\Claude\claude_desktop_config.json (Windows) 或 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"uc-mcp": {
"command": "npx",
"args": ["uc-mcp-server"]
}
}
}使用方法
首次运行时,Chrome 会以有头模式打开。手动登录或使用 login 工具:
login({ username: "your_username", password: "your_password" })Cookie 会自动保存。后续运行将复用该会话。
示例
# Check login status
check_login()
# Browse the Apex Legends subforum
search_forum({ subforum: "apex-legends" })
# Search across all forums
search_forum({ query: "pubg offsets" })
# Get a thread (single page)
get_thread({ url: "https://www.unknowncheats.me/forum/..." })
# Get all pages of a thread
get_thread({ url: "https://www.unknowncheats.me/forum/...", fetch_all_pages: true })
# Extract code blocks (up to 10 inline)
extract_code({ url: "https://www.unknowncheats.me/forum/..." })
# Extract all code blocks and save to file
extract_code({ url: "https://www.unknowncheats.me/forum/...", export_to_file: true })项目结构
src/
├── index.ts # MCP server entry + tool registration
├── browser.ts # Chrome lifecycle, Cloudflare bypass, cookie persistence
├── types.ts # Shared TypeScript interfaces
├── tools/
│ ├── check-login.ts
│ ├── login.ts
│ ├── search-forum.ts
│ ├── get-thread.ts
│ ├── extract-code.ts
│ └── debug-page.ts
└── parsers/
├── thread.ts # Post extraction, pagination
├── search-results.ts # Search result parsing
├── code-blocks.ts # Code extraction + language detection
└── tags.ts # Thread tag detection ([Source], [Release], etc.)注意事项
所有日志均使用
console.error()—console.log()保留给 MCP stdio 传输使用fetch_all_pages的帖子分页默认上限为 50 页语言检测支持:C++, C#, Python, Lua
导出的文件保存至
./exports/,且已从 git 和 npm 中排除
问题
发现 Bug 或想要请求新功能?请在以下地址提交 Issue:
This server cannot be deployed
Maintenance
Related MCP Connectors
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Search or monitor any Flarum-powered forum for discussions, replies, participants, dates, and…
One MCP for the Web. Easily search, crawl, navigate, and extract websites without getting blocked.…
Stealth scraping & search. Bypasses Cloudflare, DataDome & LinkedIn via Cyborg HITL approach.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceFetches content from authenticated web pages by driving your signed-in Chrome/Edge browser via DevTools Protocol, automatically handling login redirects and reusing sessions across domains.9MIT
- -licenseNot gradedqualityNot gradedmaintenanceUndetectable browser automation server for MCP-compatible AI agents, offering 225 tools across 32 sections to navigate, extract, clone pages, and bypass antibot systems like Cloudflare.1-
- AlicenseAqualityFmaintenanceA stealth browser automation MCP server that wraps CloakBrowser's patched Chromium to bypass bot detection, providing 22 tools for web navigation, interaction, and session management.2431 PyPI2MIT
- AlicenseBqualityDmaintenanceProvides undetectable browser automation for LLM agents via MCP, enabling real Chrome interaction with stealth features, DOM accessibility, and DevTools integration.984MIT