Arcjet

com.arcjet由 arcjet.com 發布官方發布者v1.0.0更新於 Oct 24, 2026

An MCP server for Arcjet - the runtime security platform that ships with your AI code.

已驗證Streamable HTTP可網頁執行雲端與基礎設施安全與監控

概覽

AI 產生的概覽

Arcjet 遠端 MCP 伺服器,讓 AI 助理檢視網站流量、調查威脅,並管理 Arcjet 帳戶的執行階段安全規則。

可以做什麼
  • 列出團隊與網站、建立網站,並取得網站的 SDK 金鑰
  • 列出並檢視請求、解釋允許或拒絕的決策,並查看請求詳細資料
  • 分析流量、偵測異常、調查 IP,並產生安全簡報
  • 查看網站配額用量,並評估試執行規則的影響
  • 列出、建立、更新、刪除遠端規則,並將其從試執行提升為正式生效(限流、機器人、shield、過濾)
適用情境
適合已在網站上使用 Arcjet、希望由助理排查可疑流量、解釋拒絕原因、產生每日安全簡報,或在不重新部署程式碼的情況下新增並啟用封鎖規則的情境。
執行需求
需透過 Streamable HTTP 連線至遠端端點 Arcjet 帳戶完成 OAuth 登入;用戶端需支援目前的 MCP 規範與 OAuth。不需本機執行環境或設定 API 金鑰。
安裝前請注意
連線後 AI 用戶端將取得與你的 Arcjet 帳戶相同的權限。工具可建立網站、讀取網站金鑰,並可建立、整份取代、刪除規則或將其提升為正式生效,因而立即改變被阻擋的流量;建議開啟確認提示並逐項檢視呼叫。遠端規則對該網站的所有請求全域生效。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Arcjet,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.arcjet%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "arcjet": {
      "type": "http",
      "url": "https://api.arcjet.com/mcp"
    }
  }
}

README

[Arcjet Logo]

Arcjet - MCP Server

Arcjet is the runtime security platform that ships with your code. Enforce budgets, stop prompt injection, detect bots, and protect personal information with Arcjet's AI security building blocks.

The Arcjet MCP server gives AI coding assistants the skills of a security engineer. By connecting to the Arcjet MCP server, your AI coding tools can:

  • 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.
  • Explain decisions to understand why requests were allowed or denied.
  • Get request details including headers, rules executed, and decision info.
  • Get site quota usage and limits for the current billing window.
  • Analyze traffic patterns, denial rates, top paths, and top IPs.
  • Detect anomalies by comparing current traffic to the previous period.
  • Investigate IPs with geo, threat intelligence, and request activity.
  • Get dry-run impact analysis before promoting rules to live.
  • Get a security briefing combining traffic, threats, anomalies, and recommendations.
  • List remote rules configured for a site.
  • Create remote rules with DRY_RUN or LIVE mode — configure rules with no code changes needed.
  • Update remote rules by replacing the full rule configuration.
  • Delete remote rules to immediately stop evaluation.
  • Promote remote rules from DRY_RUN to LIVE after verification.

The MCP server is available at:

https://api.arcjet.com/mcp

It implements the latest MCP Authorization and Streamable HTTP specifications with OAuth-based authentication.

Supported clients

Any client that supports the latest MCP specification with Streamable HTTP transport and OAuth authorization is supported. This includes:

Setup

ChatGPT

  1. In ChatGPT, go to Settings.
  2. Navigate to Connectors and select Add connection.
  3. Enter https://api.arcjet.com/mcp as the server URL.
  4. Select OAuth for authentication.
  5. Click Create.

ChatGPT handles the OAuth flow automatically.

Claude Code

bash
claude mcp add arcjet --transport http https://api.arcjet.com/mcp

Claude 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

