agent-covenant
Deny-by-default authority leases for agents wielding real power.
使うべきか
品質と安全性
検出事項(1)
- LOWdescribe_agent 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `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"
}コミュニティ
エビデンス