Skip to content
/ mcp Public

Arcjet Model Context Protocol (MCP) server. Help your AI agents implement bot detection, rate limiting, email validation, attack protection, data redaction.

License

Notifications You must be signed in to change notification settings

arcjet/mcp

Repository files navigation

Arcjet Logo

Arcjet - MCP Server

Arcjet helps developers protect their apps in just a few lines of code. Bot detection. Rate limiting. Email validation. Attack protection. Data redaction. A developer-first approach to security.

This is the Arcjet Model Context Protocol (MCP) server. It provides AI agents with useful context that will help you integrate Arcjet into your application and retrieve information from Arcjet about processed requests.

Features

  • List teams and sites.

Setup

ARCJET_API_KEY

Important

Arcjet does not currently have public API keys, so you need to grab an auth session ID as the ARCJET_API_KEY. We're working on proper API key management.

  1. Log in to your Arcjet account.
  2. Open the developer tools in your browser.
  3. Go to the Application tab -> Storage -> Cookies.
  4. Use the value (a UUID) of the session cookie as the ARCJET_API_KEY in the mcp.json file below.

Cursor

  1. Clone this repository locally.

  2. Run npm install and npm run build.

  3. Open Cursor settings (Cmd+Shift+P > Cursor Settings) > MCP > Add new MCP server.

  4. Add the following into the mcp.json file:

    {
      "mcpServers": {
        "arcjet": {
          "command": "node",
          "args": ["/PATH/TO/mcp/index.js"],
          "env": {
            "ARCJET_API_KEY": "YOUR_KEY_HERE"
          }
        }
      }
    }

    Replace /PATH/TO/mcp/index.js with the absolute path to index.js in this repo. For example, if you cloned the repository to your Downloads folder on macOS for the user totoro then this would be: /Users/totoro/Downloads/mcp/index.js

  5. In the Cursor MCP settings, ensure the arcjet MCP server shows as enabled.

Get help

Join our Discord server or reach out for support.

About

Arcjet Model Context Protocol (MCP) server. Help your AI agents implement bot detection, rate limiting, email validation, attack protection, data redaction.

Topics

Resources

License

Security policy

Stars

Watchers

Forks