Vantagate Mcp Server

io.github.Aderix由 GitHub 帳號 Aderix 發布v1.0.2更新於 Oct 24, 2026

VantaGate MCP Server & OpenAPI integration - Human-in-the-Loop for AI Agents

已驗證STDIO僅桌面效率與工作流安全與監控

概覽

AI 產生的概覽

VantaGate MCP 伺服器讓 AI 助理在高風險動作前暫停,並透過 Slack 或電子郵件等待人工核准決定。

可以做什麼
建立核准檢查點:提交標題、JSON 內容、選填說明、決策選項、逾時時間、電子郵件或 Slack 通知目標以及回呼網址,並取得檢查點 ID 與給助理的操作說明。查詢檢查點狀態:依 ID 取得 PENDING、APPROVED、REJECTED、RESOLVED 或 EXPIRED 狀態、所選選項、拒絕原因和完整稽核紀錄。此套件另附 OpenAPI 3.0 規格供無程式碼與低程式碼工具使用;簽章 webhook 回呼會把決定送到 HTTPS 端點。
適用情境
當助理可能執行刪除資料、轉移資金、大量發送訊息或正式環境部署等有後果的動作,而你希望每次動作前由人工核准或拒絕並留下簽章稽核紀錄時使用。
執行需求
透過 npx 從 npm 套件 @vantagate/mcp-server 以 stdio 在本機執行,需要 Node.js 20 或更新版本。需要 VantaGate 帳號,並透過 VANTA_API_KEY 環境變數提供 API 金鑰。需要連線至 VantaGate API 的網路;Slack 通知需要 Pro 或 Scale 方案。
安裝前請注意
VANTA_API_KEY 密鑰會寫入用戶端設定檔。檢查點內容會傳送到 VantaGate 服務,在服務端加密儲存並於決定後清除。Slack webhook 網址會隨每次請求傳送。Slack 通知與較長逾時需付費方案,逾時值會被默默限制為方案上限。應驗證 webhook 回呼的簽章。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Vantagate Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

VantaGate MCP Server & OpenAPI Integration

[npm version] [License: MIT] [Node.js >= 20]

Human-in-the-Loop authorization for AI Agents. VantaGate intercepts high-risk actions, routes them to a human approver via Slack or Email, and returns a cryptographically-signed decision - so your agent resumes or halts with a full audit trail.


What is VantaGate?

AI agents are increasingly capable of executing consequential real-world actions: sending emails to thousands of users, deleting database records, moving money, deploying to production. VantaGate is the trust layer that ensures humans remain in control.

Agent hits risky action        ↓POST /v1/checkpoint  ──→  Human receives Slack/Email notification        ↓                          ↓   id and status              Human reviews payload & decides        ↓                          ↓Poll GET /v1/checkpoint/{id}  ←──  Decision recorded + payload purged        ↓   APPROVED → Resume workflow   REJECTED → Halt + report reason

Key Guarantees

  • < 100ms API response - your agent is never blocked waiting for I/O
  • AES-256 payload encryption at rest - payload is permanently destroyed after the decision
  • Zero-Retention polling - GET /checkpoint/{id} never returns the original payload
  • Cryptographic audit trail - every decision is HMAC-SHA256 signed
  • Stateless protocol - no SDK required; plain HTTP from any language

This Package

This package ships two integration artifacts for connecting any AI agent to VantaGate:

ArtifactFileBest for
OpenAPI 3.0 Specvanta-gate-openapi.jsonNo-code tools, OpenAI GPTs, Alice, n8n, Zapier
MCP Serversrc/index.ts / dist/index.jsClaude Desktop, Cursor, Cline, any MCP-compatible agent

Prerequisites

  • Node.js >= 20
  • A VantaGate account: https://vanta-gate.com
  • A VantaGate API key (Dashboard → Projects → New Project)

Quick Start

Option A: Use the MCP Server with Claude Desktop

