io.github.perzianhq/mantis is an MCP server that the web as short, numbered text for AI agents: a lean browser interface over Playwright. Its tool list has not been published yet over stdio, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-perzianhq-mantis": {
"args": [
"-y",
"mantis-browser"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The web as short, numbered text for AI agents: a lean browser interface over Playwright.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'mantis-browser' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mantis-browser against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in browser / ai-ml
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
The official MCP server implementation for the Perplexity API Platform
Unified real-time search engine skill for AI agents.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
MCP Security Weekly
Get CVE alerts and security updates for io.github.perzianhq/mantis and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
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 Mantis | Luna tree | Haiku Mantis | Haiku tree | |
|---|---|---|---|---|
| Correct | 35/42 | 34/42 | 40/42 | 40/42 |
| Input tokens (median) | 244k | 345k | 268k | 506k |
| Tool calls (median) | 17 | 24 | 19 | 30 |
| Time (median) | 42s | 66s | 54s | 85s |
Short tasks (30 tasks, 90 runs per cell; tree and screenshot columns are the earlier 20261026 run):
| Luna Mantis | Luna tree | Luna screenshot | Haiku Mantis | Haiku tree | Haiku screenshot | |
|---|---|---|---|---|---|---|
| Correct | 88/90 | 86/90 | 90/90 | 90/90 | 88/90 | 88/90 |
| Input tokens (median) | 64k | 99k | 104k | 38k | 88k | 33k |
| Tool calls (median) | 3 | 4 | 7 | 3 | 5 | 6 |
| Time (median) | 16s | 31s | 35s | 19s | 30s | 23s |
Versus the accessibility tree:
Versus screenshots:
Caveats:
Optional. Mantis can drive your real Chrome (your tabs, your sign-ins) instead of launching a fresh browser:
npx -y -p mantis-browser mantis chrome. It starts Chrome on 127.0.0.1:9222 with a dedicated profile.