Hapti

dev.haptiPublished by hapti.devOfficial publisherv1.0.2Updated Nov 22, 2026

Do tasks on websites that have no API: a browser agent that works by sight, paid only on success.

VerifiedStreamable HTTPWeb executableProductivity & WorkflowBrowser Automation

Overview

AI-generated overview

Remote MCP server that runs a browser agent to complete tasks on websites without APIs, returning results with step-by-step proof.

What you can do
  • Start, monitor, answer, approve and cancel browser tasks that carry out a goal on a given website
  • Estimate task cost and check account balance
  • List saved templates, recipes and past tasks
  • Return structured results matching a JSON Schema supplied with the task
When to use it
Useful when a job must be done on a website that has no API or an API that does not cover the job, such as booking appointments, submitting forms, downloading invoices or certificates, or checking a file's status on an administration portal. Prefer a real API when one exists.
Requirements
A remote endpoint at api.hapti.dev/mcp over streamable HTTP. Authentication is required: OAuth, or an Authorization header with a Bearer API key. A free test key is available; no local runtime or packages are needed.
Before you install
The agent acts on live websites on the user's behalf, including submitting forms, declaring claims and cancelling contracts, and it can pause to ask for codes or other missing details. Tasks are billed on success, so real usage costs money. Sign-in details are kept in a vault the model does not see, but the API key in the Authorization header is a secret. Steps and screenshots are retained for 90 days.

Installation

In SourceWeft

  1. Open Hapti in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.hapti%2Fhapti/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

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

README

Hapti

Hapti does tasks on websites that have no API. You send a website and a goal in plain words. An agent opens a real browser, looks at the screen, clicks and types like a person, and sends back the result with every step as proof. You pay only when a task succeeds, and test mode is free.

Documentation · Quickstart · API reference · For AI agents · llms.txt · OpenAPI

When to use Hapti

Use Hapti when a job has to be done on a website and that website has no API, or an API that does not cover the job:

  • book an appointment on a booking site, a town hall or a clinic;
  • fill in and submit an online form, up to the confirmation page;
  • download invoices, statements or certificates from a customer area;
  • declare a claim, cancel a contract, update contact details;
  • check the status of a file on an administration portal.

When a proper API exists for the job, use that API instead.

Install

bash
npm install hapti-sdk     # JavaScript and TypeScriptpip install hapti         # Python

Run a task

js
import Hapti from 'hapti-sdk';
const hapti = new Hapti(process.env.HAPTI_API_KEY);const task = await hapti.tasks.run(  {    url: 'https://portal.example.com/claims',    goal: 'Declare the water damage claim and give me the claim number.',    data: { contract: 'AX-4471', date: '2026-11-20' },    user: 'customer_42',    output: { type: 'object', properties: { claim_number: { type: 'string' } }, required: ['claim_number'] },  },  { onWaiting: (pending) => askTheCustomer(pending.text) },);console.log(task.result.data.claim_number);
python
from hapti import Hapti
hapti = Hapti()  # reads HAPTI_API_KEYtask = hapti.tasks.run(    {"url": "https://portal.example.com/claims",     "goal": "Declare the water damage claim and give me the claim number.",     "data": {"contract": "AX-4471", "date": "2026-11-20"},     "user": "customer_42"},    on_waiting=lambda pending, task: ask_the_customer(pending["text"]),)print(task["result"]["answer"])

The agent never invents a value. When something is missing, such as a code received by text message, the task waits with a question that you or the person answer. Get a free test key at app.hapti.dev.

Use it from an AI agent (MCP)

Hapti is a remote MCP server at https://api.hapti.dev/mcp, listed in the official MCP registry as dev.hapti/hapti.

[Add to Cursor] [Install in VS Code]

Replace hp_test_YOUR_KEY with your key once the editor opens, or create a key in the console and use its install buttons, which fill it in for you.

bash
claude mcp add --transport http hapti https://api.hapti.dev/mcp \  --header "Authorization: Bearer hp_test_..."
json
{  "mcpServers": {    "hapti": {      "url": "https://api.hapti.dev/mcp",      "headers": { "Authorization": "Bearer hp_test_..." }    }  }}

Tools: start_task, get_task, answer_task, approve_task, cancel_task, estimate_task, list_templates, list_tasks, list_recipes, get_balance. See Build with AI agents.

What you get

  • People, not sessions: tasks for the same user share one device, one session, one memory, an email inbox and a vault of sign-in details the model never sees.
  • Structured results: give a JSON Schema in output and the result follows it, or the task is not billed.
  • Built for production: idempotency keys, a dated API version, signed webhooks retried for three days, live streaming with Server-Sent Events, cursor pagination and request logs.
  • Proof: every step and screenshot, kept 90 days.

This repository

FolderWhat it holds
js/The JavaScript and TypeScript library, published as hapti-sdk
python/The Python library, published as hapti
examples/Small programs: a first task, a webhook receiver
server.jsonThe MCP registry entry

License

MIT

Source: README.md at commit cb715a1

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.0.2LatestNov 22, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts