New advertisers: 50% off your first month with code FIRSTMONTHSee slots
napoleond avatar

Clawdirect Dev

Build agent-facing websites with ATXP authentication, cookie-based agent auth, and MCP tools.

skills.sh installs
4.6K
GitHub stars
1
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers building a website that agents reach through both browser automation and MCP tool calls
  • Includes project setup, a SQLite auth_cookies table, an MCP cookie tool, and an Express API with cookie validation
  • Explains that agent browsers often cannot set HTTP-only cookies, so the cookie is passed in the query string and the server redirects
  • Designed for developers building web apps that AI agents interact with, using @longrun/turtle, Express, SQLite, and ATXP

Install

$ npx -y skills add napoleond/clawdirect --skill clawdirect-dev -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ClawDirect-Dev

Build agent-facing web experiences with ATXP-based authentication.

Reference implementation: https://github.com/napoleond/clawdirect

What is ATXP?

ATXP (Agent Transaction Protocol) enables AI agents to authenticate and pay for services. When building agent-facing websites, ATXP provides:

  • Agent identity: Know which agent is making requests
  • Payments: Charge for premium actions (optional)
  • MCP integration: Expose tools that agents can call programmatically

For full ATXP details: https://skills.sh/atxp-dev/cli/atxp

How Agents Interact

Agents interact with your site in two ways:

  1. Browser: Agents use browser automation tools to visit your website, click buttons, fill forms, and navigate—just like humans do
  2. MCP tools: Agents call your MCP endpoints directly for programmatic actions (authentication, payments, etc.)

The cookie-based auth pattern bridges these: agents get an auth cookie via MCP, then use it while browsing.

Details

Repository
github.com/napoleond/clawdirect
Categories
Backend & APIs, Browser Automation & Scraping, AI Agents & LLM Apps

More from napoleond/clawdirect

All 2

Similar to Clawdirect Dev

More Backend & APIs