
Clawdirect Dev
If you're building web apps that AI agents need to interact with, this handles the tricky authentication dance between MCP tools and browser sessions. Agents can't easily set HTTP-only cookies directly, so this implements the standard pattern where agents call an MCP endpoint to get a cookie value, then pass it via query string to get authenticated. Sets up Express routes with cookie validation, SQLite for session storage, and ATXP payment integration. Includes the browser redirect handling and MCP server boilerplate that every agent-facing app needs.
- skills.sh installs
- 4.6K
- GitHub stars
- 1
- last updated
- Aug 21, 2026
Install
$ npx -y skills add napoleond/clawdirect --skill clawdirect-dev --agent claude-codeInstalls into .claude/skills of the current project.
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:
- Browser: Agents use browser automation tools to visit your website, click buttons, fill forms, and navigate—just like humans do
- 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.
Sponsors
Details
- Repository
- github.com/napoleond/clawdirect
- Categories
- Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Databases