agentscore-mcp 1.0.3 → 1.0.4

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
@@ -36,6 +36,22 @@ Built in public from recurring conversations with AI governance teams asking one
36
36
 
37
37
  ---
38
38
 
39
+ ## Goal, Audience, and Limits
40
+
41
+ **Goal:** help teams make safer go/no-go trust decisions before giving agents meaningful access.
42
+
43
+ **Designed for:**
44
+ - Security and AI governance teams reviewing internal or vendor agents
45
+ - Platform/infra teams deciding agent rollout gates
46
+ - Product and procurement teams comparing candidates with the same rubric
47
+
48
+ **Important limits (disclaimer):**
49
+ - AgentScore is a decision-support signal, not a compliance certification or legal determination.
50
+ - Scores depend on available data quality; sparse data lowers certainty even if a score is produced.
51
+ - Use it with human review, policy controls, and least-privilege access.
52
+
53
+ ---
54
+
39
55
  ## Install in 10 Seconds
40
56
 
41
57
  ```bash
@@ -50,6 +66,41 @@ No API keys. No config files. No databases. **Ships with 10 built-in demo agents
50
66
 
51
67
  ---
52
68
 
69
+ ## Production Proof (2-Minute Sanity Check)
70
+
71
+ ### 1) Live public profile check (GitHub)
72
+
73
+ ```bash
74
+ export AGENTSCORE_ADAPTER=github
75
+ # optional: export GITHUB_TOKEN=ghp_... # higher rate limit
76
+ ```
77
+
78
+ Then ask:
79
+
80
+ `"Score @torvalds on GitHub — can we trust this account?"`
81
+
82
+ You should get a live investigation generated from public GitHub metadata/content. Exact numbers will vary over time.
83
+
84
+ ### 2) Deterministic local dataset check (JSON)
85
+
86
+ ```bash
87
+ export AGENTSCORE_ADAPTER=json
88
+ export AGENTSCORE_DATA_PATH=./examples/agents.sample.json
89
+ ```
90
+
91
+ Then ask:
92
+
93
+ `"Investigate @my-bot"`
94
+
95
+ Expected sample output includes:
96
+ - score around `516/850`
97
+ - tier `Poor`
98
+ - recommendation `CAUTION`
99
+
100
+ This proves the pipeline works in both live and controlled-data modes.
101
+
102
+ ---
103
+
53
104
  ## What Makes AgentScore Different
54
105
 
55
106
  `mcp-scan`-style tools answer: **"Is this MCP server vulnerable?"**
@@ -92,7 +143,8 @@ Claude pulls the agent's profile, analyzes posting patterns, checks for spam and
92
143
  └─────────────────────────────────────────────────────────────┘
93
144
  ```
94
145
 
95
- That's not canned text. Every briefing is generated from real behavioral data. Every score is earned.
146
+ That output is generated per request from adapter data, not pre-written copy.
147
+ In `demo` mode, data is curated for reproducible evaluation; in `github` / `json` / `moltbook`, scores are computed from live or user-provided data.
96
148
 
97
149
  ---
98
150
 
@@ -124,6 +176,20 @@ AgentScore is a standard MCP server over `stdio`. Any MCP client that can launch
124
176
 
