Web2MCP · GitHub

How do I let Claude Code or Cursor use a web app that has no API?

Record the app once in a browser, turn the recording into a read-only-safe profile, then install that profile into your agent. After that the agent calls the app over plain HTTP — no browser is involved at call time, and no official API is required.

Steps

Install the recorder (optional — the HAR path below needs no browser tooling):

pip install 'web2mcp[record]'
playwright install chromium

Record the app (a Chromium window opens; log in and click through what you need, then close it):

web2mcp record https://app.example.com --out work/site

Build a profile and a paste-ready MCP config in one command:

web2mcp quick work/site/capture.json

Install it into your agent:

web2mcp install work/site-profile --client cursor --write      # also: claude-desktop
web2mcp install work/site-profile --client claude-code          # prints the `claude mcp add` command
web2mcp install work/site-profile --client codex                # prints the `codex mcp add` command

Prefer the command line? The same profile also ships a SKILL.md, so a terminal agent can call it directly with web2mcp call <profile> <operation>.

Limits

Only record apps and accounts you are authorized to automate. A recording carries your login cookies — treat it as a credential. Web2MCP does not bypass CAPTCHAs, proof-of-work challenges or device binding; on such sites it stops and tells you the site is not supported this way. Writes are off until you install a reviewed contract.

← Back to overview · README: Ways in