Skip to main content

Setup

Add ActionLayer to your Claude Code MCP configuration:
claude mcp add actionlayer \
  --transport http \
  --url https://mcp.actionlayer.dev/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
Or edit your ~/.claude/config.json directly:
{
  "mcpServers": {
    "actionlayer": {
      "transport": "http",
      "url": "https://mcp.actionlayer.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Verify Connection

claude mcp list
You should see actionlayer listed with 13 tools, 3 resources, and 2 prompts.

Usage

Once connected, Claude can use ActionLayer tools directly in conversation:
Read my inbox and draft a reply to the most urgent thread.
Claude will use list_threads, get_thread, and submit_draft — the draft goes to your approval queue before anything is sent.

Using Prompts

The draft_reply prompt guides Claude through the full workflow:
/mcp actionlayer draft_reply thread_id=THREAD_ID identity_id=IDENTITY_ID message_id=MESSAGE_ID
The triage_inbox prompt gives Claude a structured read-only scan of your inbox:
/mcp actionlayer triage_inbox

Local Development

For local development, point to your local MCP server:
{
  "mcpServers": {
    "actionlayer-local": {
      "transport": "http",
      "url": "http://localhost:8001/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}