Remote MCP connections are available on Claude Desktop for users on [Pro, Max, Team, and Enterprise plans](https://support.anthropic.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp).
  1. Open Settings in the sidebar.
  2. Navigate to Connectors and select Add custom connector.
  3. Configure the connector:
    • Name: Arcjet
    • URL: https://api.arcjet.com/mcp

Cursor

Add to .cursor/mcp.json in your project:

json
{  "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

Add to your .vscode/mcp.json in your project or user settings:

json
{  "servers": {    "arcjet": {      "type": "http",      "url": "https://api.arcjet.com/mcp"    }  }}

Or add it via the command palette:

  1. Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS).
  2. Run MCP: Add Server.
  3. Select HTTP.
  4. Enter the URL: https://api.arcjet.com/mcp
  5. Enter the name: Arcjet
  6. Select Workspace or User depending on your preference.

VS Code will prompt you to authenticate via OAuth on first use.

Windsurf

Add to your mcp_config.json file:

json
{  "mcpServers": {    "arcjet": {      "serverUrl": "https://api.arcjet.com/mcp"    }  }}

For more details, see the Windsurf MCP documentation.

Available tools

Once connected, the following tools are available to your AI assistant:

  • 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.
  • explain-decision — Explains why Arcjet allowed or denied a specific request. Returns a natural language summary, per-rule breakdown, and suggested next steps.
  • get-site-quota — Returns quota usage and limits for a site in the current billing window.
  • analyze-traffic — Analyzes request traffic over a time period. Returns total requests, denials, denial rate, top paths, top IPs, top denial reasons, and trend vs the previous period.
  • get-anomalies — Detects unusual security patterns by comparing current traffic to the previous period. Identifies traffic spikes, geographic shifts, new threat activities, new bot signatures, risk escalation, and suspicious IP patterns.
  • investigate-ip — Investigates an IP address in the context of a site. Returns geo location, threat intelligence (network type, threat activities, entity classification, risk level), and the IP's recent request activity (conclusion breakdown, denial reasons, targeted paths, daily timeline).
  • get-dry-run-impact — Analyzes what would happen if dry-run rules were promoted to live. Shows how many currently-allowed requests would have been blocked by each rule type, which IPs would be most affected, and a false-positive estimate.
  • get-security-briefing — Returns a comprehensive security briefing: active rules summary, traffic analysis, threat intelligence, anomaly detection, dry-run promotion readiness, quota status, and prioritized actionable recommendations. Designed for daily consumption.
  • list-rules — Lists all remote rules configured for a site with their ID, type, mode, and configuration summary.
  • create-rule — Creates a new remote rule for a site. Supports rate limit, bot, shield, and filter rule types.
  • update-rule — Replaces an existing remote rule configuration. All fields must be provided (full replacement).
  • delete-rule — Deletes a remote rule, immediately stopping it from being evaluated.
  • promote-rule — Promotes a remote rule from DRY_RUN to LIVE mode after verification.

Remote rules

Remote rules are managed through the MCP server or the Arcjet dashboard — no code changes or redeployment needed. They apply globally to all requests for a site. Only rate_limit, bot, shield, and filter rule types are supported as remote rules. Rules that need parsed request body content (email, sensitive_info, prompt_injection) require the SDK.

The most common use case for remote rules is responding to an active attack. For example, if you notice suspicious traffic from a specific country, VPN, or IP address, you can create a filter rule to block it immediately without deploying new code:

  1. Use list-requests to investigate the suspicious traffic and identify patterns (e.g. a specific country, IP range, or VPN usage).
  2. Use create-rule to add a filter rule in DRY_RUN mode to verify it matches the right traffic. For example, block a specific country: ip.src.country == "XX" (ISO 3166-1 alpha-2 country code e.g. US, CN, RU), block VPN traffic: ip.src.vpn, or block an IP range: ip.src in { 1.2.3.0/24 }.
  3. Use list-requests again to confirm the rule is matching the expected traffic without blocking legitimate users.
  4. Use promote-rule to switch the rule from DRY_RUN to LIVE, immediately blocking the attack traffic.
  5. Once the attack subsides, use delete-rule to remove the block.

Security monitoring

Use the analysis tools to maintain ongoing security awareness:

  • Daily briefing: Call get-security-briefing periodically to get a comprehensive overview of your site's security posture — traffic trends, threat landscape, anomalies, dry-run readiness, quota status, and prioritized recommendations — all in a single call.
  • Traffic analysis: Use analyze-traffic to understand request patterns, denial rates, top paths, and top IPs. This provides the same data as the Arcjet dashboard analytics.
  • Anomaly detection: Use get-anomalies to detect unusual patterns by comparing current traffic to the previous period — traffic spikes, geographic shifts, new threat activities, or suspicious IP behavior.
  • IP investigation: When you identify a suspicious IP (from analyze-traffic or list-requests), use investigate-ip to get full context: geo location, threat intelligence, and the IP's complete request activity on your site.
  • Dry-run validation: Before promoting a rule from DRY_RUN to LIVE, use get-dry-run-impact to see exactly how many currently-allowed requests would be blocked, which IPs are most affected, and a false-positive risk estimate.

Usage examples

Investigate and block suspicious traffic

"I'm seeing a spike in denied requests on my site. Can you investigate what's happening and help me block the source?"

The assistant will call analyze-traffic to identify the spike, then list-requests filtered to DENY to surface the top offending IPs. It uses investigate-ip to pull threat intelligence for each IP, then suggests a filter rule. Using create-rule, it creates the rule in DRY_RUN mode so you can verify the match before calling promote-rule to go live.

Get a daily security briefing

"Give me a security briefing for my production site."

The assistant calls list-teams and list-sites to locate your production site, then calls get-security-briefing. It returns a summary covering active rules, traffic trends vs. the previous period, anomaly detection, threat intelligence highlights, dry-run promotion readiness, quota status, and prioritized recommendations you can act on immediately.

Set up bot protection without redeploying

"Add bot protection to my marketing site — start in dry-run mode so I can check it's not blocking real users."

The assistant calls list-teams and list-sites to find the site, then create-rule to add a bot rule with mode: DRY_RUN configured to block automated traffic. After traffic flows through, you can ask the assistant to call get-dry-run-impact to see how many requests would have been blocked and estimate false-positive risk, then promote-rule to switch the rule to LIVE when you're satisfied.

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

  • 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.

Privacy and support

來源:README.md,提交 8aab9d5

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。