# Node Mantis

> Node Mantis is a freemium MCP server for browser automation. MCP server that lets AI assistants run website tasks in a real browser and return data. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, macOS, Windows, Linux, VS Code
- **Website:** https://nodemantis.com/docs/mcp
- **MCP Registry name:** com.nodemantis/node-mantis
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-20

## About

The server gives an MCP-compatible assistant four tools for driving a live website: one runs a task from a plain-English goal, one reads a single page, and two check on or stop a task that is still running. The README describes the browser actions as clicking, typing, filling forms and handling dropdowns and date pickers, with results returned as data that follows a JSON Schema the caller supplies.

Long jobs are handled in the background. A tool call waits up to 45 seconds, then returns a task id so the assistant can poll progress or cancel. Each task gets a fresh browser session with no saved logins, and passwords or one-time codes can be supplied through server-side environment variables rather than the chat.

The package is installed through npx or uvx, so there is nothing separate to set up beyond an API key, Chrome, and Node.js or Python. It suits developers and power users who want an assistant to pull information from or act on websites that lack an API.

## Features

- **Plain-English website tasks:** A goal written in everyday language is carried out by navigating, clicking and filling in forms.
- **Structured result output:** A JSON Schema can be passed in so the returned data matches a set shape.
- **Background task handling:** Tasks that run longer than a tool call can be polled, waited on, or cancelled by id.
- **Isolated browser sessions:** Each task uses a fresh browser with no saved logins, closed when the task ends.
- **Secret value handling:** Passwords and one-time codes are read from server environment variables instead of the conversation.
- **Budget and step limits:** Callers can set a USD budget, a maximum step count and a time limit for each task.

## Good for

- Pull product titles, prices or stock levels from a shop site into an assistant chat
- Fill in a web form or book a slot on a site that has no public API
- Extract a table or list from a page and return it as structured JSON
- Run a multi-page lookup in the background while the assistant continues other work

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add node-mantis --env NODEMANTIS_API_KEY='<NODEMANTIS_API_KEY>' -- npx -y node-mantis
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add node-mantis --env NODEMANTIS_API_KEY='<NODEMANTIS_API_KEY>' -- npx -y node-mantis
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.node-mantis]
command = "npx"
args = ["-y", "node-mantis"]
env = { NODEMANTIS_API_KEY = "<NODEMANTIS_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e NODEMANTIS_API_KEY='<NODEMANTIS_API_KEY>' node-mantis npx -- -y node-mantis

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "node-mantis": {
      "command": "npx",
      "args": [
        "-y",
        "node-mantis"
      ],
      "env": {
        "NODEMANTIS_API_KEY": "<NODEMANTIS_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 4 tools change data. From the server's own tool labels and tool names; not verified by us.

- `run_task` (name suggests: changes): Carry out a task on a website from a plain-English goal: navigate, click, type, fill in forms and read the outcome.
- `retrieve_data` (name suggests: reads): Open one page and read data from it without changing anything on it.
- `get_task` (name suggests: reads): Wait for a task and return its status, latest progress and result.
- `cancel_task` (name suggests: changes): Stop a running task and close its browser.

## FAQ

### Which assistants can use the server?

The README gives setup steps for Claude Code, Claude Desktop, Cursor, VS Code and Codex, and says other MCP clients can be configured with the same JSON entry.

### What does the server need to run?

Node.js or Python, Google Chrome (or the Chrome for Testing download on first task), and an API key from the Node Mantis dashboard.

### Is Node Mantis free to use?

New accounts receive $10 of one-time credit valid for 30 days with no card required. After that, usage is pay-as-you-go by buying credit, and there is no subscription.

### Are my passwords sent through the chat?

The docs say secret values are set in the server's environment and the assistant only passes their names, so they do not pass through the conversation.

### How do I add Node Mantis to Claude Code?

Run this command in your terminal: claude mcp add node-mantis --env NODEMANTIS_API_KEY='<NODEMANTIS_API_KEY>' -- npx -y node-mantis

### What are the best alternatives to Node Mantis?

The closest alternatives to Node Mantis are Mantis, playwright_mcp, Selenium MCP, Selenium Webdriver MCP and Chrome DevTools MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Mantis](https://ai-powered.com/mcp/mantis-2): Mantis is an open-source MCP server for browser automation.
- [playwright_mcp](https://ai-powered.com/mcp/playwright-mcp-3): playwright_mcp is an open-source MCP server for browser automation.
- [Selenium MCP](https://ai-powered.com/mcp/selenium-mcp-2): Selenium MCP is an open-source MCP server for browser automation.
- [Selenium Webdriver MCP](https://ai-powered.com/mcp/selenium-webdriver-mcp): Selenium Webdriver MCP is an open-source MCP server for browser automation.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [MCP Server Browser](https://ai-powered.com/mcp/mcp-server-browser): MCP Server Browser is an open-source MCP server for browser automation.
- [NodeLane Act](https://ai-powered.com/mcp/nodelane-act): NodeLane Act is an open-source MCP server for browser automation.
- [Mirasim Computer Use](https://ai-powered.com/mcp/mirasim-computer-use): Mirasim Computer Use is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/node-mantis
