Skip to main content
Glama

v3rm-mcp — V3rmillion for agents

MCP server (Python, FastMCP, stdio) that gives an AI agent authenticated access to v3rmillion.net through your own browser session: list a section's threads, read posts and replies, search the site, open any page, and download in-site attachments into a quarantine folder with a SHA-256 and mark-of-the-web.

Works with any MCP client (Claude Code, Codex, OpenCode, Cursor, …) — it's a plain stdio server, no host-specific code. Any URL outside v3rmillion.net is refused by the fetch and download paths; that's a safety feature, not a config knob.

What's verified

Everything below was exercised against the live site, signed in, on 2026-12-04:

  • XenForo 2.x and its URL scheme — /threads/<slug>.<id>/, /forums/<slug>.<id>/page-N, /posts/<id>/, /members/<slug>.<id>/, /attachments/<name>.<id>/.

  • parse_thread_list, parse_thread (post body / author / date / quotes / in-site + external links), detect_login, and v3rm_search (drives the real POST search form and parses the .block-row results). Fixtures under tests/fixtures/ are real captured pages, scrubbed of the capturing account's identity — python -m pytest tests -q runs 9 parser tests against them offline.

  • Post number is a page-relative position, not a thread-absolute index — this theme renders no #N link, so there's nothing to anchor an absolute number to.

See RESEARCH.md for the full survey (sections, prefixes, search mechanics, where files actually live, Cloudflare behaviour, scale).

Related MCP server: Universal Agent Forum

Setup

python -m venv .venv
. .venv/Scripts/activate        # Windows; use .venv/bin/activate on macOS/Linux
pip install -r requirements.txt
playwright install chrome

python login.py                 # Chrome opens: sign in yourself, tick "Remember Me"

If sign-in loops on a Cloudflare challenge, python login_persistent.py uses a persistent profile and waits up to 15 minutes. Or import cookies from your everyday browser: F12 → Network → reload → first real request → copy the cookie: header into data/cookies.txt → python import_cookies.py.

Restart the agent after logging in.

Register with an MCP client

Claude Code:

claude mcp add v3rmillion -- /abs/path/.venv/Scripts/python /abs/path/server.py

Codex (~/.codex/config.toml) or OpenCode (opencode.json) — point command/args at the same venv Python and server.py. Any client that speaks stdio MCP works the same way.

Tools

Tool

Purpose

Network

v3rm_status()

Signed in? + cache stats

yes

v3rm_list_threads(forum, page)

Threads of a section ("roblox.19" or a full URL)

yes

v3rm_get_thread(thread, page, all_pages, max_pages)

Opening post + replies

yes

v3rm_get_post(post_id)

One post (cache first)

if not cached

v3rm_search(query, forum_id, title_only, users, page)

Site search (drives the real form)

yes

v3rm_search_cache(query, limit)

Local FTS5 search over cached threads

no

v3rm_cached_thread(thread_id)

Thread from the cache

no

v3rm_open(url, offset, max_chars)

Any v3rmillion.net page as text

yes

v3rm_download(url, subdir)

In-site file → data/downloads/ + SHA-256 + Zone.Identifier

yes

v3rm_click_download(page_url, link_text, subdir)

JavaScript-triggered download

yes

v3rm_sync(forum, start_page, pages, max_thread_pages, refresh)

Pull recent pages into the cache

yes (slow)

v3rm_list_downloads(limit)

Files already fetched

no

Three sections are named "Roblox" and only the id tells them apart — roblox.19 (Exploiting), roblox.26 (Marketplace), roblox.37 (General Gaming) — so forum args take the compound slug.id, never a bare slug. Files on this forum mostly live on external hosts pasted into posts (mega, gofile, mediafire, pastebin, raw GitHub, …); those are surfaced in v3rm_get_thread output but not downloadable through this server — fetch them yourself, in a VM.

Settings (environment variables)

Var

Default

Meaning

V3RM_DATA_DIR

./data

Where state.json, the SQLite cache and downloads live

V3RM_MIN_DELAY

3

Minimum seconds between requests (+ jitter)

V3RM_MAX_DOWNLOAD_MB

300

Hard cap on a single download

V3RM_DEFAULT_FORUM

roblox.19

Section used when a tool's forum arg is omitted

V3RM_HEADLESS

off

Run the browser headless

V3RM_BROWSER_CHANNEL

chrome

Playwright browser channel

V3RM_CHALLENGE_WAIT_S

180

How long to wait out a Cloudflare challenge

V3RM_CDP_URL

—

Attach to an already-running browser over CDP instead of launching one

Security

  • data/state.json holds a live session cookie for your account. It's git-ignored — never share or commit it.

  • Downloaded files are untrusted. Static analysis is fine; don't execute them on the host.

License

MIT — see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables forum research through search, thread reading, subforum crawling, code-block extraction, attachment inspection, offset comparison, and an offline searchable index, with browser-based Cloudflare handling.
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to browse and search a login-protected Discourse forum, reading topics and posts as Markdown, running filtered full-text searches, and listing categories, users, notifications, and images. Authentication uses a read-only User API key approved once through the forum's device authorization flow, so the server can never post or modify anything.
      9
      MIT