Vizier
Deterministic authorization for one proposed AI agent action, returned with a signed receipt.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~1,813token 数(工具定义)
~18.4 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.42%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"vizier": {
"url": "https://vizier.vassiliy-lakhonin.workers.dev/mcp"
}
}
}远程端点
https://vizier.vassiliy-lakhonin.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢vizier_verify_action(agent, principal, action, authority, context, ...)
Evaluate whether an AI agent should be allowed to perform a proposed action.
输入模式
{
"type": "object",
"properties": {
"agent": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"owner": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 256
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"owner"
],
"additionalProperties": false
},
"principal": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256
}
},
"required": [
"id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"action": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"target": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"parameters": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
},
"is_reversible": {
"type": "boolean"
}
},
"required": [
"type",
"target",
"parameters"
],
"additionalProperties": false
},
"authority": {
"type": "object",
"properties": {
"allowed_actions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"constraints": {
"type": "object",
"properties": {
"max_amount": {
"type": "number",
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"allowed_targets": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"blocked_targets": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"allowed_sensitive_actions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"require_review_for_irreversible": {
"type": "boolean"
},
"max_repeated_calls": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"time_window_seconds": {
"type": "number",
"minimum": 1,
"maximum": 3600
},
"max_session_actions": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"cool_off_seconds": {
"type": "number",
"minimum": 1,
"maximum": 86400
},
"sanctions_screening": {
"type": "boolean"
},
"blocked_entities": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"dlp_screening": {
"type": "boolean"
},
"allowed_dlp_categories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"quorum": {
"type": "object",
"properties": {
"min_approvals": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"allowed_approvers": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"require_distinct_owners": {
"type": "boolean"
},
"max_age_seconds": {
"type": "integer",
"minimum": 1,
"maximum": 86400
}
},
"required": [
"min_approvals"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"allowed_actions",
"constraints"
],
"additionalProperties": false
},
"context": {
"type": "object",
"properties": {
"request_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 256
},
{
"type": "null"
}
]
},
"session_id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"timestamp": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"a2a",
"mcp",
"rest",
"internal",
"unknown"
]
},
"proposal_id": {
"type": "string",
"pattern": "^prp_[0-9a-zA-Z_-]+$"
},
"approvals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"approver_id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"approver_owner": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"action_hash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"timestamp": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"decision": {
"default": "APPROVE",
"type": "string",
"enum": [
"APPROVE",
"REJECT"
]
},
"grant_token": {
"type": "string"
},
"signature": {
"type": "string"
},
"notes": {
"type": "string",
"maxLength": 1024
}
},
"required": [
"approver_id",
"action_hash",
"timestamp",
"decision"
],
"additionalProperties": false
}
}
},
"required": [
"request_id",
"timestamp",
"source"
],
"additionalProperties": false
},
"grant": {
"type": "string",
"minLength": 1,
"maxLength": 8192
}
},
"required": [
"agent",
"principal",
"action",
"authority",
"context"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}输出模式
{
"type": "object",
"properties": {
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK"
]
},
"risk_score": {
"type": "number"
},
"reason_codes": {
"type": "array",
"items": {
"type": "string"
}
},
"explanation": {
"type": "string"
},
"policy_results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule_id": {
"type": "string"
},
"result": {
"type": "string",
"enum": [
"PASS",
"REVIEW",
"FAIL"
]
},
"reason_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"rule_id",
"result",
"reason_code",
"details"
],
"additionalProperties": false
}
},
"receipt": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"request_hash": {
"type": "string"
},
"decision": {
"type": "string",
"enum": [
"ALLOW",
"REVIEW",
"BLOCK"
]
},
"risk_score": {
"type": "number"
},
"policy_rule_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"reason_codes": {
"type": "array",
"items": {
"type": "string"
}
},
"authority_provenance": {
"type": "string",
"enum": [
"principal_signed",
"trusted_integration",
"unverified"
]
},
"grant": {
"type": "object",
"properties": {
"jti": {
"type": "string"
},
"issuer": {
"type": "string"
},
"subject": {
"type": "string"
},
"key_id": {
"type": "string"
},
"expires_at": {
"type": "string"
}
},
"required": [
"jti",
"issuer",
"subject",
"key_id",
"expires_at"
],
"additionalProperties": false
}
},
"required": [
"id",
"created_at",
"request_hash",
"decision",
"risk_score",
"policy_rule_ids",
"reason_codes",
"authority_provenance"
],
"additionalProperties": false
}
},
"required": [
"decision",
"risk_score",
"reason_codes",
"explanation",
"policy_results",
"receipt"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据
最近观测
已验证未记录版本1 个工具
已验证未记录版本1 个工具
已验证未记录版本1 个工具