Skip to content
Works with any AI platform

Integrate with ClawdRules

Connect your AI agent to 482 governance rules, soul.md personalities, and real-time spending controls. One MCP command, one API key, or auto-discovery — you choose.

Claude / Anthropic
Google Gemini
xAI Grok
OpenAI / ChatGPT

MCP Server

For Claude and any MCP-compatible client. One command, 13 governance tools, zero configuration.

Quick install
claude mcp add clawdrules -- npx -y clawdrules-mcp

Set CLAWDRULES_API_KEY in your environment. Get one from the dashboard.

13 Governance Tools

ToolType
clawdrules_agent_connect
Register/authenticate an agent
write
clawdrules_check_transaction
Evaluate transaction against governance rules
read
clawdrules_list_rules
List all configured rules
read
clawdrules_get_soul
Get agent personality profile
read
clawdrules_list_stores
List trusted/blocked merchants
read
clawdrules_create_checkout
Create a new checkout session
write
clawdrules_get_checkout
Get checkout status
read
clawdrules_complete_checkout
Approve checkout (governance check)
write
clawdrules_cancel_checkout
Cancel a checkout
write
clawdrules_report_receipt
Report purchase receipt
write
clawdrules_get_mandate
Get AP2 payment mandate
read
clawdrules_poll_approval
Poll approval status
read
clawdrules_kill_switch
Freeze all agent activity
write

Supported Platforms

Native integration with every major AI platform. If your agent can make HTTP calls, it works with ClawdRules.

Claude / Anthropic

MCP Server

Native MCP support. Add ClawdRules as an MCP server and all 13 tools appear automatically.

Google Gemini

Gemini Actions

Gemini Actions via ai-plugin.json discovery. Auto-registers 14 operations from the OpenAPI spec.

xAI Grok

Grok Actions

Grok Actions support via ai-plugin.json. All 14 operations exposed through OpenAPI spec.

OpenAI / ChatGPT

REST API

REST API with Bearer token auth. Compatible with function calling, assistants API, and custom GPTs.

REST API

For any platform, language, or framework. Bearer token authentication, JSON request/response.

Authentication

Bearer token in the Authorization header.

Authorization: Bearer clr_live_a1b2c3d4...

Base URL

All API endpoints are under the v1 namespace.

https://clawdrules.com/api/v1/agent/*

Core Endpoints

  • POST/connect
  • POST/check
  • GET/rules
  • GET/soul
  • GET/stores

ACP Checkout

  • POST/checkout
  • GET/checkout
  • POST/checkout/complete
  • POST/checkout/cancel
  • POST/checkout/receipt

Auto-Discovery

AI platforms can discover ClawdRules capabilities automatically through standard well-known paths.

/.well-known/ai-plugin.json
Agent plugin manifest with Anthropic, Gemini, Grok, and OpenAI extensions
/openapi.yaml
Full OpenAPI 3.1 specification with all endpoints and schemas
/.well-known/openapi.yaml
Alternative well-known path for OpenAPI discovery

Platform-Specific Extensions

The ai-plugin.json manifest includes vendor extensions for each platform:

x-anthropic-tool-use
Anthropic / Claude
Tool definitions from OpenAPI
x-google-gemini-actions
Google Gemini
14 supported actions
x-xai-grok-actions
xAI Grok
14 operation IDs
x-agent-protocol
ACP v1
Agentic Commerce Protocol

Ready to Connect Your Agent?

Create an account, generate an API key, and your agent will be governed in minutes. Zero passwords — passkey-only authentication.