agent-covenant
Deny-by-default authority leases for agents wielding real power.
我该使用它吗
质量与安全性
发现(1)
- LOW在 describe_agent 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-covenant": {
"url": "https://viridis-agent-stable.fly.dev/covenant/mcp"
}
}
}远程端点
https://viridis-agent-stable.fly.dev/covenant/mcpstreamable-httphttps://mcp.viridisconservation.com/covenant/mcpstreamable-http它能做什么
工具清单
工具(7)
⚪grant_covenant(principal, agent_id, scopes, budget_minor, expires_at)
Grant an agent a covenant: an explicit lease of authority. scopes support wildcards ('payments.*', '*'); budget_minor is the total spend ceiling in minor units; expires_at is ISO-8601. Returns the covenant_id.
输入模式
{
"type": "object",
"properties": {
"principal": {
"title": "Principal",
"type": "string"
},
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array"
},
"budget_minor": {
"title": "Budget Minor",
"type": "integer"
},
"expires_at": {
"title": "Expires At",
"type": "string"
}
},
"required": [
"principal",
"agent_id",
"scopes",
"budget_minor",
"expires_at"
],
"title": "grant_covenantArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "grant_covenantOutput"
}🟢check_act(covenant_id, act_id, scope, amount_minor)
Check (and if allowed, record) a proposed act against a covenant. Deny-by-default. Idempotent on act_id — retries never double-consume budget. Every check lands on the audit chain.
输入模式
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string"
},
"act_id": {
"title": "Act Id",
"type": "string"
},
"scope": {
"title": "Scope",
"type": "string"
},
"amount_minor": {
"default": 0,
"title": "Amount Minor",
"type": "integer"
}
},
"required": [
"covenant_id",
"act_id",
"scope"
],
"title": "check_actArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "check_actOutput"
}⚪revoke_covenant(covenant_id, reason)
Revoke a covenant immediately and terminally. All subsequent checks deny.
输入模式
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string"
},
"reason": {
"default": "",
"title": "Reason",
"type": "string"
}
},
"required": [
"covenant_id"
],
"title": "revoke_covenantArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "revoke_covenantOutput"
}🟢covenant_status(covenant_id)
Current state, consumed/remaining budget, and check count.
输入模式
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string"
}
},
"required": [
"covenant_id"
],
"title": "covenant_statusArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "covenant_statusOutput"
}⚪verify_audit(covenant_id)
Verify the tamper-evident audit chain of allowed/denied acts.
输入模式
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string"
}
},
"required": [
"covenant_id"
],
"title": "verify_auditArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "verify_auditOutput"
}🟢list_covenants(state, agent_id)
List covenants, optionally filtered by state (ACTIVE|REVOKED|EXPIRED) and/or the bound agent.
输入模式
{
"type": "object",
"properties": {
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Id"
}
},
"title": "list_covenantsArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_covenantsOutput"
}🟢describe_agent
Fleet-standard self-description.
输入模式
{
"type": "object",
"properties": {},
"title": "describe_agentArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "describe_agentOutput"
}社区
证据