# Hapti

> Hapti is a paid MCP server for browser automation. Browser agent that completes tasks on websites without an API, billed only on success. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI, Web
- **Website:** https://hapti.dev/docs/agents
- **Repository:** https://github.com/hapti-dev/hapti
- **MCP Registry name:** dev.hapti/hapti
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-23

## About

Hapti takes a website and a plain-language goal, then runs an agent that opens a real browser, reads the screen and clicks or types the way a person would. Results come back along with a record of each step taken, which is useful when a task needs to be checked afterwards.

The agent is meant for sites that offer no API, such as booking portals, online forms, customer areas where documents are downloaded, and administration pages where a status has to be checked. For jobs that an API already covers, or for simply reading a public page, the vendor advises using something else.

Tasks can be run through the Hapti SDKs in JavaScript or Python, through n8n, or through the remote MCP server, which works with Claude, Cursor, VS Code and other MCP clients. Test keys let developers try tasks, and test tasks use the same credit but never send data to the sites.

When the agent lacks information, such as a one-time code, the task pauses and asks a question that a person answers. Credit is prepaid, and failed or cancelled tasks are not charged.

## Features

- **Browser-based task execution:** An agent operates a real browser by looking at the screen and clicking or typing, without needing an API from the site.
- **Pay only on success:** Tasks are billed per 10 agent actions only when they succeed; failed, blocked or cancelled tasks cost nothing.
- **Structured results:** A JSON Schema can be supplied as the output format so the returned data matches what a program expects.
- **Step-by-step proof:** Every step and screenshot is recorded and kept for 90 days, so outcomes can be reviewed.
- **Human answers for missing data:** When a task needs information it does not have, it pauses with a question or approval request for a person to answer.
- **MCP server and SDKs:** Available as a remote MCP server for AI clients as well as JavaScript, Python and n8n integrations.

## Good for

- Book an appointment on a clinic or town hall booking site that has no API
- Fill in and submit an online form up to its confirmation page
- Download invoices or statements from a customer portal
- Check the status of a file on an administration website
- Cancel a subscription or update contact details on a provider's site

## Install

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

```sh
claude mcp add --transport http hapti https://api.hapti.dev/mcp
```

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": {
    "hapti": {
      "type": "http",
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.hapti.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "hapti": {
      "type": "http",
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.hapti.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

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

```sh
codex mcp add hapti --url https://api.hapti.dev/mcp
```

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

```toml
[mcp_servers.hapti]
url = "https://api.hapti.dev/mcp"
```

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

```json
{
  "mcpServers": {
    "hapti": {
      "httpUrl": "https://api.hapti.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http hapti https://api.hapti.dev/mcp

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

```json
{
  "mcpServers": {
    "hapti": {
      "serverUrl": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp",
      "transport": "http"
    }
  }
}
```

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": {
    "hapti": {
      "type": "streamableHttp",
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "hapti": {
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.hapti.dev/mcp
```

Enter a Name (for example "Hapti"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "hapti": {
      "type": "http",
      "url": "https://api.hapti.dev/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 18 tools change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `start_task` (name suggests: changes): Give a goal to a Hapti agent that operates a real web browser by sight, like a person.
- `get_task` (name suggests: reads): State of a task.
- `answer_task`: Answer the question a waiting task asked.
- `approve_task` (name suggests: changes): Give or refuse the approval a waiting task asked for before a step that commits the person.
- `cancel_task` (name suggests: changes): Stop a task that is queued, running or waiting.
- `estimate_task`: The price of a task before starting it, from the earlier successes of the same task and its recipe.
- `list_templates` (name suggests: reads): The ready-made tasks Hapti offers on sites that have no API, each with its id, what it does and its parameters.
- `list_tasks` (name suggests: reads): The latest tasks of this key, newest first, optionally filtered by status.
- `list_recipes` (name suggests: reads): The recipes of this organisation, newest first.
- `get_balance` (name suggests: reads): The credit in cents of US dollars, with available and held amounts and paused tasks.
- `get_account` (name suggests: reads): The organisation, mode of the key, API version, credit details and prices.
- `get_task_steps` (name suggests: reads): Every step the agent took in a task, in order, with its time and summary.
- `list_requests` (name suggests: reads): The API calls made with keys of this mode in the last 30 days.
- `get_request` (name suggests: reads): One API call by its Request-Id, with parameters, body sent and answer given.
- `list_webhook_deliveries` (name suggests: reads): The webhook events sent to this mode's addresses, newest first.
- `get_webhook_delivery` (name suggests: reads): One webhook delivery with the body sent and every attempt.
- `resend_webhook_delivery`: Send one webhook delivery again to the same address.
- `get_usage` (name suggests: reads): Tasks of this mode by status and what was billed day by day over a period.

## FAQ

### How is Hapti billed?

Successful live tasks cost $0.10 per 10 actions of the agent, paid from prepaid credit. Failed, blocked, incomplete and cancelled tasks cost nothing, and waiting time is free.

### Are test tasks free?

No. Test tasks are billed like live ones from the same credit, but their data is never sent to the sites.

### How do I connect Hapti to an AI client?

Add the server address https://api.hapti.dev/mcp to the client. Clients such as Claude sign in through Hapti, while Cursor, VS Code and Claude Code can use an API key in the Authorization header.

### What happens if there is not enough credit?

The new live task is created paused and starts automatically once credit is added. A paused task that never receives credit stops after 7 days, unbilled.

### How do I add Hapti to Claude Code?

Run this command in your terminal: claude mcp add --transport http hapti https://api.hapti.dev/mcp

### What are the best alternatives to Hapti?

The closest alternatives to Hapti are Browser Use, Computer-Use Agents API, Node Mantis, Agent Conversion — AI Website Conversion Testing and pilotfish (managed).

## Where this comes from

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

## Alternatives

- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Computer-Use Agents API](https://ai-powered.com/mcp/computer-use-agents-api): Computer-Use Agents API is an MCP server for browser automation.
- [Node Mantis](https://ai-powered.com/mcp/node-mantis): Node Mantis is a freemium MCP server for browser automation.
- [Agent Conversion — AI Website Conversion Testing](https://ai-powered.com/mcp/agent-conversion-ai-website-conversion-testing): Agent Conversion — AI Website Conversion Testing is an MCP server for browser automation.
- [pilotfish (managed)](https://ai-powered.com/mcp/pilotfish-managed): pilotfish (managed) is a paid MCP server for browser automation.
- [Turbo-Browser-MCP](https://ai-powered.com/mcp/turbo-browser-mcp): Turbo-Browser-MCP is an open-source MCP server for browser automation.
- [pilotfish (local)](https://ai-powered.com/mcp/pilotfish-local): pilotfish (local) is a freemium MCP server for browser automation.
- [Browsentic](https://ai-powered.com/mcp/browsentic): Browsentic is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/hapti
