Agent Covenant
Machine-checkable authority leases for agents: scoped, budgeted, expiring, revocable and audited.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"agent-covenant": {
"url": "https://viridis-agent-stable.fly.dev/covenant/mcp"
}
}
}Remote-Endpunkte
https://viridis-agent-stable.fly.dev/covenant/mcpstreamable-httphttps://mcp.viridisconservation.com/covenant/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"type": "object",
"properties": {
"principal": {
"title": "Principal",
"type": "string",
"description": "Id of the party granting authority."
},
"agent_id": {
"title": "Agent Id",
"type": "string",
"description": "Id of the agent receiving (or, when listing, bound by) the covenant."
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array",
"description": "Allowed actions, wildcards supported, for example [\"payments.*\"]."
},
"budget_minor": {
"title": "Budget Minor",
"type": "integer",
"description": "Total spend ceiling in minor units (cents)."
},
"expires_at": {
"title": "Expires At",
"type": "string",
"description": "When the covenant ends, ISO-8601."
}
},
"required": [
"principal",
"agent_id",
"scopes",
"budget_minor",
"expires_at"
],
"title": "grant_covenantArguments"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string",
"description": "The covenant id returned by grant_covenant."
},
"act_id": {
"title": "Act Id",
"type": "string",
"description": "Your id for this act; a retry with the same act_id never double-spends."
},
"scope": {
"title": "Scope",
"type": "string",
"description": "The action being attempted, for example payments.send."
},
"amount_minor": {
"default": 0,
"title": "Amount Minor",
"type": "integer",
"description": "Spend for this act in minor units. Default 0."
}
},
"required": [
"covenant_id",
"act_id",
"scope"
],
"title": "check_actArguments"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string",
"description": "The covenant id returned by grant_covenant."
},
"reason": {
"default": "",
"title": "Reason",
"type": "string",
"description": "Optional. A short note of why, kept on the record."
}
},
"required": [
"covenant_id"
],
"title": "revoke_covenantArguments"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string",
"description": "The covenant id returned by grant_covenant."
}
},
"required": [
"covenant_id"
],
"title": "covenant_statusArguments"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"covenant_id": {
"title": "Covenant Id",
"type": "string",
"description": "The covenant id returned by grant_covenant."
}
},
"required": [
"covenant_id"
],
"title": "verify_auditArguments"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State",
"description": "Optional filter: ACTIVE, REVOKED or EXPIRED."
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Agent Id",
"description": "Id of the agent receiving (or, when listing, bound by) the covenant."
}
},
"title": "list_covenantsArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_covenantsOutput"
}🟢describe_agent
Describe this agent: name, version, purpose, every action it supports and the inputs each one takes. Read-only and free; call it first to learn how to use this server.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "describe_agentArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "describe_agentOutput"
}Community
Nachweis