@agentscore-xyz/mcp-server 1.0.0 → 1.1.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/dist/format.js +7 -6
- package/dist/resources.js +2 -2
- package/package.json +1 -1
package/dist/format.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const AGENT_URL = "https://agentscores.xyz/agent";
|
|
2
|
+
const UTM = "?utm_source=mcp&utm_medium=tool&utm_campaign=npm";
|
|
2
3
|
export function formatTrustCheck(data) {
|
|
3
4
|
const name = data.name || "Unknown";
|
|
4
5
|
const trusted = data.trusted;
|
|
@@ -25,7 +26,7 @@ export function formatTrustCheck(data) {
|
|
|
25
26
|
`Platforms verified: ${platforms}/4`,
|
|
26
27
|
`Last scored: ${scoredAt}`,
|
|
27
28
|
"",
|
|
28
|
-
`Details: ${AGENT_URL}/${encodeURIComponent(name)}`,
|
|
29
|
+
`Details: ${AGENT_URL}/${encodeURIComponent(name)}${UTM}`,
|
|
29
30
|
];
|
|
30
31
|
return lines.join("\n");
|
|
31
32
|
}
|
|
@@ -67,7 +68,7 @@ export function formatScore(data) {
|
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
lines.push("");
|
|
70
|
-
lines.push(`Details: ${AGENT_URL}/${encodeURIComponent(name)}`);
|
|
71
|
+
lines.push(`Details: ${AGENT_URL}/${encodeURIComponent(name)}${UTM}`);
|
|
71
72
|
return lines.join("\n");
|
|
72
73
|
}
|
|
73
74
|
export function formatCompare(data) {
|
|
@@ -93,7 +94,7 @@ export function formatCompare(data) {
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
lines.push("");
|
|
96
|
-
lines.push(
|
|
97
|
+
lines.push(`Full comparison: https://agentscores.xyz/compare${UTM}`);
|
|
97
98
|
return lines.join("\n");
|
|
98
99
|
}
|
|
99
100
|
export function formatSearch(data) {
|
|
@@ -109,7 +110,7 @@ export function formatSearch(data) {
|
|
|
109
110
|
lines.push(` ${r.name}: ${score}/100 (${band})`);
|
|
110
111
|
}
|
|
111
112
|
lines.push("");
|
|
112
|
-
lines.push(
|
|
113
|
+
lines.push(`Browse all: https://agentscores.xyz/discover${UTM}`);
|
|
113
114
|
return lines.join("\n");
|
|
114
115
|
}
|
|
115
116
|
export function formatLeaderboard(data, category, limit) {
|
|
@@ -142,7 +143,7 @@ export function formatLeaderboard(data, category, limit) {
|
|
|
142
143
|
lines.push(`Categories: ${cats}`);
|
|
143
144
|
}
|
|
144
145
|
lines.push("");
|
|
145
|
-
lines.push(
|
|
146
|
+
lines.push(`Full leaderboard: https://agentscores.xyz/discover${UTM}`);
|
|
146
147
|
return lines.join("\n");
|
|
147
148
|
}
|
|
148
149
|
export function formatHistory(data, name) {
|
|
@@ -175,6 +176,6 @@ export function formatHistory(data, name) {
|
|
|
175
176
|
lines.push(` ${dateStr}: ${score}/100`);
|
|
176
177
|
}
|
|
177
178
|
lines.push("");
|
|
178
|
-
lines.push(`Details: ${AGENT_URL}/${encodeURIComponent(name)}`);
|
|
179
|
+
lines.push(`Details: ${AGENT_URL}/${encodeURIComponent(name)}${UTM}`);
|
|
179
180
|
return lines.join("\n");
|
|
180
181
|
}
|
package/dist/resources.js
CHANGED
|
@@ -63,8 +63,8 @@ Anti-Gaming:
|
|
|
63
63
|
- Anomaly detection for sudden score changes
|
|
64
64
|
- Gaming one platform is easy; gaming four simultaneously is exponentially harder
|
|
65
65
|
|
|
66
|
-
Full methodology: https://agentscores.xyz/methodology
|
|
67
|
-
Whitepaper: https://agentscores.xyz/methodology/whitepaper`;
|
|
66
|
+
Full methodology: https://agentscores.xyz/methodology?utm_source=mcp&utm_medium=resource&utm_campaign=npm
|
|
67
|
+
Whitepaper: https://agentscores.xyz/methodology/whitepaper?utm_source=mcp&utm_medium=resource&utm_campaign=npm`;
|
|
68
68
|
const SCORE_BANDS_TEXT = `AgentScore Trust Bands
|
|
69
69
|
======================
|
|
70
70
|
|
package/package.json
CHANGED