ActionGate
Pre-execution safety layer for autonomous agent wallets via MCP and x402.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"actiongate": {
"url": "https://api.actiongate.xyz/mcp"
}
}
}遠端端點
https://api.actiongate.xyz/mcpstreamable-http它能做什麼
工具清單
工具(6)
⚪request_api_key(email)
Provision a prepaid ActionGate API key with $1.00 of starter credits for this operator email.
輸入結構描述
{
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Operator email address that should own the API key."
}
},
"required": [
"email"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢balance(api_key)
Return the current prepaid credit balance and usage count for an ActionGate API key.
輸入結構描述
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"pattern": "^ag_live_[a-f0-9]{32,36}$",
"description": "ActionGate API key."
}
},
"required": [
"api_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡top_up(api_key, tier)
Generate a Stripe Checkout link so the human operator can add prepaid credits to an existing ActionGate API key.
輸入結構描述
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"pattern": "^ag_live_[a-f0-9]{32,36}$",
"description": "Existing ActionGate API key to top up."
},
"tier": {
"type": "string",
"enum": [
"starter",
"pro",
"unlimited"
],
"description": "Credit pack tier. Defaults to starter."
}
},
"required": [
"api_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢risk_score(request_id, actor, action, context)
Score the risk of a proposed agent action before execution. Paid via x402 or API key credits. Free tier: 20 risk score calls/day per client.
輸入結構描述
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "Optional caller-supplied request identifier for tracing and receipts."
},
"actor": {
"type": "object",
"properties": {
"actor_id": {
"type": "string",
"description": "Stable actor identifier for the agent or wallet operator."
},
"wallet_address": {
"type": "string",
"description": "Optional onchain wallet address associated with the acting agent."
}
},
"required": [
"actor_id"
],
"additionalProperties": false,
"description": "Actor metadata for the agent proposing the action."
},
"action": {
"type": "object",
"properties": {
"action_type": {
"type": "string",
"description": "The proposed action category, such as transfer, swap, or approve."
}
},
"required": [
"action_type"
],
"additionalProperties": true,
"description": "Action payload to evaluate. Additional action-specific fields are accepted as passthrough."
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Optional execution context such as chain state, balances, or treasury metadata."
}
},
"required": [
"actor",
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢simulate(request_id, actor, action, context)
Estimate cost, failure risk, and notable side effects for a proposed action. Paid via x402 or API key credits. Free tier: 20 simulate calls/day per client.
輸入結構描述
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "Optional caller-supplied request identifier for tracing and receipts."
},
"actor": {
"type": "object",
"properties": {
"actor_id": {
"type": "string",
"description": "Stable actor identifier for the agent or wallet operator."
},
"wallet_address": {
"type": "string",
"description": "Optional onchain wallet address associated with the acting agent."
}
},
"required": [
"actor_id"
],
"additionalProperties": false,
"description": "Actor metadata for the agent proposing the action."
},
"action": {
"type": "object",
"properties": {
"action_type": {
"type": "string",
"description": "The proposed action category, such as transfer, swap, or approve."
}
},
"required": [
"action_type"
],
"additionalProperties": true,
"description": "Action payload to evaluate. Additional action-specific fields are accepted as passthrough."
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Optional execution context such as chain state, balances, or treasury metadata."
}
},
"required": [
"actor",
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢policy_gate(request_id, actor, action, policy, context)
Apply treasury policy to a proposed action and return allow, deny, or allow-with-limits. Paid via x402 or API key credits. Free tier: 10 policy gate calls/day per client.
輸入結構描述
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "Optional caller-supplied request identifier for tracing and receipts."
},
"actor": {
"type": "object",
"properties": {
"actor_id": {
"type": "string",
"description": "Stable actor identifier for the agent or wallet operator."
},
"wallet_address": {
"type": "string",
"description": "Optional onchain wallet address associated with the acting agent."
}
},
"required": [
"actor_id"
],
"additionalProperties": false,
"description": "Actor metadata for the agent proposing the action."
},
"action": {
"type": "object",
"properties": {
"action_type": {
"type": "string",
"description": "The proposed action category, such as transfer, swap, or approve."
}
},
"required": [
"action_type"
],
"additionalProperties": true,
"description": "Action payload to evaluate. Additional action-specific fields are accepted as passthrough."
},
"policy": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Policy pack input, including policy_id and any policy-specific override values."
},
"context": {
"type": "object",
"properties": {},
"additionalProperties": true,
"description": "Optional execution context such as chain state, balances, or treasury metadata."
}
},
"required": [
"actor",
"action",
"policy"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據