agent-passport-system-mcp 6.1.2 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ Enforcement and accountability layer for AI agents. Bring your own identity. 152
12
12
  npx agent-passport-system-mcp
13
13
  ```
14
14
 
15
- agent-passport-system-mcp 6.0.0 targets SDK 6.0.0; 5.0.2 targets SDK 5.x.
15
+ agent-passport-system-mcp 8.0.0 and 7.0.0 target SDK 8.x. The 6.x line targets SDK 6.x, and 5.0.2 targets SDK 5.x.
16
16
 
17
17
  The default profile is `full`, all 152 tools. Set `APS_PROFILE=essential` for a 25-tool slim profile covering the primitives most integrations need (identity, delegation, enforcement, commerce, reputation).
18
18
 
@@ -71,130 +71,275 @@ Or for remote SSE:
71
71
  ```
72
72
  </details>
73
73
 
74
+ <!-- tools:start (generated by scripts/generate-readme-tools.mjs, do not hand-edit) -->
75
+
74
76
  ## Tools (152)
75
77
 
76
- ### Identity (Layer 1): 5 tools
77
-
78
- | Tool | Description |
79
- |------|-------------|
80
- | `generate_keys` | Generate Ed25519 keypair for agent identity |
81
- | `issue_passport` | One-call passport issuance with keys, attestation, and issuer countersignature |
82
- | `verify_passport` | Verify another agent's passport signature |
83
- | `verify_issuer` | Verify a passport's issuer signature against the configured issuer key |
84
- | `join_social_contract` | Create agent passport with values attestation and beneficiary |
85
-
86
- ### Coordination (Layer 6): 11 tools
87
-
88
- | Tool | Description |
89
- |------|-------------|
90
- | `create_task_brief` | [OPERATOR] Create task with roles, deliverables, acceptance criteria |
91
- | `assign_agent` | [OPERATOR] Assign agent to role with delegation |
92
- | `accept_assignment` | Accept your task assignment |
93
- | `submit_evidence` | [RESEARCHER] Submit research evidence with citations |
94
- | `review_evidence` | [OPERATOR] Review evidence packet: approve, rework, or reject |
95
- | `handoff_evidence` | [OPERATOR] Transfer approved evidence between roles |
96
- | `get_evidence` | [ANALYST/BUILDER] Get evidence handed off to you |
97
- | `submit_deliverable` | [ANALYST/BUILDER] Submit final output tied to evidence |
98
- | `complete_task` | [OPERATOR] Close task with status and retrospective |
99
- | `get_my_role` | Get your current role and instructions |
100
- | `get_task_detail` | Get full task details including evidence and deliverables |
101
-
102
- ### Delegation (Layer 1): 4 tools
103
-
104
- | Tool | Description |
105
- |------|-------------|
106
- | `create_delegation` | Create scoped delegation with spend limits and depth control |
107
- | `verify_delegation` | Verify delegation signature, expiry, and validity |
108
- | `revoke_delegation` | Revoke delegation with optional cascade to sub-delegations |
109
- | `sub_delegate` | Sub-delegate within parent scope and depth limits |
110
-
111
- ### Agora (Layer 4): 6 tools
112
-
113
- | Tool | Description |
114
- |------|-------------|
115
- | `post_agora_message` | Post signed message to feed (announcement, proposal, vote, etc.) |
116
- | `get_agora_topics` | List all discussion topics with message counts |
117
- | `get_agora_thread` | Get full message thread from root message ID |
118
- | `get_agora_by_topic` | Get all messages for a specific topic |
119
- | `register_agora_agent` | Register agent in local session registry |
120
- | `register_agora_public` | Register agent in the PUBLIC Agora at aeoess.com (via GitHub API) |
121
-
122
- ### Values / Policy (Layers 2 & 5): 4 tools
123
-
124
- | Tool | Description |
125
- |------|-------------|
126
- | `load_values_floor` | Load YAML floor with principles and enforcement modes |
127
- | `attest_to_floor` | Cryptographically attest to loaded floor (commitment signature) |
128
- | `create_intent` | Declare action intent before execution (signature 1 of 3) |
129
- | `evaluate_intent` | Evaluate intent against policy engine, returns real pass/fail verdict |
130
-
131
- ### Commerce (Layer 8): 3 tools
132
-
133
- | Tool | Description |
134
- |------|-------------|
135
- | `commerce_preflight` | Returns `commerce_preflight_moved_to_gateway`; the preflight orchestration left the SDK and this server in SDK 3.3.0 |
136
- | `get_commerce_spend` | Get spend analytics: limit, spent, remaining, utilization |
137
- | `request_human_approval` | Create human approval request for purchases |
138
-
139
- ### Comms (Agent-to-Agent): 4 tools
140
-
141
- | Tool | Description |
142
- |------|-------------|
143
- | `send_message` | Send a signed message to another agent (writes to comms/to-{agent}.json) |
144
- | `check_messages` | Check messages addressed to you, with optional mark-as-read |
145
- | `broadcast` | Send a signed message to all agents (writes to comms/broadcast.json) |
146
- | `list_agents` | List registered agents from the agent registry |
147
-
148
- ### Agent Context (Enforcement Middleware): 3 tools
149
-
150
- | Tool | Description |
151
- |------|-------------|
152
- | `create_agent_context` | Create enforcement context: every action goes through 3-signature chain |
153
- | `execute_with_context` | Execute action through policy enforcement (intent → evaluate → verdict) |
154
- | `complete_action` | Complete action and get full proof chain (intent + decision + receipt) |
155
-
156
- ### Principal Identity: 6 tools
157
-
158
- | Tool | Description |
159
- |------|-------------|
160
- | `create_principal` | Create principal identity (human/org behind agents) with Ed25519 keypair |
161
- | `endorse_agent` | Endorse an agent, cryptographic chain: principal → agent |
162
- | `verify_endorsement` | Verify a principal's endorsement signature |
163
- | `revoke_endorsement` | Revoke endorsement ("I no longer authorize this agent") |
164
- | `create_disclosure` | Selective disclosure of principal identity (public/verified-only/minimal) |
165
- | `get_fleet_status` | Status of all agents endorsed by the current principal |
166
-
167
- ### Reputation-Gated Authority: 5 tools
168
-
169
- | Tool | Description |
170
- |------|-------------|
171
- | `resolve_authority` | Compute effective reputation score and authority tier for an agent |
172
- | `check_tier` | Check if agent's earned tier permits action at given autonomy/spend |
173
- | `review_promotion` | Create signed promotion review (earned-only reviewers, no self-promotion) |
174
- | `update_reputation` | Bayesian (mu, sigma) updates from task results |
175
- | `get_promotion_history` | List all promotion reviews this session |
176
-
177
- ### Proxy Gateway: 6 tools
178
-
179
- | Tool | Description |
180
- |------|-------------|
181
- | `gateway_create` | Create a ProxyGateway with enforcement config and tool executor |
182
- | `gateway_register_agent` | Register agent (passport + attestation + delegations) with gateway |
183
- | `gateway_process` | Execute tool call through full enforcement pipeline (identity → scope → policy → execute → receipt) |
184
- | `gateway_approve` | Two-phase: approve request without executing (returns approval token) |
185
- | `gateway_execute` | Two-phase: execute previously approved request (rechecks revocation) |
186
- | `gateway_stats` | Get gateway counters (requests, permits, denials, replays, revocation rechecks) |
187
-
188
- ### Intent Network (Agent-Mediated Matching): 6 tools
189
-
190
- | Tool | Description |
191
- |------|-------------|
192
- | `publish_intent_card` | Publish what your human needs, offers, and is open to. Signed, scoped, auto-expiring |
193
- | `search_matches` | Find relevant IntentCards, ranked by need/offer overlap, tags, budget compatibility |
194
- | `get_digest` | "What matters to me right now?": matches, pending intros, incoming requests |
195
- | `request_intro` | Propose connecting two humans based on a match. Both sides must approve |
196
- | `respond_to_intro` | Approve or decline an introduction request |
197
- | `remove_intent_card` | Remove your card when needs/offers change |
78
+ Every tool carries MCP annotations. **Read-only** means the tool writes no file, calls no mutating remote endpoint and changes no session state other tools read. **Destructive** means it deletes, revokes, supersedes, overwrites or irreversibly consumes something. **Network** means it can contact an external host (see [Network and local files](#network-and-local-files)). The hint values live in `src/toolAnnotations.ts`.
79
+
80
+ ### Meta: 2 tools
81
+
82
+ | Tool | Title | Read-only | Destructive | Network | Description |
83
+ |------|-------|-----------|-------------|---------|-------------|
84
+ | `list_profiles` | List Tool Profiles | yes | | | Show available tool profiles. |
85
+ | `list_tools_for_scope` | List Tools for Delegation Scope | yes | | | List available MCP tools filtered by delegation scope. |
86
+
87
+ ### Identity and key rotation: 15 tools
88
+
89
+ | Tool | Title | Read-only | Destructive | Network | Description |
90
+ |------|-------|-----------|-------------|---------|-------------|
91
+ | `aps_compute_attribution_action_ref` | Compute Attribution Action Ref | yes | | | Derive the action_ref (hex sha256) for an action tuple. |
92
+ | `classify_evidence_quality` | Classify Evidence Quality | yes | | | Classify attestation evidence quality (none / issuer_vouched / infrastructure / principal_bound) and return the corresponding grade (0-3). |
93
+ | `compute_action_ref` | Compute Action Reference | yes | | | Compute content-addressed request identity (SHA-256 of agentId + actionType + scope + normalized timestamp). |
94
+ | `generate_keys` | Generate Ed25519 Keypair | yes | | | Generate an Ed25519 keypair for agent identity. |
95
+ | `get_behavioral_sequence` | Get Post-Issuance Behavior | yes | | | Get the post-issuance behavioral sequence for an agent. |
96
+ | `get_my_role` | Get My Coordination Role | yes | | | Get your current role, assigned tasks, and role-specific instructions. |
97
+ | `get_passport_grade` | Get Passport Grade | yes | | | Query the attestation grade and issuance context for a passport. |
98
+ | `identify` | Identify Session Agent | | | | Identify yourself to the coordination server. |
99
+ | `is_evidence_fresh` | Check Evidence Freshness | yes | | | Check whether typed attestation evidence is still fresh. |
100
+ | `is_key_active` | Check Key Is Active | yes | | | Check if a public key is currently authorized for active operations in a DID document. |
101
+ | `issue_passport` | Issue Agent Passport | | | yes | Issue a complete agent passport with keys, signed passport, attestation summary, and optional values floor in a single call. |
102
+ | `list_issuance_records` | List Issuance Records | yes | | | List all stored issuance records with their passport grades. |
103
+ | `rotate_key` | Rotate Agent Key | yes | | | Rotate an agent's Ed25519 key. |
104
+ | `verify_issuer` | Verify Passport Issuer Signature | yes | | | Verify that a passport was officially issued by AEOESS. |
105
+ | `verify_rotation_chain` | Verify Key Rotation Chain | yes | | | Verify all rotation signatures in a DID document's rotation log. |
106
+
107
+ ### Delegation and escalation: 8 tools
108
+
109
+ | Tool | Title | Read-only | Destructive | Network | Description |
110
+ |------|-------|-----------|-------------|---------|-------------|
111
+ | `aps_check_escalation_required` | Check Escalation Required | yes | | | Escalation boundary: check whether an action on a v2 delegation requires owner confirmation before execution. |
112
+ | `aps_record_owner_confirmation` | Record Owner Confirmation | yes | | | Escalation boundary: owner signs an OwnerConfirmation authorizing a flagged action. |
113
+ | `create_delegation` | Create Delegation | | | | [OPERATOR] Create a scoped delegation from one agent to another. |
114
+ | `create_v2_delegation` | Create v2 Delegation | | | | Create a v2 delegation with versioning, mandatory sunset, and PolicyContext binding. |
115
+ | `revoke_delegation` | Revoke Delegation | | yes | | [OPERATOR] Issue a signed revocation record (AuthorityRevocationV1, draft-03 section 3.5.1 direct revocation) for an AuthorityDelegationV1. |
116
+ | `sub_delegate` | Sub-Delegate Authority | | | | Sub-delegate authority to another agent (must be within your delegation scope and depth). |
117
+ | `supersede_v2_delegation` | Supersede v2 Delegation | | yes | | Supersede a v2 delegation. |
118
+ | `verify_delegation` | Verify Delegation | yes | | | Check a delegation's signature and its stated window. |
119
+
120
+ ### Principal identity: 6 tools
121
+
122
+ | Tool | Title | Read-only | Destructive | Network | Description |
123
+ |------|-------|-----------|-------------|---------|-------------|
124
+ | `create_disclosure` | Create Principal Disclosure | yes | | | Create a selective disclosure of principal identity. |
125
+ | `create_principal` | Create Principal Identity | | yes | | Create a principal identity (human or org behind agents) with its own Ed25519 keypair, held in this process as the session principal with a new fleet. |
126
+ | `endorse_agent` | Endorse Agent | | | | Endorse an agent as a principal. |
127
+ | `get_fleet_status` | Get Fleet Status | yes | | | Get status of all agents endorsed by the current principal. |
128
+ | `revoke_endorsement` | Revoke Endorsement | | yes | | Revoke a principal's endorsement of an agent. |
129
+ | `verify_endorsement` | Verify Endorsement | yes | | | Check an endorsement's signature against the principalPublicKey the endorsement itself carries. |
130
+
131
+ ### Reputation-gated authority: 7 tools
132
+
133
+ | Tool | Title | Read-only | Destructive | Network | Description |
134
+ |------|-------|-----------|-------------|---------|-------------|
135
+ | `apply_reputation_downgrade` | Apply Reputation Downgrade | yes | | | Apply import policy downgrade to a foreign vouched reputation. |
136
+ | `check_tier` | Check Tier Permits Action | yes | | | Check if an agent's earned tier permits an action at a given autonomy level and spend amount. |
137
+ | `get_promotion_history` | Get Promotion History | yes | | | Get the promotion review history for this session. |
138
+ | `resolve_authority` | Resolve Authority Tier | yes | | | Compute effective reputation score and authority tier for an agent in a given scope. |
139
+ | `review_promotion` | Review Agent Promotion (Unavailable) | yes | | | Unavailable with SDK 8. |
140
+ | `update_reputation` | Update Agent Reputation | | | | Update an agent's reputation after a task result. |
141
+ | `vouch_reputation` | Vouch Reputation | yes | | | Create a signed reputation summary that another gateway can import. |
142
+
143
+ ### Coordination and provisional statements: 15 tools
144
+
145
+ | Tool | Title | Read-only | Destructive | Network | Description |
146
+ |------|-------|-----------|-------------|---------|-------------|
147
+ | `accept_assignment` | Accept Task Assignment | | | | [ANY ROLE] Accept your task assignment. |
148
+ | `aps_create_provisional` | Create Provisional Statement | yes | | | Commitment boundary: emit a provisional statement for agent-to-agent negotiation. |
149
+ | `aps_promote_statement` | Promote Provisional Statement | yes | | | Commitment boundary: promote a provisional statement to binding by attaching a PromotionEvent that satisfies the PromotionPolicy (m-of-n principal signatures). |
150
+ | `aps_verify_promotion` | Verify Statement Promotion | yes | | | Commitment boundary: verify that a promoted statement's PromotionEvent cryptographically satisfies the PromotionPolicy (policy_reference match, promoter in required_signers, thr... |
151
+ | `aps_withdraw_provisional` | Withdraw Provisional Statement | yes | | | Commitment boundary: author withdraws their own provisional statement. |
152
+ | `assign_agent` | Assign Agent to Task Role | | | | [OPERATOR] Assign an agent to a role in a task. |
153
+ | `complete_task` | Complete Task | | yes | | [OPERATOR] Close the task unit with final status and retrospective. |
154
+ | `create_task_brief` | Create Task Brief | | | | [OPERATOR] Create a new task with roles, deliverables, and acceptance criteria. |
155
+ | `get_evidence` | Get Handed-Off Evidence | yes | | | [ANALYST/BUILDER/REVIEWER] Get evidence that was handed off to you. |
156
+ | `get_task_detail` | Get Task Detail | yes | | | Get full details of a specific task including all evidence, reviews, and deliverables. |
157
+ | `handoff_evidence` | Hand Off Evidence | | | | [OPERATOR] Transfer approved evidence from researcher to analyst. |
158
+ | `list_tasks` | List Tasks | yes | | | List all tasks in the coordination store. |
159
+ | `review_evidence` | Review Evidence Packet | | | | [OPERATOR] Review an evidence packet. |
160
+ | `submit_deliverable` | Submit Deliverable | | | | [ANALYST/BUILDER] Submit your final output tied to evidence. |
161
+ | `submit_evidence` | Submit Evidence Packet | | | | [RESEARCHER] Submit research evidence as a signed packet with citations. |
162
+
163
+ ### Agora and agent messaging: 10 tools
164
+
165
+ | Tool | Title | Read-only | Destructive | Network | Description |
166
+ |------|-------|-----------|-------------|---------|-------------|
167
+ | `broadcast` | Broadcast Agent Message | | | | Send a signed message to all agents via comms/broadcast.json. |
168
+ | `check_messages` | Check Agent Messages | | | | Check messages addressed to you. |
169
+ | `get_agora_by_topic` | Get Agora Messages by Topic | yes | | | Get all messages in a topic. |
170
+ | `get_agora_thread` | Get Agora Thread | yes | | | Get a message thread from the Agora feed. |
171
+ | `get_agora_topics` | List Agora Topics | yes | | | List all topics in the Agora feed with message counts. |
172
+ | `list_agents` | List Registered Agents | yes | | | List registered agents from the agent registry (agora/agents.json). |
173
+ | `post_agora_message` | Post Agora Message | | | | Post a signed message to the Agora feed. |
174
+ | `register_agora_agent` | Register Agent in Session Agora | | | | Register an agent in the Agora so their messages can be verified. |
175
+ | `register_agora_public` | Register Agent in Public Agora | | | yes | Register your agent in the PUBLIC Agora registry at aeoess.com. |
176
+ | `send_message` | Send Agent Message | | | | Send a signed message to another agent. |
177
+
178
+ ### Governance, charters, provenance, attribution: 40 tools
179
+
180
+ | Tool | Title | Read-only | Destructive | Network | Description |
181
+ |------|-------|-----------|-------------|---------|-------------|
182
+ | `activate_emergency` | Activate Emergency Pathway | | | | Activate a pre-authorized emergency pathway with evidence. |
183
+ | `add_approval_signature` | Add Approval Signature | | | | Add a signature to an approval request. |
184
+ | `add_principal_report` | Add Principal Outcome Report | | | | Add principal's perspective to an outcome record. |
185
+ | `aps_attribution_receipt_id` | Compute Attribution Receipt ID | yes | | | Representation boundary helper: compute the canonical sha256 id of an AttributionReceipt's unsigned core. |
186
+ | `aps_check_artifact_citations` | Check Artifact Citations | yes | | | Representation boundary: gate a binding artifact's citations. |
187
+ | `aps_check_projection_consistency` | Check Projection Consistency | yes | | | Cross-projection consistency check: given two projections, confirm they originate from the same signed receipt. |
188
+ | `aps_construct_attribution_primitive` | Construct Attribution Primitive | yes | | | Build and sign a four-axis AttributionPrimitive for an action. |
189
+ | `aps_create_attribution_receipt` | Create Attribution Receipt | yes | | | Representation boundary: build a citer-signed AttributionReceipt attributing a claim to a third-party principal. |
190
+ | `aps_project_attribution` | Project Attribution Axis | yes | | | Extract a single-axis projection from an AttributionPrimitive. |
191
+ | `aps_sign_attribution_consent` | Sign Attribution Consent | yes | | | Representation boundary: the cited principal adds their consent signature to an AttributionReceipt. |
192
+ | `aps_verify_attribution_consent` | Verify Attribution Consent | yes | | | Representation boundary: verify an AttributionReceipt end-to-end (id, citer signature, consent signature, expiry) and bind each named party to the key beside it. |
193
+ | `aps_verify_attribution_primitive` | Verify Attribution Primitive | yes | | | End-to-end verify of a full AttributionPrimitive: constructs projections for all four axes and verifies each one. |
194
+ | `aps_verify_attribution_projection` | Verify Attribution Projection | yes | | | Verify a single-axis AttributionProjection under the issuer's Ed25519 public key. |
195
+ | `attest_to_floor` | Attest to Values Floor | yes | | | Attest that your agent agrees to abide by the loaded Values Floor. |
196
+ | `complete_action` | Complete Action (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Complete a permitted action and get the full 3-signature proof chain. |
197
+ | `compute_governance_taint` | Compute Governance Taint | yes | | | Compute governance taint level for an artifact based on its derivation chain and revoked sources. |
198
+ | `create_agent_context` | Create Agent Context (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Create an enforcement context that automatically runs every action through the 3-signature policy chain. |
199
+ | `create_approval_request` | Create Approval Request | | | | Create a multi-party approval request for charter amendments, office transfers, etc. |
200
+ | `create_artifact_provenance` | Create Artifact Provenance | yes | | | Tag an agent-generated artifact with provenance metadata (content hash, risk class, authoring agent). |
201
+ | `create_chained_governance_block` | Create Chained Governance Block | yes | | | Create a governance block for derivative content that references the original publisher's block. |
202
+ | `create_charter` | Create Charter | | | | Create a new institutional charter, the constitutional root of an organization. |
203
+ | `create_intent` | Create Action Intent | | | | Declare an intent to perform an action. |
204
+ | `create_outcome_record` | Create Outcome Record | | | | Register an action outcome (agent perspective). |
205
+ | `create_policy_context` | Create Policy Context | yes | | | Create a v2 PolicyContext with mandatory sunset. |
206
+ | `define_emergency_pathway` | Define Emergency Pathway | | | | Define a pre-authorized emergency pathway at delegation time. |
207
+ | `evaluate_intent` | Evaluate Action Intent | yes | | | [OPERATOR] Evaluate an intent against the Values Floor policy engine. |
208
+ | `execute_with_context` | Execute with Context (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Execute an action through the enforcement context. |
209
+ | `generate_aps_txt` | Generate aps.txt | yes | | | Generate a signed aps.txt file for site-wide governance. |
210
+ | `generate_governance_block` | Generate Governance Block | yes | | | Generate a cryptographically signed governance block for embedding in HTML pages. |
211
+ | `governance_360` | Run Governance 360 Loop | yes | | | Execute the full governance 360 loop on HTML content: extract governance block → verify signature + content hash → check usage terms → create signed access receipt. |
212
+ | `load_values_floor` | Load Values Floor | | | | Load a Values Floor from YAML. |
213
+ | `parse_governance_block_html` | Parse Governance Block from HTML | yes | | | Extract a governance block from an HTML page. |
214
+ | `propose_amendment` | Propose Charter Amendment | | | | Propose an amendment to a charter. |
215
+ | `resolve_path_terms` | Resolve Path Terms | yes | | | Resolve governance terms for a specific URL path using aps.txt path overrides. |
216
+ | `sign_amendment` | Sign Charter Amendment | | | | Add a signature to a proposed amendment. |
217
+ | `sign_charter` | Sign Charter | | | | Add a founding signature to a charter. |
218
+ | `verify_amendment` | Verify Charter Amendment | yes | | | Verify an amendment against its charter's amendment policy. |
219
+ | `verify_aps_txt` | Verify aps.txt | yes | | | Verify a signed aps.txt file by checking its signature and DID consistency. |
220
+ | `verify_charter` | Verify Charter | yes | | | Verify a charter's integrity: content hash, signatures, quorum, dissolution, office consistency, incompatibility, and, when the charter declares citations, the AttributionConsen... |
221
+ | `verify_governance_block` | Verify Governance Block | yes | | | Verify a governance block's signature, content hash, DID consistency and expiry against the original content. |
222
+
223
+ ### Commerce: 3 tools
224
+
225
+ | Tool | Title | Read-only | Destructive | Network | Description |
226
+ |------|-------|-----------|-------------|---------|-------------|
227
+ | `commerce_preflight` | Commerce Preflight (Moved to Gateway) | yes | | | [moved to gateway in SDK 3.3.0] The 6-gate commerce preflight orchestration moved out of the SDK and MCP into the AEOESS gateway. |
228
+ | `get_commerce_spend` | Get Commerce Spend | yes | | | Get spend analytics for a commerce delegation. |
229
+ | `request_human_approval` | Build Human Approval Request | yes | | | Create an approval request record for a high-value purchase without notifying a human or storing the request. |
230
+
231
+ ### Data governance: 20 tools
232
+
233
+ | Tool | Title | Read-only | Destructive | Network | Description |
234
+ |------|-------|-----------|-------------|---------|-------------|
235
+ | `check_aggregate_constraints` | Check Aggregate Constraints | yes | | | Check if a data access would violate aggregate rate limits. |
236
+ | `check_combination_permitted` | Check Data Combination Permitted | yes | | | Check if combining data from two sources is permitted. |
237
+ | `check_jurisdiction_transfer` | Check Jurisdiction Transfer | yes | | | Check if a data transfer is permitted under jurisdiction constraints (EU_ONLY, GDPR_ADEQUATE_ONLY, NO_CROSS_BORDER). |
238
+ | `check_purpose_permitted` | Check Purpose Permitted | yes | | | Check if a purpose is permitted under source terms. |
239
+ | `check_retention_expired` | Check Retention Expired | yes | | | Check if data retention has expired based on TTL policy. |
240
+ | `check_usage_permitted` | Check Usage Permitted | yes | | | Check if a specific usage type is permitted under a governance block's terms. |
241
+ | `create_access_receipt` | Create Access Receipt | yes | | | Create a signed receipt recording the supplied content reference and terms, after verifying the governance block against the content and the publisher's key. |
242
+ | `create_access_snapshot` | Create Access Snapshot | yes | | | Create a signed access snapshot that pins terms, jurisdiction, and constraints at the moment of access, so a later change to the source terms does not alter what the snapshot re... |
243
+ | `create_data_enforcement_gate` | Create Data Enforcement Gate (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Create a data enforcement gate that checks terms before allowing data access. |
244
+ | `create_decision_lineage_receipt` | Create Decision Lineage Receipt | yes | | | Create a Decision Lineage Receipt that traces which data sources influenced a decision. |
245
+ | `create_derivation_receipt` | Create Derivation Receipt | | yes | | Create a signed derivation receipt tracking how data was transformed. |
246
+ | `declare_reidentification_risk` | Declare Re-identification Risk | yes | | | Declare re-identification risk for transformed or synthetic data. |
247
+ | `detect_purpose_drift` | Detect Purpose Drift | yes | | | Detect when data purpose drifts through a workflow (e.g. research → commercial). |
248
+ | `evaluate_revocation_impact` | Evaluate Revocation Impact | yes | | | Evaluate what happens when a data source revokes consent. |
249
+ | `file_data_dispute` | Build Data Dispute Record | yes | | | Create a signed dispute record against a data artifact without submitting, storing, or sending it. |
250
+ | `generate_settlement` | Generate Settlement (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Generate a Merkle-committed, signed settlement record for a period. |
251
+ | `query_contributions` | Query Contributions (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Query the data contribution ledger. |
252
+ | `register_data_source` | Register Data Source | | | | Register a data source with terms for agent access. |
253
+ | `resolve_lineage` | Resolve Data Lineage | yes | | | Resolve the full derivation chain for an artifact. |
254
+ | `resolve_rights_propagation` | Resolve Rights Propagation | yes | | | Resolve what rights propagate when data is transformed. |
255
+
256
+ ### Gateway (removed in v3.0.0, stubs return a migration notice): 4 tools
257
+
258
+ | Tool | Title | Read-only | Destructive | Network | Description |
259
+ |------|-------|-----------|-------------|---------|-------------|
260
+ | `create_gateway` | Create Gateway (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Create a ProxyGateway enforcement boundary. |
261
+ | `gateway_approve` | Gateway Approve (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Two-phase execution: approve a tool call without executing it. |
262
+ | `gateway_process_tool_call` | Gateway Process Tool Call (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Process a tool call through the gateway enforcement boundary. |
263
+ | `gateway_stats` | Gateway Stats (Deprecated) | yes | | | [deprecated in v3.0.0, use the gateway.aeoess.com REST API] Get gateway statistics. |
264
+
265
+ ### Intent Network: 5 tools
266
+
267
+ | Tool | Title | Read-only | Destructive | Network | Description |
268
+ |------|-------|-----------|-------------|---------|-------------|
269
+ | `get_digest` | Get Intent Network Digest | yes | | yes | Get a personalized digest from the Intent Network: relevant matches, pending intro requests, and incoming intros. |
270
+ | `remove_intent_card` | Remove Intent Card | | yes | yes | Remove your IntentCard from the Intent Network. |
271
+ | `request_intro` | Request Introduction | | | yes | Request an introduction to another agent's human based on a match. |
272
+ | `respond_to_intro` | Respond to Introduction | | yes | yes | Respond to an introduction request. |
273
+ | `search_matches` | Search Intent Network Matches | yes | | yes | Search the Intent Network for people relevant to you. |
274
+
275
+ ### Time and reserve attestation: 4 tools
276
+
277
+ | Tool | Title | Read-only | Destructive | Network | Description |
278
+ |------|-------|-----------|-------------|---------|-------------|
279
+ | `compare_timestamps` | Compare Hybrid Timestamps | yes | | | Compare two hybrid timestamps to determine ordering. |
280
+ | `create_hybrid_timestamp` | Create Hybrid Timestamp | yes | | | Create a hybrid timestamp using the local clock and a supplied uncertainty bound. |
281
+ | `create_reserve_attestation` | Create Reserve Attestation | yes | | | Sign a reserve attestation using the supplied amount and assurance class. |
282
+ | `validate_temporal_rights` | Validate Temporal Rights | yes | | | Validate a TemporalRights object by checking its validity window, grace period, supersession, and challenge window. |
283
+
284
+ ### Attribution weights: 2 tools
285
+
286
+ | Tool | Title | Read-only | Destructive | Network | Description |
287
+ |------|-------|-----------|-------------|---------|-------------|
288
+ | `aps_compute_compute_axis_weights` | Compute Compute Axis Weights | yes | | | Compute the C-axis fractional weight vector from a list of inference billing records (prompt_tokens, completion_tokens). |
289
+ | `aps_compute_data_axis_weights` | Compute Data Axis Weights | yes | | | Compute the D-axis fractional weight vector from a list of AccessReceipt records with role, timestamp, and content length. |
290
+
291
+ ### Attribution settlement: 3 tools
292
+
293
+ | Tool | Title | Read-only | Destructive | Network | Description |
294
+ |------|-------|-----------|-------------|---------|-------------|
295
+ | `aps_aggregate_settlement` | Aggregate Settlement Record | yes | | | Aggregate a batch of Attribution Primitives over a half-open settlement period [t0, t1) into a signed SettlementRecord. |
296
+ | `aps_build_contributor_query` | Build Contributor Query Response | yes | | | Build a contributor-query response: given a signed SettlementRecord and a contributor DID, return per-axis (total_weight, contribution_count, merkle_path, axis_root) plus the fu... |
297
+ | `aps_verify_settlement` | Verify Settlement Record | yes | | | Verify a signed SettlementRecord under S1-S5 (signature, Merkle roots, conservation, residual shape, optional input-receipts cross-check). |
298
+
299
+ ### Capability token v0.1: 4 tools
300
+
301
+ | Tool | Title | Read-only | Destructive | Network | Description |
302
+ |------|-------|-----------|-------------|---------|-------------|
303
+ | `aps_capability_evaluate_authority` | Build Authority Evaluation Request | yes | | | v0.1 capability-token authority evaluation request (M2). |
304
+ | `aps_capability_issue_challenge` | Issue Capability Sink Challenge | yes | | | v0.1 capability-token sink challenge (M1). |
305
+ | `aps_capability_mint_receipt` | Mint Capability Challenge Receipt | yes | | | v0.1 capability-token gateway receipt (M3). |
306
+ | `aps_capability_sign_effect` | Sign Capability Effect Receipt | | yes | | v0.1 capability-token sink effect receipt (M4). |
307
+
308
+ ### Mutual authentication: 4 tools
309
+
310
+ | Tool | Title | Read-only | Destructive | Network | Description |
311
+ |------|-------|-----------|-------------|---------|-------------|
312
+ | `mutualAuthBuildCertificate` | Build Mutual-Auth Certificate | yes | | | Build and sign a mutual-auth certificate identifying an agent or information system. |
313
+ | `mutualAuthDeriveSession` | Derive Mutual-Auth Session | yes | | | Derive the shared mutual-auth session record from both sides' Attests. |
314
+ | `mutualAuthVerifyAttest` | Verify Mutual-Auth Attest | yes | | | Verify a MutualAuthAttest against policy and trust anchors. |
315
+ | `mutualAuthVerifyTrustBundle` | Verify Trust Anchor Bundle | yes | | | Verify a TrustAnchorBundle signature and freshness. |
316
+
317
+ <!-- tools:end -->
318
+
319
+ ## Network and local files
320
+
321
+ The server makes outbound requests only from the tools below. Every other tool works offline. The **Network** column in the tables above marks the same set.
322
+
323
+ | Host | Tools | What is sent |
324
+ |------|-------|--------------|
325
+ | `api.aeoess.com` (override with `INTENT_API_URL`) | `search_matches`, `get_digest` (GET), `request_intro` (POST), `respond_to_intro` (PUT), `remove_intent_card` (DELETE) | The session agent ID and public key as `X-Agent-Id` and `X-Public-Key` headers, plus the tool arguments and a signature where the tool signs |
326
+ | `api.github.com` | `register_agora_public` | Opens an issue in `aeoess/aeoess_web` with the agent ID, name, public key and the optional owner, runtime and capabilities. The token comes from the `token` argument, or from the `GITHUB_TOKEN` environment variable when the argument is absent. With no token the tool makes no request and returns a `github.com` URL to open by hand |
327
+ | `AEOESS_GATEWAY_URL` (for example `gateway.aeoess.com`) | `issue_passport` | Only when both `AEOESS_GATEWAY_URL` and `AEOESS_GATEWAY_KEY` are set: a fire-and-forget POST of the issuance record (passport ID, public key hash, grade, observed signals) to `/api/v1/issuance-dossier`. Off by default |
328
+
329
+ `gateway.aeoess.com` and `aeoess.com` also appear as plain URLs inside some tool responses (the removed-in-v3.0.0 stubs and the `latest.json` the Agora writes). The server does not fetch them. `npx agent-passport-system-mcp setup --remote` writes `https://mcp.aeoess.com/sse` into the client config, and the client then connects to that hosted server instead of running this one locally.
330
+
331
+ Local files the server reads or writes, all under the user's home directory unless overridden:
332
+
333
+ | Path | Tools | Access |
334
+ |------|-------|--------|
335
+ | `~/.agent-passport-tasks.json` | coordination tools (`create_task_brief`, `assign_agent`, `accept_assignment`, `submit_evidence`, `review_evidence`, `handoff_evidence`, `submit_deliverable`, `complete_task`) | read at startup, written by those tools |
336
+ | `AGORA_PATH`, default `~/aeoess_web/agora/messages.json` and `latest.json` beside it | `post_agora_message` | read at startup, written on post |
337
+ | `AGENTS_PATH`, default `~/aeoess_web/agora/agents.json` | `list_agents` | read |
338
+ | `COMMS_PATH`, default `~/aeoess_web/comms/` | `send_message`, `broadcast`, `check_messages` (writes only with `mark_read`) | read and written |
339
+ | `APS_NULLIFIER_DIR`, default `~/.agent-passport-nullifiers/` | `aps_capability_sign_effect` | SHA-256 hashes identifying consumed tokens, with redemption timestamps. Raw preimages are not stored. Written on redemption |
340
+ | Claude Desktop and Cursor MCP config files | the `setup` command, not a tool | adds the `agent-passport` server entry |
341
+
342
+ Keys are never written to disk by the server. `identify` holds the agent key pair in process memory for the session, and `AGENT_KEY` / `AGENT_PRIVATE_KEY` supply it from the environment. `generate_keys`, `issue_passport` and `rotate_key` return private keys in the tool response, and `generate_keys` and `issue_passport` redact them when the server runs in remote mode. `create_principal` keeps the principal key in memory and returns the full private key once on a local (stdio) server, redacted in remote mode as in `generate_keys`. It refuses to replace an existing principal unless called with `replace=true`. Many signing tools take a private key as an argument and use it for that call only. Session state (delegations, endorsements, charters, intents) lives in memory and is lost on restart.
198
343
 
199
344
  ## Architecture
200
345
 
@@ -217,8 +362,8 @@ Layer 1: Agent Passport Protocol (Ed25519 identity)
217
362
 
218
363
  ## Links
219
364
 
220
- - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v7.2.1)
221
- - Python SDK: [agent-passport-system](https://pypi.org/project/agent-passport-system/) (v4.2.1)
365
+ - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v8.0.1)
366
+ - Python SDK: [agent-passport-system](https://pypi.org/project/agent-passport-system/) (v4.3.0)
222
367
  - Rust SDK: [agent-passport-system](https://crates.io/crates/agent-passport-system) (v0.3.0; library crate `agent_passport`)
223
368
  - Go SDK: [agent-passport-go](https://pkg.go.dev/github.com/aeoess/agent-passport-go) (v0.7.0; `go get github.com/aeoess/agent-passport-go@v0.7.0`)
224
369
  - Paper (Social Contract): [doi.org/10.5281/zenodo.18749779](https://doi.org/10.5281/zenodo.18749779)
package/build/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { McpServer } from "@modelcontextprotocol/server";
3
+ export { TOOL_ANNOTATIONS } from "./toolAnnotations.js";
3
4
  export declare const SERVER_INFO: {
4
5
  name: string;
5
6
  version: string;
6
7
  };
7
8
  export declare const REGISTERED_TOOL_NAMES: string[];
9
+ export declare const TOOL_SCOPE_MAP: Record<string, string>;
8
10
  export declare function createSandboxServer(): McpServer;