Arcjet MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Arcjet MCP or direct API to inspect security decisions, analyze traffic, investigate IPs, and manage remote rules through natural language.

Arcjet MCP logoArcjet MCP
Dcr Oauth

Arcjet MCP is a hosted security management server for inspecting Arcjet teams, sites, requests, and rules. It centralizes application security data and controls for faster investigation.

23 Tools

Try Arcjet MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Arcjet MCP
Try asking
TOOLS

Supported Tools

Every Arcjet MCP action and event your agent gets out of the box.

Analyze traffic

Analyze request traffic for an Arcjet site over a configurable time period (1-30 days).

Create rule

# Create remote rule Create a new remote rule for an Arcjet site.

Create site

Create a new Arcjet site within a team.

Delete rule

Delete a remote rule from an Arcjet site.

Explain decision

Explain why Arcjet allowed or denied a specific request in natural language.

Get anomalies

Detect unusual security patterns for an Arcjet site by comparing a recent period to the previous period of equal length.

Get dry run impact

Analyze the potential impact of promoting dry-run rules to live.

Get guard

Get the full record for a specific guard decision — the same evidence the Console Activity view shows.

Get request details

Get full details for a specific request, including headers, rule execution results, IP, and fingerprint.

Get security briefing

Get a comprehensive security briefing for an Arcjet site in a single call.

Get session taint

Get why a coding-agent session is (or was) tainted for a site — the same facts the Console session-taint panel shows.

Get site key

Returns the site's SECRET SDK key (ARCJET_KEY).

Get site quota

Get quota usage and limits for an Arcjet site.

Investigate ip

Investigate an IP address in the context of a specific Arcjet site.

List guards

List recent guards for an Arcjet site.

List requests

List recent requests for an Arcjet site, optionally filtered by decision (ALLOW/DENY/ERROR).

List rules

List all remote rules configured for an Arcjet site.

List sites

List all Arcjet sites belonging to a team.

List teams

Get the Arcjet teams this session can act in.

Promote rule

Promote a remote rule from DRY_RUN to LIVE mode.

Submit error report

Use only when the user explicitly asks to report a Guard decision error to Arcjet.

Submit feedback

Sends product feedback about these tools to the Arcjet team.

Update rule

# Update remote rule Update an existing remote rule for an Arcjet site.

SETUP GUIDE

Connect Arcjet MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["arcjet_mcp"],
  mcp: true,
});
Create a session scoped to Arcjet MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Show anomalous traffic for my Arcjet site from the last 24 hours",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Arcjet MCP request
SETUP GUIDE

Connect Arcjet MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["arcjet_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Arcjet MCP
3

Run Arcjet MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Show anomalous traffic for my Arcjet site from the last 24 hours" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Arcjet MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Arcjet MCP Integration

  • Supports both Arcjet MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable security tool execution
  • Rich coverage for inspecting teams, sites, quotas, requests, decisions, anomalies, and remote rules

Managed Auth

  • Connect your DCR OAuth credentials without building custom credential flows
  • Central place to manage, scope, and revoke Arcjet MCP access
  • Per user and per environment credentials instead of hard-coded secrets

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Arcjet MCP
  • Scoped, least privilege access to Arcjet teams, sites, traffic data, and rules
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Arcjet MCP with any AI Agent Framework

Choose a Framework you want to connect Arcjet MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Arcjet MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Arcjet MCP tool your agent needs.Free to start.

Start building