125
177
  Public site note: [`ai-agent-score.vercel.app`](https://ai-agent-score.vercel.app) is currently a public trust index/leaderboard experience. MCP `reportUrl` links are handle-based and resolve when that handle exists in the site index.
126
178
 
179
+ ### Clean Onboarding (Recommended)
180
+
181
+ Use a single setup command and verify once:
182
+
183
+ ```bash
184
+ claude mcp add agentscore -- npx -y agentscore-mcp
185
+ ```
186
+
187
+ Then confirm the server is registered in your MCP client and run a single prompt:
188
+
189
+ `"Investigate @NovaMind — can I trust this agent?"`
190
+
191
+ Avoid committing generated MCP config files unless you intentionally want team-shared, project-scoped config.
192
+
127
193
  <details>
128
194
  <summary><strong>Claude Code</strong> (recommended)</summary>
129
195
 
@@ -164,6 +230,31 @@ Settings → MCP → Add Server:
164
230
  ```
165
231
  </details>
166
232
 
233
+ <details>
234
+ <summary><strong>Codex / Generic MCP Clients</strong></summary>
235
+
236
+ Any client that supports local `stdio` MCP servers can run AgentScore with:
237
+
238
+ ```json
239
+ {
240
+ "mcpServers": {
241
+ "agentscore": {
242
+ "command": "npx",
243
+ "args": ["-y", "agentscore-mcp"]
244
+ }
245
+ }
246
+ }
247
+ ```
248
+
249
+ Team/project-scoped example: [`examples/mcp.project.json`](examples/mcp.project.json)
250
+ </details>
251
+
252
+ ### Troubleshooting Setup Noise
253
+
254
+ - If `mcp add` appears silent, check the client's MCP server list before retrying.
255
+ - If project scope is required, create/update one config file deliberately (do not auto-generate multiple variants).
256
+ - Do not commit `.mcp.json` unless your team explicitly wants repo-scoped MCP defaults.
257
+
167
258
  ---
168
259
 
169
260
  ## Scoring System
@@ -322,11 +413,33 @@ Full example: [`examples/custom-adapter.ts`](examples/custom-adapter.ts) · Guid
322
413
  ## Architecture
323
414
 
324
415
  ```mermaid
325
- flowchart TD
326
- A["AI Assistant (Claude, Cursor, etc.)"] -->|"MCP (stdio)"| B["AgentScore MCP Server<br/>tools: agentscore + sweep"]
327
- B --> C["Adapter Layer<br/>Demo | GitHub | JSON | Moltbook | custom"]
328
- C --> D["Scoring Engine<br/>6 weighted dimensions -> 300-850"]
329
- D --> E["Outputs<br/>Narrative briefing + structured JSON + badge URL"]
416
+ flowchart LR
417
+ subgraph CLIENT["Client Layer"]
418
+ A["MCP Client (Claude, Cursor, Codex, others)"]
419
+ end
420
+
421
+ subgraph SERVER["AgentScore MCP Server"]
422
+ B["Tool Router<br/>agentscore + sweep"]
423
+ C["Adapter Router<br/>demo | github | json | moltbook"]
424
+ D["Trust Scoring Engine<br/>6 weighted dimensions"]
425
+ E["Response Builder<br/>briefing + JSON + badge + report URL"]
426
+ end
427
+
428
+ subgraph DATA["Data Sources"]
429
+ F["Built-in Demo Dataset"]
430
+ G["GitHub Public API"]
431
+ H["Local JSON Dataset"]
432
+ I["Moltbook API"]
433
+ end
434
+
435
+ A -->|"MCP stdio"| B
436
+ B --> C
437
+ C --> D
438
+ D --> E
439
+ C --> F
440
+ C --> G
441
+ C --> H
442
+ C --> I
330
443
  ```
331
444
 
332
445
  **2 runtime dependencies:** `@modelcontextprotocol/sdk` + `zod`. That's it.
@@ -369,6 +482,7 @@ npm run inspect # Interactive testing with MCP Inspector
369
482
 
370
483
  See [`CONTRIBUTING.md`](CONTRIBUTING.md) for PR guidelines and adapter development.
371
484
  Release process: [`RELEASING.md`](RELEASING.md)
485
+ Releases are provenance-enabled and support npm trusted publishing via GitHub Actions.
372
486
 
373
487
  Benchmark details and dataset format: [`benchmarks/README.md`](benchmarks/README.md)
374
488
  Launch distribution assets: [`marketing/launch-kit.md`](marketing/launch-kit.md)
@@ -9,7 +9,7 @@
9
9
  import type { AgentPlatformAdapter, AgentProfile, AgentContent } from "../types.js";
10
10
  export declare class DemoAdapter implements AgentPlatformAdapter {
11
11
  readonly name = "demo";
12
- readonly version = "1.0.3";
12
+ readonly version = "1.0.4";
13
13
  fetchProfile(handle: string): Promise<AgentProfile | null>;
14
14
  fetchContent(handle: string, limit?: number): Promise<AgentContent[]>;
15
15
  fetchInteractions(handle: string, limit?: number): Promise<AgentContent[]>;
@@ -2,7 +2,7 @@ import type { AgentPlatformAdapter, AgentProfile, AgentContent } from "../types.
2
2
  /** GitHub platform adapter — scores any public GitHub account. */
3
3
  export declare class GitHubAdapter implements AgentPlatformAdapter {
4
4
  readonly name = "github";
5
- readonly version = "1.0.3";
5
+ readonly version = "1.0.4";
6
6
  private client;
7
7
  constructor();
8
8
  fetchProfile(handle: string): Promise<AgentProfile | null>;
@@ -23,7 +23,7 @@ import type { AgentPlatformAdapter, AgentProfile, AgentContent } from "../types.
23
23
  */
24
24
  export declare class JSONAdapter implements AgentPlatformAdapter {
25
25
  readonly name = "json";
26
- readonly version = "1.0.3";
26
+ readonly version = "1.0.4";
27
27
  private data;
28
28
  private loadData;
29
29
  fetchProfile(handle: string): Promise<AgentProfile | null>;
@@ -2,7 +2,7 @@ import type { AgentPlatformAdapter, AgentProfile, AgentContent } from "../types.
2
2
  /** Moltbook platform adapter — the default adapter. */
3
3
  export declare class MoltbookAdapter implements AgentPlatformAdapter {
4
4
  readonly name = "moltbook";
5
- readonly version = "1.0.3";
5
+ readonly version = "1.0.4";
6
6
  private client;
7
7
  constructor();
8
8
  fetchProfile(handle: string): Promise<AgentProfile | null>;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const AGENTSCORE_VERSION = "1.0.3";
1
+ export declare const AGENTSCORE_VERSION = "1.0.4";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const AGENTSCORE_VERSION = "1.0.3";
1
+ export const AGENTSCORE_VERSION = "1.0.4";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentscore-mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Trust scoring for AI agents. Investigate, verify, and compare agent trustworthiness through MCP.",
5
5
  "author": "Tripti Mishra",
6
6
  "license": "MIT",
@@ -16,9 +16,13 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/tmishra-sp/agentscore-mcp"
19
+ "url": "git+https://github.com/tmishra-sp/agentscore-mcp.git"
20
20
  },
21
21
  "homepage": "https://ai-agent-score.vercel.app",
22
+ "publishConfig": {
23
+ "access": "public",
24
+ "provenance": true
25
+ },
22
26
  "type": "module",
23
27
  "main": "dist/server.js",
24
28
  "bin": {