The fastest path. No manual setup required.

Step 1: Get your API key from https://vanta-gate.com/dashboard/projects

Step 2: Add VantaGate to your Claude Desktop config.

Open your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{  "mcpServers": {    "vantagate": {      "command": "npx",      "args": ["-y", "@vantagate/mcp-server"],      "env": {        "VANTA_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}

Step 3: Restart Claude Desktop. The tools create_vantagate_checkpoint and check_vantagate_status will appear in Claude's tool list.

Step 4: Ask Claude to do something that requires approval:

"Delete all records from the staging database where created_at < 2024-01-01"

Claude will automatically pause, create a checkpoint, and tell you to check your email or Slack for the approval notification.


Option B: Use the OpenAPI Spec (No-Code / Low-Code)

Import vanta-gate-openapi.json directly into your tool of choice.

OpenAI GPTs / Custom Actions
  1. Open your GPT editor at https://platform.openai.com/gpts
  2. Click "Add actions" → "Import from URL" or paste the JSON
  3. Set Authentication → API Key → Header: X-API-KEY
  4. Enter your VantaGate API key

The GPT will now pause before high-risk tool calls and ask for human approval.

Alice (AI Agent Platform)
  1. Go to Integrations → Import OpenAPI
  2. Upload or paste vanta-gate-openapi.json
  3. Set header X-API-KEY to your VantaGate API key in the credential store
  4. Map create_vantagate_checkpoint to your agent's "before high-risk action" trigger
n8n / Zapier
  1. Add an HTTP Request node
  2. Import the OpenAPI spec to auto-populate endpoints
  3. Set X-API-KEY header in the credential configuration
LangChain / LlamaIndex
python
from langchain.tools import OpenAPITool
vanta_tool = OpenAPITool.from_openapi_spec(    spec_path="./vanta-gate-openapi.json",    headers={"X-API-KEY": os.environ["VANTA_API_KEY"]})agent = initialize_agent([vanta_tool], llm, agent=AgentType.OPENAI_FUNCTIONS)

Available MCP Tools

create_vantagate_checkpoint

Pauses the agent workflow and routes a human approval request.

When Claude uses it: Before any high-risk action - financial operations, data deletion, production deployments, bulk communications.

ParameterTypeRequiredDescription
titlestring✅Short title shown to approver. Max 200 chars.
payloadobject✅Full JSON context for the decision. Encrypted + purged after decision.
descriptionstring❌Additional context below the title. Max 1000 chars.
optionsstring[]❌Decision options. First = approve action. Default: ["Approve", "Reject"]. Min 2, max 5.
timeoutstring❌Auto-expire duration: 30m, 4h, 2d. Default: 24h.
notify_emailstring❌Email address for magic-link notification.
slack_webhook_urlstring❌Slack webhook URL (Pro/Scale plans). From Dashboard → Add to Slack.
callback_urlstring❌Your HTTPS endpoint for signed decision webhook.

Returns: checkpoint_id and step-by-step instructions for the agent.

check_vantagate_status

Polls the decision status of a pending checkpoint.

ParameterTypeRequiredDescription
checkpoint_idstring✅The ID from create_vantagate_checkpoint.

Returns: status (PENDING / APPROVED / REJECTED / RESOLVED / EXPIRED), selected_option, reject_reason, and the full audit trail.


API Reference Summary

Base URL: https://api.vanta-gate.com/v1
Authentication: X-API-KEY header

MethodEndpointDescription
POST/checkpointCreate a checkpoint - pauses agent
GET/checkpoint/{id}Poll for human decision
GET/checkpoint/secure/{token}Decision UI (internal - magic link)
POST/checkpoint/secure/{token}/decideSubmit decision (internal - decision UI)

Checkpoint Status Lifecycle

PENDING → APPROVED   (human chose first/positive option)        → REJECTED   (human rejected with optional reason)        → RESOLVED   (human chose non-primary option)        → EXPIRED    (timeout elapsed, no decision)

Error Codes

HTTPCodeDescription
400Invalid_Webhook_URLslack_webhook_url must start with https://hooks.slack.com/
400Invalid_Callback_URLcallback_url is malformed or points to private IP
400Invalid_DecisionDecision value not in checkpoint's options array
400Validation_ErrorRequest body field validation failure
401UnauthorizedMissing, invalid, or rotated API key
402Upgrade_RequiredFeature requires Pro or Scale plan
403ForbiddenAPI key doesn't match the checkpoint's project
404Not_FoundCheckpoint ID or token does not exist
409Already_DecidedDecision already recorded for this checkpoint
410Checkpoint_ExpiredTimeout window has passed
429Rate_LimitedToo many requests - back off and retry

All errors follow the envelope:

json
{  "statusCode": 400,  "error": "Machine_Readable_Code",  "message": "Human-readable description."}

Subscription Tiers

FeatureFreePro ($49/mo)Scale ($199/mo)
Checkpoints/month502,50025,000
Email notifications✅✅✅
Slack notifications❌✅✅
Webhook callbacks✅✅✅
Max timeout24h7 days30 days
Log retention7 days90 days365 days

Timeout values are silently clamped to your plan's maximum. A Free plan request with timeout: "7d" will be capped to 24h.


Webhooks

When a human decides, VantaGate sends a signed HTTPS POST to your callback_url (up to 5 retry attempts with exponential back-off).

Request headers:

Content-Type: application/jsonX-Vanta-Signature: sha256=<HMAC-SHA256 of body>User-Agent: VantaGate-Webhook/1.0

Signature verification (Node.js):

javascript
const crypto = require('crypto')
function verifyVantaSignature(rawBody, signature, projectSecret) {  const expected = 'sha256=' + crypto    .createHmac('sha256', projectSecret)    .update(rawBody)    .digest('hex')  return crypto.timingSafeEqual(    Buffer.from(expected),    Buffer.from(signature)  )}
app.post('/webhook/vanta', express.raw({ type: 'application/json' }), (req, res) => {  const sig = req.headers['x-vanta-signature']  if (!verifyVantaSignature(req.body, sig, process.env.VANTA_PROJECT_SECRET)) {    return res.status(401).json({ error: 'Invalid signature' })  }  const event = JSON.parse(req.body)  if (event.status === 'APPROVED') {    // ✅ Resume agent workflow  } else if (event.status === 'REJECTED') {    // ❌ Halt - check event.reject_reason  }  res.json({ received: true })})

Your Webhook Signing Secret (VANTA_PROJECT_SECRET) is distinct from your API key. Find it in Dashboard → Project Settings.


Building from Source

bash
# Install dependenciesnpm install
# Build TypeScriptnpm run build
# Run the server directlyVANTA_API_KEY=YOUR_API_KEY_HERE npm start

Advanced: MCP Config for Other Clients

Cursor / Cline / Windsurf

json
{  "mcpServers": {    "vantagate": {      "command": "npx",      "args": ["-y", "@vantagate/mcp-server"],      "env": {        "VANTA_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}

With local build (development)

json
{  "mcpServers": {    "vantagate": {      "command": "node",      "args": ["/absolute/path/to/dist/index.js"],      "env": {        "VANTA_API_KEY": "YOUR_API_KEY_HERE"      }    }  }}

Security

  • Your X-API-KEY is hashed server-side - VantaGate never stores plaintext keys.
  • Your slack_webhook_url is sent per-request and purged atomically after the decision. Zero retention.
  • All payload data is encrypted at rest with AES-256 and destroyed after the human decision. It cannot be reconstructed.
  • callback_url is validated against private IP ranges (SSRF prevention).
  • All webhook deliveries are signed with HMAC-SHA256. Always verify signatures.

License

MIT - see LICENSE


Links

來源:README.md,提交 99fcd69

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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