loading…
Search for a command to run...
loading…
MCP server for UnknownCheats forum — Cloudflare bypass, thread scraping, code extraction
MCP server for UnknownCheats forum — Cloudflare bypass, thread scraping, code extraction
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.
puppeteer-real-browser with a headed Chrome instance to solve Turnstile challenges automaticallycookies.json and reused across restarts| 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 |
| 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.
# via npm
npx uc-mcp-server
# or clone
git clone https://github.com/amaralkaff/mcp-unknowncheat.git
cd mcp-unknowncheat
bun install
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
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"]
}
}
}
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.
# 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() is reserved for the MCP stdio transportfetch_all_pages./exports/ and are excluded from git and npmFound a bug or want to request a feature? Open an issue at:
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"uc-mcp-server": {
"command": "npx",
"args": [
"-y",
"uc-mcp-server"
]
}
}
}