agent-passport-system-mcp 5.0.0 → 5.0.1
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 +2 -1
- package/build/index.d.ts +4 -0
- package/build/index.js +17 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -226,7 +226,8 @@ Layer 1 — Agent Passport Protocol (Ed25519 identity)
|
|
|
226
226
|
- Paper (Governance in the Medium): [doi.org/10.5281/zenodo.19582550](https://doi.org/10.5281/zenodo.19582550)
|
|
227
227
|
- Paper (Cognitive Attestation): [doi.org/10.5281/zenodo.19646276](https://doi.org/10.5281/zenodo.19646276)
|
|
228
228
|
- Paper (The Evidence-Safety Gap): [doi.org/10.5281/zenodo.19914628](https://doi.org/10.5281/zenodo.19914628)
|
|
229
|
-
-
|
|
229
|
+
- Paper (Plausibly Wrong): [doi.org/10.5281/zenodo.21208555](https://doi.org/10.5281/zenodo.21208555)
|
|
230
|
+
- IETF Internet-Draft: [`draft-pidlisnyi-aps`](https://datatracker.ietf.org/doc/draft-pidlisnyi-aps/)
|
|
230
231
|
- Docs: [aeoess.com/llms-full.txt](https://agent-passport.org/llms-full.txt)
|
|
231
232
|
- Agora: [aeoess.com/agora.html](https://aeoess.com/agora.html)
|
|
232
233
|
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
3
|
+
export declare const SERVER_INFO: {
|
|
4
|
+
name: string;
|
|
5
|
+
version: string;
|
|
6
|
+
};
|
|
3
7
|
export declare const REGISTERED_TOOL_NAMES: string[];
|
|
4
8
|
export declare function createSandboxServer(): McpServer;
|
package/build/index.js
CHANGED
|
@@ -370,10 +370,23 @@ function movedToGateway(toolName) {
|
|
|
370
370
|
// ═══════════════════════════════════════
|
|
371
371
|
// Server Setup
|
|
372
372
|
// ═══════════════════════════════════════
|
|
373
|
-
|
|
373
|
+
// The advertised version is read from the package's own manifest rather than
|
|
374
|
+
// typed here. The literal had drifted: serverInfo said 3.3.0 while the package
|
|
375
|
+
// was already at 5.0.0, and nothing in the build could notice.
|
|
376
|
+
//
|
|
377
|
+
// Resolved from this module's own URL, so it works the same from build/ in an
|
|
378
|
+
// installed package as it does from src/ under tsx. npm always ships
|
|
379
|
+
// package.json, so the file is present in the published tarball.
|
|
380
|
+
const PACKAGE_MANIFEST = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
381
|
+
// The implementation name is the MCP server identity and stays stable on the
|
|
382
|
+
// wire ("agent-passport-mcp" since 3.3.0). It is deliberately NOT the npm
|
|
383
|
+
// package name; renaming the implementation is a compatibility-visible change
|
|
384
|
+
// and would ship as one. Only the version is derived from the manifest.
|
|
385
|
+
export const SERVER_INFO = {
|
|
374
386
|
name: "agent-passport-mcp",
|
|
375
|
-
version:
|
|
376
|
-
}
|
|
387
|
+
version: PACKAGE_MANIFEST.version,
|
|
388
|
+
};
|
|
389
|
+
const server = new McpServer(SERVER_INFO);
|
|
377
390
|
// Track server start time for Tier 0 connection timing
|
|
378
391
|
globalThis.__mcpStartTime = Date.now();
|
|
379
392
|
// (try/catch wrapper merged into profile filter below)
|
|
@@ -1942,7 +1955,7 @@ server.registerTool("register_agora_agent", { description: "Register an agent in
|
|
|
1942
1955
|
agent_name: z.string().describe("Display name"),
|
|
1943
1956
|
public_key: z.string().describe("Ed25519 public key"),
|
|
1944
1957
|
}) }, async (args) => {
|
|
1945
|
-
registerAgent(state.agoraRegistry, {
|
|
1958
|
+
state.agoraRegistry = registerAgent(state.agoraRegistry, {
|
|
1946
1959
|
agentId: args.agent_id,
|
|
1947
1960
|
agentName: args.agent_name,
|
|
1948
1961
|
publicKey: args.public_key,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-passport-system-mcp",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"mcpName": "io.github.aeoess/agent-passport-mcp",
|
|
5
|
-
"description": "MCP server for the Agent Passport System
|
|
5
|
+
"description": "MCP server for the Agent Passport System, protocol-layer tools only. Identity, delegation, reputation, attestation, coordination, commerce, charter amendment lifecycle, attribution. Counts and the SDK version it tracks live in the README.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"agent-passport-system-mcp": "./build/bin.js",
|