Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Browser engine for agents. HTML in, structured Semantic Object Model out. Native MCP and AWP with a supported CDP subset. Apache-2.0.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Search & browse the web.
MCP server for browser use access
Same catalog task: Search & browse the web.
MCP (Model Context Protocol) server for browser tools integration
Same catalog task: Search & browse the web.
MCP server for AI Mentora, compatible with ModelContextProtocol. Provides es-fulltext-retrieve tool for Canadian case law search.
Fetched from the repository for this visit.
The browser engine for agents.
HTML in. Semantic Object Model out.
Website · Docs · Benchmarks · Crates.io · npm · PyPI
Dependency and CI trust policy, local audit commands, and scorecard promotion rules are documented in Supply-chain policy.
Plasmate compiles HTML into a Semantic Object Model (SOM), a structured representation that LLMs can reason about directly. It runs JavaScript via V8 and implements a documented CDP subset for supported Puppeteer workflows. SOM output removes presentation and runtime markup; output size and tokenization are page-, configuration-, serialization-, and tokenizer-dependent.
| Plasmate | Lightpanda | Chrome | |
|---|---|---|---|
| Primary output | Structured SOM JSON | Raw HTML / DOM | Raw HTML / DOM |
| JavaScript | Embedded V8 pipeline | Browser runtime | Browser runtime |
| Agent protocol | Native MCP and AWP | CDP | CDP |
| Benchmark policy | Retained, denominator-complete reports | Project-specific | Project-specific |
| License | Apache-2.0 | AGPL-3.0 | Chromium |
curl -fsSL https://plasmate.app/install.sh | sh
Or install the native engine with Cargo:
cargo install plasmate
The npm and PyPI packages named plasmate are client SDKs; they do not bundle
or install the native plasmate executable. Install the native engine first,
then add npm install plasmate or pip install plasmate to applications that
need the corresponding SDK.
plasmate fetch https://news.ycombinator.com
Returns SOM JSON: structured regions, interactive elements with stable IDs, and content. Measure output size on the pages and configuration used by your application.
plasmate serve --protocol cdp --host 127.0.0.1 --port 9222
Then connect with Puppeteer:
import puppeteer from 'puppeteer-core';
const browser = await puppeteer.connect({
browserWSEndpoint: 'ws://127.0.0.1:9222',
protocolTimeout: 10000,
});
const page = await browser.newPage();
await page.goto('https://example.com');
const title = await page.evaluate(() => document.title);
console.log(title);
await browser.close();
plasmate serve --protocol awp --host 127.0.0.1 --port 9222
AWP's foundational v0.1 core has seven wire methods: awp.hello,
session.create, session.close, page.navigate, page.observe, page.act,
and page.extract. The current native handler also exposes session-listing,
network-interception, plugin, cookie, and proxy-pool extensions. Click, type,
select, scroll, toggle, and clear are page.act actions, not separate wire
methods.
plasmate agent-run --plan examples/agent-workflow.json \
--report agent-workflow-report.json --dry-run
Plans are versioned and bounded; mutating steps require separate
--confirm-step <id> approvals, while JavaScript evaluation and cookie writes
also require category opt-ins. See the workflow contract
for schemas, secret references, containment, and execution examples.
plasmate mcp
This exposes Plasmate over stdio as MCP tools:
fetch_page - get structured SOM from any URLextract_text - get clean readable textextract_links - get deduplicated links from a pageard_discover - inspect bounded static ARD v0.9 draft catalog signals without invoking themcrawl_policy - evaluate RFC 9309 robots.txt policy without changing fetch behaviorinspect_page - return bounded SOM first, with deterministic optional visual fallbackcache_status - inspect MCP SOM cache reuse and restorable page-state entriessession_status - inspect active sessions, loaded URLs, HTML/SOM/node inventory, and disabled/readonly interactive countstrace_status - inspect bounded action-trace retention for one sessiontrace_export - export privacy-safe plasmate.trace.v1 eventstrace_clear - discard retained events without resetting their sequencereplay_validate - validate a retained action without executing itscreenshot_page - capture a page screenshot, with SOM fallbackopen_page - start an interactive session (returns session_id, SOM, cache_restored)navigate_to - navigate an existing sessionevaluate - run JavaScript in the page contextclick - click elements by SOM element IDtype_text - type into an input or textareaselect_option - select a dropdown optionscroll - scroll the page or an elementtoggle - toggle checkbox, radio, or details stateclear - clear an input or textareaclose_page - end a sessionget_cookies - read session cookiesset_cookies - add or update session cookiesclear_cookies - remove session cookiesFor an authenticated local Streamable HTTP endpoint, set a capability token and select the HTTP transport explicitly:
PLASMATE_MCP_HTTP_TOKEN="$(openssl rand -hex 32)" \
plasmate mcp --transport http --host 127.0.0.1 --port 9272
The endpoint is http://127.0.0.1:9272/mcp. Every request must include
Authorization: Bearer <token>. The server implements JSON response mode for
the stateful MCP 2025-11-25 transport and the stateless 2026-07-28 release
candidate. It deliberately returns HTTP 405 for GET rather than claiming an
SSE notification stream it does not implement. See
docs/mcp-streamable-http.md for lifecycle,
headers, and browser-Origin policy.
Example Claude Desktop config:
{
"mcpServers": {
"plasmate": {
"command": "plasmate",
"args": ["mcp"]
}
}
}
Plasmate is purpose-built for AI agent pipelines. Several ways to wire it in:
Add to your MCP config and every tool call automatically uses Plasmate:
{
"mcpServers": {
"plasmate": {
"command": "plasmate",
"args": ["mcp"]
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)~/.cursor/mcp.json.vscode/mcp.json (workspace) or user settings~/.codeium/windsurf/mcp_config.jsonOnce connected, the native server advertises its current tool surface through
MCP tools/list. It includes stateless fetch/extraction/discovery tools,
cache/session/trace inspection, screenshot and stateful page interaction,
cookie operations, and validation-only replay. Query tools/list instead of
depending on a hard-coded count; the authoritative registration is
src/mcp/server.rs.
Tip: use selector="landmark" to get a compact inventory of page regions before choosing a narrower selector. Use selector="main" (also maincontent/maincontents and the main_content/main-content/main content forms, plus the corresponding primary region aliases) to strip nav/footer, selector="article" (or article_region/article-region/article region) to isolate content, selector="sidebar" (or aside/asides/sidebars) to isolate complementary content, or selector="interactive"
to return only actionable elements. Use selector="disabled" or
selector="enabled" to isolate controls by effective disabled state,
including aria-disabled and semantic disabled hints. Use selector="h1"
through selector="h6" (or heading1 through heading6) to isolate a
heading level.
Use selector="current" (or current item) to isolate elements with a
meaningful aria-current value such as page or step.
Use selector="current=true" / selector="current=false" (or
not-current) when the page uses boolean aria-current state.
Use selector="busy" or selector="not-busy" to isolate elements by their
effective aria-busy state, including nested ARIA metadata.
Use selector="open"/selector="expanded" or
selector="not-open"/selector="closed"/selector="not-closed" to
isolate disclosure controls by effective aria-expanded state.
Use selector="required" or selector="optional" to isolate form controls
by effective required state, including aria-required="true".
Use selector="readonly" (also read-only, read_only, read only, or
readonly controls / read-only-controls) or selector="locked" (also
locked control, locked controls, locked_control, and locked-control) to
match readonly controls; use
selector="editable" (or selector="writable", including their
controls/hyphenated/underscore aliases) to isolate controls by their
effective readonly state.
or an action selector such as selector="click"
(the equivalent selector="action:click" also works), selector="type",
selector="clear", selector="select", selector="toggle",
selector="submit", or selector="reset" (equivalently
selector="action:reset", including action : reset and action = reset)
to build a compact
action menu before the LLM sees the content. The MCP tool-name aliases
selector="type_text"/selector="type-text",
selector="clear_text"/selector="clear-text", and
selector="select_option"/selector="select-option" (including their
action:type_text/action:type-text, action:clear_text/action:clear-text,
and action:select_option/action:select-option forms) are also accepted
for typing, clearing, and selection targets.
Use selector="landmark" first when you need a compact inventory of the
page's compiled regions before choosing a narrower region selector. The same
inventory is available through landmarks, all_regions, all-regions,
all regions, landmark_inventory, landmark-inventory, landmark inventory,
landmark_region_inventory, landmark-region-inventory, and
landmark region inventory (including plural forms and role= / role:
prefixes). The inventory keeps region metadata and removes their elements,
making it a low-token discovery step before requesting main, nav, or
another narrower selector.
Selector values may also be wrapped in matching single quotes, double quotes,
or backticks (including role=..., action:..., and #id forms); surrounding
whitespace is ignored.
Selectors are limited to 256 UTF-8 bytes; longer values are rejected by MCP
tools and make the CLI return the unfiltered SOM.
CSS class hooks support both .class-name and compound
.class-name.other-class selectors when narrowing a SOM to elements with all
of the requested class tokens.
Use selector="label:<text>" or selector="label=<text>" (or the
shorter text:<text>, text=<text>, name:<text>, name=<text>, and
placeholder:<text> / placeholder=<text> aliases) for
case-insensitive accessible-label/text matching on regions and elements;
element matching also falls back to aria-label, title, placeholder, and
alt attributes when a compiled label is unavailable; use alt:<text> or
alt=<text> for an image-focused query. Use testid:<text> or
testid=<text> (also data-testid:<text>, datatestid:<text>, data-test-id:<text>, and
data_test_id:<text>) to match compiled stable test
hooks. The explicit
description:<text> / description=<text>, aria-description, and
accessible-description aliases also match compiled description metadata;
whitespace is normalized so labels split across lines still match.
Use selector="accesskey" or selector="[accesskey]" to discover elements
with keyboard shortcuts, or selector="accesskey:<value>" /
selector="accesskey=<value>" to match one exact access-key value.
Element selectors also accept common HTML tag aliases: a/area/areas/anchor/anchors/hyperlink/hyperlinks/link/links,
p/s/ins/del/mark/paragraph, and ul, ol, dl, or menu/list/lists (plus the explicit
unordered_list, ordered_list, and definition_list forms). Definition-list
terms and descriptions can also be narrowed with term/terms/dt (or
definition-term/definition-terms) and definition/definitions/dd
(or description/descriptions and definition-description/
definition-descriptions).
Structural aliases include div/fieldset/fieldsets/group/groups, section/sections, and ARIA group roles
figure/figures/radiogroup/radiogroups/radio_group/radio-group/radio group/
progressbar/progressbars/
meter/meters/output/outputs, hr/separator,
details/summary/summaries, and iframe; img/image and ARIA widget names such
as menuitem/menu items, option/options, tab/tabs,
treeitem/tree items/treeitems, switch,
menuitemcheckbox, and menuitemradio are also accepted. Region selectors accept ARIA landmark
aliases such as navigation, nav region/nav-region/nav regions,
navigation region/navigation-region/navigation regions, search/search navigation/search navigations, banner/banners, complementary/complementaries, and
contentinfo/content_info/content-info; forms and dialogs are plural aliases for form and
dialog; modal regions also accept modal/modals and popup/popups/
pop-up/pop-ups; alertdialog/alertdialogs (including alert-dialog/alert-dialogs and
space-separated forms) target dialog regions; content_region/content_regions (and their hyphenated or
space-separated forms) select content regions.
Table selectors include table/tables, data_table/data_tables, and
grid/grids/data_grid/data_grids/datagrid/datagrids/data-grid/data-grids,
table_grid/table_grids/tablegrid/tablegrids/table-grid/table-grids,
and treegrid/treegrids/tree_grid/tree_grids/tree-grid/tree-grids
(with space-separated forms such as data grid, table grid, and tree grid
accepted too).
Use selector="media" to keep images and media-capable grouped elements
such as audio, video, and canvas while removing unrelated page content.
Source-specific media selectors are also available: audio_item/audio-item/
audioitem, video_item/video-item/videoitem, and
canvas_item/canvas-item/canvasitem (including their plural forms) target
only the corresponding native media elements. Use
canvas when you want every canvas element, or canvas_item when filtering a
mixed media page down to canvas elements only.
HTML text-input type names are also accepted as selectors, including
text, input/inputs, text_input/text_inputs/text-input/text-inputs/text input/text inputs, textinput/textinputs, textbox/textboxes/text_box/text-box/text boxes, text_field/text-field/text field/text fields (and plural
spaced or hyphenated forms), search_input/search-input, search_control/search-control,
search_field/search-field, search_box/search-box, query,
query_input/query-input, query_field/query-field,
query_control/query-control, querybox/query-box,
queryboxes/query_boxes/query-boxes/query boxes, email, number,
password, tel, url, date,
datetime/datetime-local (also date_time/date-time/date time and date_time_local/date-time-local/date time local), month, time/times, week, color, range,
hidden, and file; each targets the corresponding compiled text-input
element.
Textarea selectors also accept textarea/textareas/text_area/text_areas
and their hyphenated or spaced forms.
Use cache_status after repeated fetches to inspect local MCP SOM cache hits,
misses, selector entries, effective-HTML entries, and avoided HTML work.
Use session_status before long interactive runs to inspect active browser
session count, capacity, loaded URLs, raw/effective HTML sizes, SOM sizes,
node-map counts, structured data presence, disabled/readonly interactive
counts, age, and idle time. Stateful
open_page and navigate_to return cache_restored=true when they reuse a
content-hash-validated cache entry with both SOM and effective HTML.
Set trace=true on open_page to opt into bounded, memory-only action tracing,
then use trace_status, trace_export, and side-effect-free
replay_validate. Typed values and page bodies are never exported. See
docs/session-tracing.md for the privacy contract,
bounds, drift classes, and validation-only limitation.
Before a multi-page crawl, use crawl_policy or the CLI equivalent:
plasmate crawl-policy https://example.com/private --product-token Plasmate
The versioned report distinguishes an unavailable robots file (4xx, access
permitted by RFC 9309) from an unreachable one (network/5xx, access denied).
It is advisory metadata, not authorization, and does not silently alter
ordinary fetch or fetch_page. See docs/CRAWL-POLICY.md.
Use inspect_page when an agent may need pixels. Its default auto mode
always returns a bounded compact SOM and only attaches a screenshot for named
signals such as near-empty structure, canvas-heavy content, or image-map/image
controls. never recommends without capture; always is an explicit capture
request. Page JavaScript is off by default; javascript=true runs untrusted
page code through the supervised JavaScript worker before the separately
isolated screenshot process.
Rendering uses a sandboxed/CSP-constrained document with JavaScript
disabled, no unsafe file-access or browser-sandbox switches, a dead network
proxy, and process-tree cleanup. Plasmate does not interpret the image with a vision model. See
docs/STRUCTURED-VISUAL-FALLBACK.md.
Inspect the three static Agentic Resource Discovery signals supported by
Plasmate—the well-known catalog, an HTML rel="ai-catalog" link, and a
robots.txt Agentmap directive:
plasmate ard-discover https://example.com/ --output ard-report.json
The versioned plasmate.ard.discovery.v1 report validates bounded catalog
envelopes and labels all publisher metadata, inline data, trust manifests,
attestations, and signatures as untrusted and unverified. It does not search a
registry, invoke entries, fetch entry endpoints, follow nested catalogs, or
verify identity. HTTPS and same-origin catalog discovery references are
mandatory, and the ARD path cannot use Plasmate's private-network development
override. Standalone reports and fully wrapped MCP tool results each have an
independently measured 512 KiB serialized bound. See
docs/ARD.md for limits and protocol scope.
Use Plasmate via the AI SDK's built-in MCP client (AI SDK v4+):
npm install ai @ai-sdk/openai
import { experimental_createMCPClient as createMCPClient, generateText } from 'ai'
import { Experimental_StdioMCPTransport as StdioMCPTransport } from 'ai/mcp-stdio'
import { openai } from '@ai-sdk/openai'
const mcp = await createMCPClient({
transport: new StdioMCPTransport({
command: 'plasmate',
args: ['mcp'],
}),
})
const { text } = await generateText({
model: openai('gpt-4o'),
tools: await mcp.tools(),
maxSteps: 5,
prompt: 'Summarize the top 3 stories on news.ycombinator.com',
})
await mcp.close()
This wires the full Plasmate MCP tool set directly into any Vercel AI SDK agent. See Vercel AI SDK MCP docs for details.
Machine-readable summary: https://plasmate.app/llms.txt
Codebase guide for AI coding agents: AGENTS.md
The checked-in MCP Registry
metadata declares ghcr.io/plasmate-labs/plasmate:v0.6.0 as the runnable,
version-pinned OCI package for the next release candidate. This image is
not available until the immutable v0.6.0 release workflow publishes it. Only
after it is anonymously pullable and the metadata is published can Registry
clients launch it over stdio with the mcp subcommand. The eventual direct
invocation is:
docker run --rm -i ghcr.io/plasmate-labs/plasmate:v0.6.0 mcp
The npm and PyPI packages named plasmate are client SDKs, not server
executables. For a host-native installation, install the Rust binary above
and configure the command as plasmate mcp.
The DOM was built for rendering. SOM was built for reasoning.
SOM strips layout, styling, scripts, SVGs, and boilerplate. It keeps structure, content, and interactive elements with stable IDs that agents can reference in actions.
The retained v0.5.1 public-web snapshots in
website/docs/coverage.json and
website/docs/coverage-js.json recorded
median serialized-byte ratios of 9.98x over 83 successful non-JavaScript inputs
and 9.32x over 82 successful JavaScript inputs, respectively, from 98 attempted
URLs in each run. These are historical, observational byte ratios—not universal
token savings, cost savings, latency, or task-success claims. Blocked and failed
inputs remain in the denominator. See the benchmarking policy
and public claim registry before comparing or citing
results.
Plasmate embeds V8 and executes page JavaScript, including:
<script> tagsfetch() and XMLHttpRequest with real HTTP requestssetTimeout / setInterval with timer drainingThe JS pipeline runs during plasmate fetch and CDP page.goto(). The resulting DOM mutations are serialized back to HTML before SOM compilation, so JS-rendered content is captured.
In the historical campfire-commerce fixture from Lightpanda's Puppeteer benchmark, Plasmate passed the assertions described in the March 2026 exploratory report. That single fixture is evidence for the listed workflow, not full Puppeteer, Playwright, CDP, or web-platform compatibility. Supported CDP methods include:
page.goto(), page.content(), page.title()page.evaluate(), page.waitForFunction()browser.newPage(), browser.createBrowserContext()Runtime.evaluate, Runtime.callFunctionOnDOM.getDocument, DOM.querySelector, DOM.querySelectorAllInput.dispatchMouseEvent, Input.dispatchKeyEventPlasmate.getSom, Plasmate.getStructuredData, Plasmate.getInteractiveElements, Plasmate.getMarkdown, Plasmate.getText, Plasmate.getLinksPlasmate.getInteractiveElements returns a full-tree action menu, including
nested and shadow-root targets. It accepts optional role, action, label,
exact, enabledOnly, replay lookup (value plus by, or direct id,
cacheKey, htmlId, testId), and offset/limit params so Puppeteer/
Playwright clients can request, for example, one page of enabled click targets
before calling an LLM. Each target includes SOM role names, deterministic
cache_key, html_id, test_id, enabled, and blocked_reason when
available.
DOM.querySelector / DOM.querySelectorAll walk the SOM-backed node tree in
document order and understand stable replay selectors such as #html_id,
#som_id, [data-testid="..."], [data-test-id="..."], common attributes
such as [name="..."], [href="..."], [type="..."],
[aria-label="..."], [aria-labelledby="..."], [role="..."], SOM role
names, text, and labels. Matching for text and labels is case-insensitive.
CDP DOM nodes expose replay attributes such as data-plasmate-id,
data-som-role, HTML id, test id, ARIA label, href/name/type, and
disabled/readonly/required flags when available. Accessibility.getFullAXTree
is also SOM-backed and includes nested and shadow-root elements with backend
node ids plus disabled/readonly properties when available.
CDP is a compatibility layer. AWP is the native protocol, designed for agents rather than debuggers.
HTML → Network (reqwest) → HTML Parser (html5ever)
→ JS Pipeline (V8: scripts, fetch, XHR, timers, DOM mutations)
→ DOM Serialization → SOM Compiler → JSON output
git clone https://github.com/plasmate-labs/plasmate.git
cd plasmate
cargo build --release
./target/release/plasmate fetch https://example.com
Requirements: Rust 1.88+ for both default and plugins builds. V8 is fetched
automatically by rusty_v8. CI checks the declared minimum against default and
all-feature builds so dependency updates cannot silently raise it.
Prebuilt multi-arch images (linux/amd64 and linux/arm64) are published to GHCR:
# Server mode (CDP or AWP)
docker run --rm -p 9222:9222 ghcr.io/plasmate-labs/plasmate:latest
# One-shot fetch
docker run --rm ghcr.io/plasmate-labs/plasmate:latest fetch https://example.com
Build locally:
docker build -t plasmate .
docker run --rm -p 9222:9222 plasmate
cargo test --workspace # all workspace tests
./scripts/action-manifest-conformance.sh
Run the deterministic supervised agent task gate and independently validate its fixture provenance and complete denominators:
cargo run --locked -- agent-task-benchmark-v1 --output agent-task-benchmark-v1.json
cargo run --locked -- agent-task-benchmark-validate --input agent-task-benchmark-v1.json
This is a task-contract benchmark, not a latency or model-quality claim. See the benchmarking methodology.
Run the built-in benchmark against cached pages:
cargo run --release -- bench --urls bench/urls.txt
Or test against live sites:
plasmate fetch https://en.wikipedia.org/wiki/Rust_(programming_language) | jq '.regions | length'
See plasmate.app/compare for the full comparison with Lightpanda and Chrome.
See docs.plasmate.app/roadmap for the full roadmap.
v0.5 (current):
Plasmate documents integrations across the AI and developer ecosystem. The links below are an ecosystem directory, not a count of currently tested or maintained compatibility contracts. Verify each integration's repository, version support, and test status before adopting it:
| Category | Integrations |
|---|---|
| AI Frameworks | LangChain, LlamaIndex, CrewAI, AutoGen, Haystack, DSPy, Semantic Kernel, Vercel AI |
| Visual Builders | Langflow, Flowise, Dify |
| Automation | n8n, Zapier, Make.com, Activepieces, Temporal |
| Web Scraping | Scrapy, Crawl4AI, Firecrawl, ScrapeGraphAI |
| Databases | Supabase, Prisma, PlanetScale, Airtable |
| Developer Tools | VS Code, Cursor, Raycast, GitHub Copilot |
| Self-Hosted LLMs | Open WebUI, OpenAI GPT Actions |
See awesome-plasmate for the broader community-maintained directory.
Apache-2.0. See LICENSE.
Built by Plasmate Labs.
Loading reviews...
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.