
Arcjet - MCP Server
Arcjet Model Context Protocol (MCP) server. Help your AI agents implement bot detection, rate limiting, email validation, attack protection, data redaction.
What is Arcjet - MCP Server?
Arcjet - MCP Server is a Model Context Protocol (MCP) server designed to help AI agents implement essential security features such as bot detection, rate limiting, email validation, attack protection, and data redaction.
How to use Arcjet - MCP Server?
To use the MCP server, you need to set up an ARCJET_API_KEY
by logging into your Arcjet account, retrieving a session cookie, and configuring the mcp.json
file with the necessary parameters. Follow the setup instructions provided in the documentation.
Key features of Arcjet - MCP Server?
- Bot detection to prevent automated abuse.
- Rate limiting to control the number of requests.
- Email validation to ensure valid user input.
- Attack protection to safeguard applications.
- Data redaction to protect sensitive information.
Use cases of Arcjet - MCP Server?
- Integrating security features into web applications.
- Protecting APIs from malicious bots.
- Validating user inputs in real-time.
- Safeguarding sensitive data during processing.
FAQ from Arcjet - MCP Server?
- How do I obtain an API key?
Currently, you need to use a session cookie as the
ARCJET_API_KEY
until proper API key management is implemented.
- Is there support available?
Yes! You can join the Arcjet Discord server or reach out for support through their documentation.
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.
- Log in to your Arcjet account.
- Open the developer tools in your browser.
- Go to the Application tab -> Storage -> Cookies.
- Use the value (a UUID) of the
session
cookie as theARCJET_API_KEY
in themcp.json
file below.
Cursor
-
Clone this repository locally.
-
Run
npm install
andnpm run build
. -
Open Cursor settings (Cmd+Shift+P > Cursor Settings) > MCP > Add new MCP server.
-
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 toindex.js
in this repo. For example, if you cloned the repository to your Downloads folder on macOS for the usertotoro
then this would be:/Users/totoro/Downloads/mcp/index.js
-
In the Cursor MCP settings, ensure the
arcjet
MCP server shows as enabled.