Skip to main content

MCP server for ActionLayer — give Claude Code and other MCP hosts access to ActionLayer's browser-action catalog with human-in-the-loop credentials.

Project description

actionlayer-mcp

MCP server for ActionLayer — let Claude Code (and any MCP host) drive browser-based sites on your behalf.

Install

Get an API key from your ActionLayer dashboard at https://actionlayer.io, then:

claude mcp add --scope user actionlayer "uvx" "actionlayer-mcp" \
  --env ACTIONLAYER_API_KEY="ak_…" \
  --env ACTIONLAYER_API_URL="https://api.actionlayer.io"

Restart Claude Code and ask it to do something for you.

Usage from other MCP hosts

actionlayer-mcp

Works with Cursor, Cody, Codex, etc.

Env vars:

  • ACTIONLAYER_API_KEY — required
  • ACTIONLAYER_API_URL — defaults to https://api.actionlayer.io

Changelog

0.4.1

Payment-card approval flow (Phase 2 of the agent payments plan).

  • actionlayer_reply now accepts payment_approved: bool for tickets whose info_request includes payment_status. Users approve a charge against their card-on-file with one call.
  • actionlayer_get_task / actionlayer_next_action surface card_brand, card_last4, amount_usd, and payment_status on the info_request payload so an agent can prompt the user with "Approve $X.XX charge on your card ending ?"
  • The card PAN itself NEVER crosses the MCP boundary. Operator- side reveal is a separate HTTPS-only endpoint gated by Auth0 + claim-holder check + one-shot semantics. This is by design per docs/agent_payments_plan.md.

0.4.0

Backwards-incompatible — public API taxonomy changed.

  • Ticket state collapses the in-flight phases (queued, planning, executing, blocked_on_operator) into a single public value pending. Polling code that branched on the individual sub-phases (e.g. if state == "executing") must switch to state == "pending". Terminal states (completed, failed, cancelled) and blocked_on_user are unchanged.
  • live_view_url is no longer returned by the public tools (actionlayer_invoke_action, actionlayer_get_action_ticket). It was an operator-side handoff URL; user-facing callers should drive the task via polling actionlayer_get_action_ticket and responding to blocked_on_user prompts.
  • actionlayer_invoke_action sync response now uses outcome="queued" (instead of outcome="blocked") when the task escalated to an asynchronous queue (operator pickup, long-running browser run). Callers handling outcome need to add a queued branch: poll actionlayer_get_action_ticket.
  • Terminal tickets now carry a free-text reason field summarising the outcome (derived from result.summary on completed, error on failed). Pre-existing result / error fields preserved for callers that want the raw structured payload.

0.3.1

  • Update default API URL to https://api.actionlayer.io (api.action-layer.dev still redirects, but the new host is the current canonical name).

0.3.0

  • Browser-only catalog. Human-in-the-loop credentials.

0.2.0

  • Async-by-default dispatch for browser actions + ticket polling tool.

0.1.0

  • Initial release.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

actionlayer_mcp-0.4.1.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actionlayer_mcp-0.4.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file actionlayer_mcp-0.4.1.tar.gz.

File metadata

  • Download URL: actionlayer_mcp-0.4.1.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for actionlayer_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 5eb7c4849f5507c61e2015b13dd217fb78ed00cdc8adcaca10eb2018bfa7d73b
MD5 7e62568003f4d4b2cb3368dee3a7bf9d
BLAKE2b-256 10aa1beefd8a7b9e0202a59c076fdbcf288c1b17697801e70cd6995d7d51f84a

See more details on using hashes here.

File details

Details for the file actionlayer_mcp-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for actionlayer_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b9959d9c77a17c0713c5f57c9925fbbc82c60ccbdfaf1f7e31a55a6d2375890
MD5 3edbd7a2df97ade6919f4502a409de7b
BLAKE2b-256 70bac2de37d22049f69a4030698550b35d803f166595b36a178a462343370884

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page