Skip to content
MCP server
Registry

mantis MCP Server

The web as short, numbered text for AI agents: a lean browser interface over Playwright.

mantis scores 67 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 18 stars. Package registries report about 157 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by perzianhqMITTypeScript18 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 4 + 10 + 4 + 7 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "perzianhq-mantis": {      "command": "npx",      "args": [        "-y",        "mantis-browser@0.1.14"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Lets AI agents browse the web as short, numbered text instead of screenshots.

perzian.dev/mantis · by Perzian

It works with Claude Code, Codex, Cursor or your own agent as an MCP server. Install in two commands.

npx -y -p mantis-browser mantis install
claude mcp add mantis -- npx -y -p mantis-browser mantis-mcp
npx -y -p mantis-browser mantis read https://example.com   # try it without an agent

Windows, Linux servers and other agents: SETUP.

One real task (Luna, each tool’s median run of 5 by input tokens, replayed): about half the time, over 3.5x fewer input tokens, less than half the calls. Across all 5 runs: 3-5x fewer tokens, about half the time, 11-12 calls vs 21-29. This is a selected example from 16 long tasks; medians across all 16 are in Results. Full video.

Security and threat model: SECURITY.md.

How it works

What the agent sees

Results

Mantis vs the accessibility tree (Playwright MCP) on public sites, gpt-6-luna and claude-haiku-5-5. Every cell is a per-run median; time is end-to-end wall time per run:

0.1.13: headline numbers are 0.1.9's; later builds checked on Dickens (Luna, Haiku), the capability-v1 local set and the visual-live-v1 real-site set.

Long tasks (correct: 14 keyed tasks, 42 runs per cell; medians: all 16 tasks, 48 runs per cell; both approaches run in the same session):

Luna MantisLuna treeHaiku MantisHaiku tree
Correct35/4234/4240/4240/42
Input tokens (median)244k345k268k506k
Tool calls (median)17241930
Time (median)42s66s54s85s

Short tasks (30 tasks, 90 runs per cell; tree and screenshot columns are the earlier 20261026 run):

Luna MantisLuna treeLuna screenshotHaiku MantisHaiku treeHaiku screenshot
Correct88/9086/9090/9090/9088/9088/90
Input tokens (median)64k99k104k38k88k33k
Tool calls (median)347356
Time (median)16s31s35s19s30s23s

Versus the accessibility tree:

  • Long tasks: accuracy within one run, 29-47% fewer input tokens, 29-37% fewer calls, about a third less time.
  • Short tasks: accuracy equal or better, 35-57% fewer input tokens.

Versus screenshots:

  • Luna: screenshots score 2 runs higher but use more tokens and time.
  • Haiku: screenshots use fewer tokens.

Caveats:

  • Short-task times compare a newer Mantis build with the earlier tree and screenshot run, so treat that time gap as indicative.
  • Scores come from deterministic answer keys on the final page state. Two long iframe/tab tasks can't be keyed and are left out of the long-task counts.
  • Method and full caveats: bench/RESULTS.md.

Use your own Chrome

Optional. Mantis can drive your real Chrome (your tabs, your sign-ins) instead of launching a fresh browser:

  • Run npx -y -p mantis-browser mantis chrome. It starts Chrome on 127.0.0.1:9222 with a dedicated profile.
  • Mantis automatically attaches while that Chrome is running. Set MANTIS_CDP_URL only when Chrome uses another debugging port.
  • Sign in to your sites once in that profile; sign-ins persist there.
  • Mantis then acts on your real tabs, so act carefully. Set MANTIS_AUTO_ATTACH=0 to always launch a fresh browser.

Limitations

  • No canvas input: canvas, WebGL, maps and drawing apps are described only as canvas, with no coordinate click or draw tool.
  • Login and bot walls need ask_human, which needs a display.
  • Benchmarked only on read, navigate and form-fill tasks on public sites, with two models. The screenshot baseline is this project's own tool, and a few tasks were swapped after results (disclosed).
  • Page content is untrusted data; see SECURITY.md.
  • Small v0.1.x beta.

Learn more

License

MIT

Frequently asked questions

What is mantis MCP Server?

The web as short, numbered text for AI agents: a lean browser interface over Playwright.

How do I install mantis MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mantis MCP Server runs locally from the npm package mantis-browser with the command npx -y mantis-browser@0.1.14.

Is mantis MCP Server free and open source?

Yes. mantis MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does mantis MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mantis MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is mantis MCP Server's trust score calculated?

mantis MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server