website-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
website-mcp — Website to Deterministic MCP Tool
Explore a site once. Replay it forever, free.
Claude Code writes and tests a script for a site task, saves it as an MCP tool, and from then on it runs with no model in the loop.
You type /website-mcp:mint <task> on <site>. Claude explores the site, writes a script, proves it against test cases, gets it reviewed, and saves it as a tool. After that the tool is a plain file: it runs instantly, costs nothing, and gives the same answer shape every time.
The map
I want to… | Tool kind | What it is |
Read a public site unattended | Browser tool ( | Runs in a fresh Playwright browser, blocked from any origin outside the tool's allow-list |
Read or fill a signed-in site | Page tool ( | Runs inside a tab of your own Chrome, after you allow the site and approve the tool version |
Change something on a site | Write tools ( | Rehearsal by default; page tools never press the final Save, you do |
Swap the minter | Model seam ( | The interfaces a local model or API would implement |
Related MCP server: agentic-browser-mcp
Quick start
Needs Node 22+ and Claude Code. Chrome is the supported browser for page tools.
npm install && npm run build
claude plugin marketplace add .
claude plugin install website-mcp@website-mcpMint a tool — in Claude Code run
/website-mcp:mint <what to read> on <site url>; pick "browser" for public sites.Run it anywhere —
node dist/cli.js run <name> --input '{"q":"..."}'from the checkout (ornpm linkonce, then plainwebsite-mcp run …), or call it as an MCP tool. Below,website-mcpmeans either form.
The local marketplace above loads the checkout in place. A marketplace added from a GitHub URL has no dist/: set WEBSITE_MCP_ALLOW_NPX=1 (runs the published npm package) or WEBSITE_MCP_ROOT (path to a built checkout). Details in plugin/README.md.
Browser tools work now. Page tools need one more setup, below. That's it for the basics; everything below is detail.
Demo
A real run of a published browser tool, books_by_category, minted against the public scraping sandbox books.toscrape.com. No model is involved in either command.
$ website-mcp test books_by_category
case result ms error
first_page PASS 3531
two_pages PASS 4819
later_page PASS 3601
single_page_category PASS 3019
past_the_end PASS 2294
unknown_category PASS 2025
blank_category PASS 2
too_many_pages PASS 2
8/8 passed (100%); bar: >=3 cases and >=70% -> OK
$ website-mcp run books_by_category --input '{"category":"Travel","maxPages":1}'
{
"category": "Travel",
"pages": 1,
"stopped": "max_pages",
"rows": [
{ "title": "It's Only the Himalayas", "price": "£45.17", "availability": "In stock" },
{ "title": "Full Moon over Noah’s Ark: An Odyssey to Mount Ararat and Beyond", "price": "£49.43", "availability": "In stock" },
…11 rows in all
]
}Page tools setup (your own Chrome)
Page tools run in your real, signed-in tab, so they need the extension and a native-messaging bridge.
Load the extension — open
chrome://extensions, turn on Developer mode, choose "Load unpacked" and pick theextension/folder.Allow User Scripts — on the extension's details page, turn on Allow User Scripts. Without it the extension cannot run tool code.
Install the bridge —
node dist/cli.js bridge install --browser chrome(orwebsite-mcp bridge install …afternpm link), then restart Chrome.Check —
website-mcp bridge statusshould report the host installed and the extension connected.Grant and approve — in the extension popup, click Allow this site for each site, and Approve for each tool version. Changing a tool's code asks again.
Draft, test, publish
Minting goes through a draft folder, never straight into tools/:
save_toolwrites the drafttool.jsonandtool.mjs.save_caseswrites at least 3 cases, including an empty and aninvalid_inputone.test_toolruns them through the normal runtime, no model.publish_toolre-checks a staged copy and publishes only if the bar is met: at least 70% of cases pass, valid schemas, no secret-shaped literals, no URL outside the allow-list, and a declaredeffect.
The previous version moves to .history/<n>/. Commands: serve, list, run, test [--draft], review, publish, bridge install|status|uninstall.
Safety
A page tool is model-written code running in your signed-in tab, so read docs/safety.md. In short: the static scan is not a sandbox; what protects you is the per-site grant, the per-version approval bound to the executed code, the explore window, and, for writes, you pressing the final button. The page also covers site terms and what is and is not a boundary.
Heads up: a tool you mint acts as you. Check a site's terms before pointing a tool at it.
Status
Phases 1 to 8 are built and published as website-mcp on npm (see CHANGELOG.md). Not yet: a Chrome Web Store listing, a local-model minter, auto-repair.
License
MIT, see LICENSE.
Acknowledgements
Pomerado — the mint, test, then replay-without-a-model loop and the test bar for publishing (MIT; ideas, see
docs/prior-art.md)WebMCP — the idea of tools that run inside your own signed-in browser tab (ideas only, no code)
Playwright and the MCP TypeScript SDK — the browser engine and the protocol layer
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Browser automation MCP for whole web tasks in a cloud browser: saved logins, bot checks, replays.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Run multi-step tasks in a real Chrome browser: persistent environments, live view, human takeover.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables autonomous web QA by exposing Playwright browser control as MCP tools for navigation, accessibility snapshotting, interaction, and bug detection.MIT
- AlicenseAqualityDmaintenanceEnables MCP clients to automate a real Chrome browser via Playwright, supporting session sharing and tools for navigation, clicking, typing, and more.113MIT
- AlicenseNot gradedqualityBmaintenanceEnables browser automation through MCP with native Playwright operations, deterministic assertions, and natural-language grounded actions, structured extraction, and bounded agent workflows over live page elements.13Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI agents and MCP hosts to drive a persistent headless Chromium browser through Playwright, navigating pages, mapping visible fields and actions, clicking, typing, scrolling, and capturing screenshots via stdio tool calls. It also powers a local AI Test Studio dashboard that generates and runs structured end-to-end test plans with assertions, per-step timing, and screenshot evidence.41MIT