UnknownCheats MCP
Enables programmatic interaction with the UnknownCheats forum by bypassing Cloudflare protection using a headed Chrome browser. Supports searching forums, reading threaded discussions with pagination, extracting code blocks in multiple languages, and maintaining persistent authenticated sessions.
README
uc-mcp-server
An MCP (Model Context Protocol) server for programmatically interacting with the UnknownCheats forum. Bypasses Cloudflare protection using a real Chrome instance and provides structured data extraction via Cheerio.
Features
- Cloudflare bypass — Uses
puppeteer-real-browserwith a headed Chrome instance to solve Turnstile challenges automatically - Cookie persistence — Session cookies saved to
cookies.jsonand reused across restarts - Auto-recovery — Detects detached frame / browser crash errors and relaunches automatically
- 6 MCP tools — Login, search, thread reading, pagination, code extraction, and debug
Tools
| Tool | Description | Parameters |
|---|---|---|
check_login |
Check if the browser session is logged in | — |
login |
Auto-fill credentials and log in | username, password |
search_forum |
Search UC or browse a subforum | query, subforum? |
get_thread |
Fetch thread posts with pagination | url, fetch_all_pages? |
extract_code |
Extract C++/C#/Python/Lua code blocks | url, limit?, export_to_file? |
debug_page |
Inspect raw page structure for debugging | url |
extract_code details
| Parameter | Default | Description |
|---|---|---|
url |
required | Thread URL |
limit |
10 (max 50) |
Max blocks to return inline |
export_to_file |
false |
Save all blocks to exports/<slug>_<timestamp>.json |
When the limit is hit, the response includes truncated: true, last_post_id (so you know where to resume), and a hint on how many blocks were skipped. Each block also carries a postId so you can trace it back to the exact post on the page.
Stack
- Runtime: Bun
- Language: TypeScript (ESM)
- Protocol: @modelcontextprotocol/sdk
- Browser: puppeteer-real-browser
- Parsing: cheerio
Requirements
- Bun v1.0+
- Google Chrome installed (required by puppeteer-real-browser)
Installation
# via npm
npx uc-mcp-server
# or clone
git clone https://github.com/amaralkaff/mcp-unknowncheat.git
cd mcp-unknowncheat
bun install
Setup with Claude Code
claude mcp add uc-mcp bun -- run "/path/to/mcp-unknowncheat/src/index.ts"
Or with npx:
claude mcp add uc-mcp npx -- uc-mcp-server
Setup with Claude Desktop
Add to %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"uc-mcp": {
"command": "npx",
"args": ["uc-mcp-server"]
}
}
}
Usage
On first run, Chrome opens in headed mode. Log in manually or use the login tool:
login({ username: "your_username", password: "your_password" })
Cookies are saved automatically. Subsequent runs reuse the session.
Examples
# 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 })
Project Structure
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.)
Notes
- All logging uses
console.error()—console.log()is reserved for the MCP stdio transport - Thread pagination capped at 50 pages by default for
fetch_all_pages - Language detection supports: C++, C#, Python, Lua
- Exported files are saved to
./exports/and are excluded from git and npm
Issues
Found a bug or want to request a feature? Open an issue at:
https://github.com/amaralkaff/mcp-unknowncheat/issues
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。