Arcjet MCP server
The Arcjet MCP server lets AI assistants access your Arcjet account through the Model Context Protocol (MCP), an open standard for connecting AI tools to external services.
Connect your AI coding tools to Arcjet to:
- List teams you belong to.
- List sites within a team.
- Create new sites within a team.
- Get site keys (
ARCJET_KEY) for use in your projects. - List requests received by a site with optional filtering.
- Get request details including headers, rules executed, and decision info.
- Get site quota usage and limits for the current billing window.
The MCP server is available at:
https://api.arcjet.com/mcpIt implements the latest MCP Authorization and Streamable HTTP specifications with OAuth-based authentication.
Supported clients
Section titled “Supported clients”Any client that supports the latest MCP specification with Streamable HTTP transport and OAuth authorization is supported. This includes:
- ChatGPT
- Claude Code
- Claude Desktop
- Cursor
- VS Code with Copilot
- Windsurf
- Many others that implement the MCP specification.
ChatGPT
Section titled “ChatGPT”- In ChatGPT, go to Settings.
- Navigate to Connectors and select Add connection.
- Enter
https://api.arcjet.com/mcpas the server URL. - Select OAuth for authentication.
- Click Create.
ChatGPT handles the OAuth flow automatically.
Claude Code
Section titled “Claude Code”claude mcp add arcjet --transport http https://api.arcjet.com/mcpClaude Code will open a browser for OAuth authentication on first connection.
Once authenticated, you can use the /mcp command to verify the connection.
Claude Desktop
Section titled “Claude Desktop”- Open Settings in the sidebar.
- Navigate to Connectors and select Add custom connector.
- Configure the connector:
- Name:
Arcjet - URL:
https://api.arcjet.com/mcp
- Name:
Cursor
Section titled “Cursor”Add to .cursor/mcp.json in your project:
{ "mcpServers": { "arcjet": { "type": "streamable-http", "url": "https://api.arcjet.com/mcp" } }}After adding the server, Cursor will show a Needs login prompt. Click it to authorize Cursor to access your Arcjet account.
VS Code with Copilot
Section titled “VS Code with Copilot”Add to your .vscode/mcp.json in your project or user settings:
{ "servers": { "arcjet": { "type": "http", "url": "https://api.arcjet.com/mcp" } }}Or add it via the command palette:
- Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS).
- Run MCP: Add Server.
- Select HTTP.
- Enter the URL:
https://api.arcjet.com/mcp - Enter the name:
Arcjet - Select Workspace or User depending on your preference.
VS Code will prompt you to authenticate via OAuth on first use.
Windsurf
Section titled “Windsurf”Add to your mcp_config.json file:
{ "mcpServers": { "arcjet": { "serverUrl": "https://api.arcjet.com/mcp" } }}For more details, see the Windsurf MCP documentation.
Available tools
Section titled “Available tools”Once connected, the following tools are available to your AI assistant:
| Tool | Description |
|---|---|
list-teams | Lists teams the authenticated user belongs to. |
list-sites | Lists sites within a specified team. |
create-site | Creates a new site within a specified team. |
get-site-key | Returns the SDK key (ARCJET_KEY) for a specific site. |
list-requests | Lists recent requests for a site. Supports filtering by conclusion (ALLOW, DENY, ERROR) and pagination. |
get-request-details | Returns full details for a specific request including headers, rules executed, and decision information. |
get-site-quota | Returns quota usage and limits for a site in the current billing window. |
Authentication
Section titled “Authentication”The MCP server uses OAuth for authentication. When you first connect from any supported client, you will be redirected to sign in with your Arcjet account. Once authenticated, your AI assistant can securely access your account resources.
Security
Section titled “Security”- Verify the endpoint — always confirm you are connecting to
https://api.arcjet.com/mcp. - Review tool calls — enable confirmation prompts in your AI client so you can review actions before they execute.
- Trusted clients only — only connect from AI clients you trust. Connecting grants the AI tool the same access as your Arcjet account.