One Command Connects Web2MD to Claude Code, Cursor, Codex, and Claude Desktop
One Command Connects Web2MD to Claude Code, Cursor, Codex, and Claude Desktop
MCP setup has a tedious shape. Every client stores its config somewhere different, each wants a slightly different format, and all of them need an absolute path that you have to look up first. Do that four times and you have spent twenty minutes on plumbing before your agent has read a single page.
Short answer
One line now handles all four clients: npm i -g web2md-mcp-server && web2md-mcp-setup. It detects which MCP clients are installed, configures each in its own format, registers the native messaging host, and prints a summary of what it did and what it skipped. There is no login step and no path to look up.
What it looks like
npm i -g web2md-mcp-server && web2md-mcp-setup
web2md-mcp-setup — connecting all your Agents…
▸ Registering local Agent bridge (native messaging host)…
✓ Native messaging host installed
Manifest: ~/Library/Application Support/Google/Chrome/NativeMessagingHosts/com.web2md.agent.json
Extension ID: ijmgpkkfgpijifldbjafjiapehppcbcn
Restart Chrome (Cmd+Q then reopen) for the changes to take effect.
═══ Setup summary ═══
✓ Claude Code
✓ Codex
✓ Claude Desktop
✓ Cursor
The summary is the part that matters. Anything not installed appears under skipped rather than vanishing, so you know whether three clients were configured or four.
The two things that used to break
The login step. Setup previously required credentials before it would run, which meant the "one command" was really a command, a signup, a token paste, and then the command again. It now completes a browser OAuth flow itself when no credentials exist. If you are already signed in, it uses what you have.
The PATH problem. This one is less obvious and bites harder. Claude Desktop and Cursor are GUI applications — launched from the dock, they do not inherit the PATH from your shell. A config that says npx web2md-mcp works when you test it in a terminal and fails silently when you actually use the app. The setup resolves node and the server entry point to absolute paths and writes those instead, which is why it survives a GUI launch.
What your agent gets
| Tool | What it does |
|---|---|
| agent_convert | One URL → Markdown, through your Chrome |
| agent_batch_convert | Up to 50 URLs → Markdown each, sequential |
| semantic_search | Search across what you have already converted |
All three read through your real browser session. That is the reason they reach content that server-side crawlers cannot: Reddit threads, Hacker News, X trending and other sites where a datacenter fetch gets a login wall or an empty shell.
After running it
Fully quit Chrome and reopen — Cmd+Q on macOS, system tray on Windows. Closing the window is not enough, because Chrome reads native-messaging host manifests only on a cold start. This is the single most common reason setup appears to have worked and then the tools are not there.
Then ask your agent to convert something:
Convert https://news.ycombinator.com/ and tell me the three
stories with the most comments.
If the tools are wired up, it calls agent_convert and answers from the real page. If not, restart Chrome first — that is almost always the cause.
Related reading
- Let your agent read the sites that block crawlers — measured coverage across Reddit, HN, X, and the failures
- Give your agent Reddit access — the Reddit-specific walkthrough
Related Articles
Let Your Agent Read the Sites That Block Crawlers: Reddit, HN, and More
Give Your AI Agent Reddit Access: Batch-Read Threads via MCP
Automate URL Research in Claude Code and Cursor
Most Read
last 30 days- #1Can Claude Read Reddit? Why It Can't — And How to Fix It (2026)
- #2HTML vs Markdown for LLMs: I Wasted 67% of My Tokens for a Year
- #3Reducing Token Waste in ChatGPT and Claude: 7 Techniques That Cut Costs 72%
- #4Obsidian Web Clipper Official Plugin 2026: Complete Guide + When You Need More
- #5Reddit JSON API vs Scraping: The Honest 2026 Comparison for Developers
Latest Articles
- 2026-09-04Let Your Agent Read the Sites That Block Crawlers: Reddit, HN, and More
- 2026-09-04Give Your AI Agent Reddit Access: Batch-Read Threads via MCP
- 2026-09-01How to Search Inside a YouTube Video and Jump to the Exact Moment (2026)
- 2026-09-01YouTube Transcript Coming Back Empty? Why Most Tools Broke in 2026 — and What Still Works
- 2026-09-01Turn Any YouTube Video into Clean, Structured Notes for ChatGPT, Claude or NotebookLM