agent-passport-system-mcp 2.22.1 → 2.23.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
@@ -1,4 +1,4 @@
1
- # Agent Passport System MCP Server
1
+ # Agent Passport System -- MCP Server
2
2
 
3
3
  <!-- mcp-name: io.github.aeoess/agent-passport-mcp -->
4
4
 
@@ -6,11 +6,19 @@
6
6
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@aeoess/agent-passport-system-mcp/badge" />
7
7
  </a>
8
8
 
9
- MCP server for the [Agent Passport System](https://github.com/aeoess/agent-passport-system) — enforcement infrastructure for the agent economy. Policy evaluation in under 2ms. 15 constraint dimensions. Feeless Nano payments. Identity, delegation, reputation, enforcement, commerce, institutional governance.
9
+ Enforcement and accountability layer for AI agents. Bring your own identity. 20 essential tools by default: identity, delegation, enforcement, commerce, reputation.
10
10
 
11
- > **šŸ¤– For AI agents:** If you are an agent reading this, visit [aeoess.com/llms.txt](https://aeoess.com/llms.txt) for machine-readable documentation or [llms-full.txt](https://aeoess.com/llms-full.txt) for the complete technical reference. MCP discovery: [.well-known/mcp.json](https://aeoess.com/.well-known/mcp.json). This README is designed for humans.
11
+ ```bash
12
+ APS_PROFILE=essential npx agent-passport-system-mcp
13
+ ```
14
+
15
+ `essential` is the default profile — the 20 tools 90% of integrations need. Set `APS_PROFILE=full` for all 132 tools.
16
+
17
+ Available profiles: essential (default), identity, governance, coordination, commerce, data, gateway, comms, minimal, full.
18
+
19
+ > **For AI agents:** visit [aeoess.com/llms.txt](https://aeoess.com/llms.txt) for machine-readable documentation or [llms-full.txt](https://aeoess.com/llms-full.txt) for the complete technical reference. MCP discovery: [.well-known/mcp.json](https://aeoess.com/.well-known/mcp.json).
12
20
 
13
- **132 tools** across 96 modules (64 core + 32 v2 constitutional governance). Separation of powers, circuit breakers, approval fatigue detection, and more. Independently cited by [PDR in Production (Nanook & Gerundium, UBC)](https://doi.org/10.5281/zenodo.19323172). Works with any MCP client: Claude Desktop, Cursor, Windsurf, and more.
21
+ Works with any MCP client: Claude Desktop, Claude Code, Cursor, Windsurf, and more. Full surface area under `APS_PROFILE=full`: 132 tools across 103 modules (71 core + 32 v2 constitutional governance). Independently cited by [PDR in Production (Nanook & Gerundium, UBC)](https://doi.org/10.5281/zenodo.19323172).
14
22
 
15
23
  ## Quick Start
16
24
 
@@ -29,7 +37,7 @@ npm install -g agent-passport-system-mcp
29
37
  npx agent-passport-system-mcp setup
30
38
  ```
31
39
 
32
- Auto-configures Claude Desktop and Cursor. Restart your AI client. 132 tools ready.
40
+ Auto-configures Claude Desktop and Cursor. Restart your AI client.
33
41
 
34
42
  <details>
35
43
  <summary>Manual config (if setup doesn't detect your client)</summary>
@@ -208,7 +216,7 @@ Layer 1 — Agent Passport Protocol (Ed25519 identity)
208
216
 
209
217
  ## Links
210
218
 
211
- - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v1.38.0, 2468 tests)
219
+ - npm SDK: [agent-passport-system](https://www.npmjs.com/package/agent-passport-system) (v1.41.0, 2764 tests)
212
220
  - Python SDK: [agent-passport-system](https://pypi.org/project/agent-passport-system/) (v0.8.0)
213
221
  - Paper (Protocol): [doi.org/10.5281/zenodo.18749779](https://doi.org/10.5281/zenodo.18749779)
214
222
  - Paper (Faceted Narrowing): [doi.org/10.5281/zenodo.19260073](https://doi.org/10.5281/zenodo.19260073)
package/build/index.js CHANGED
@@ -446,6 +446,15 @@ const TOOL_PROFILES = {
446
446
  'create_delegation', 'verify_delegation',
447
447
  'create_intent', 'evaluate_intent', 'list_profiles',
448
448
  ]),
449
+ essential: new Set([
450
+ 'generate_keys', 'issue_passport', 'get_passport_grade',
451
+ 'create_delegation', 'verify_delegation', 'revoke_delegation', 'sub_delegate',
452
+ 'load_values_floor', 'attest_to_floor',
453
+ 'create_intent', 'evaluate_intent', 'complete_action',
454
+ 'create_agent_context', 'execute_with_context',
455
+ 'commerce_preflight', 'get_commerce_spend', 'request_human_approval',
456
+ 'resolve_authority', 'check_tier', 'rotate_key',
457
+ ]),
449
458
  };
450
459
  const activeProfile = (process.env.APS_PROFILE || 'full').toLowerCase();
451
460
  const profileFilter = TOOL_PROFILES[activeProfile];
@@ -628,7 +637,7 @@ const TOOL_SCOPE_MAP = {
628
637
  // ═══════════════════════════════════════
629
638
  server.tool("list_profiles", "Show available tool profiles. Set APS_PROFILE env var to limit exposed tools (e.g. APS_PROFILE=data).", {}, async () => {
630
639
  const lines = Object.entries(TOOL_PROFILES).map(([name, tools]) => `• ${name} (${tools.size} tools): ${Array.from(tools).slice(0, 6).join(', ')}${tools.size > 6 ? '...' : ''}`);
631
- return { content: [{ type: "text", text: `šŸ“‹ Tool Profiles (set APS_PROFILE env var):\n\nActive: ${activeProfile} (${activeProfile === 'full' ? '122' : profileFilter?.size || '122'} tools)\n\n${lines.join('\n')}\n\n• full (122 tools): All tools exposed (default)` }] };
640
+ return { content: [{ type: "text", text: `šŸ“‹ Tool Profiles (set APS_PROFILE env var):\n\nActive: ${activeProfile} (${activeProfile === 'full' ? '132' : profileFilter?.size || '132'} tools)\n\nRecommended: essential (20 tools) — identity, delegation, enforcement, commerce, reputation.\n\n${lines.join('\n')}\n\n• full (132 tools): All tools exposed (default)` }] };
632
641
  });
633
642
  // ═══════════════════════════════════════
634
643
  // TOOL: list_tools_for_scope (Primitive #9: Tool Pool Assembly)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "agent-passport-system-mcp",
3
- "version": "2.22.1",
3
+ "version": "2.23.0",
4
4
  "mcpName": "io.github.aeoess/agent-passport-mcp",
5
- "description": "MCP server for the Agent Passport System — enforcement infrastructure for the agent economy. 132 tools across 103 modules. Policy eval <2ms. Identity, delegation, reputation, enforcement, attestation, feeless Nano wallet, commerce.",
5
+ "description": "MCP server for the Agent Passport System — enforcement infrastructure for the agent economy. 132 tools across 103 modules. Policy eval <2ms. Identity, delegation, reputation, enforcement, attestation, feeless Nano wallet, commerce. Tracks SDK v1.41.0 (2,764 tests).",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "agent-passport-system-mcp": "./build/bin.js",
@@ -49,7 +49,7 @@
49
49
  "homepage": "https://github.com/aeoess/agent-passport-mcp",
50
50
  "dependencies": {
51
51
  "@modelcontextprotocol/sdk": "^1.27.1",
52
- "agent-passport-system": "^1.38.0",
52
+ "agent-passport-system": "^1.41.0",
53
53
  "zod": "^3.25.76"
54
54
  },
55
55
  "devDependencies": {