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#"
}社区
证据