@capitalthought/agentsfirst-mcp 0.1.0 → 0.1.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/dist/probe.js +1 -0
- package/dist/score.js +5 -2
- package/package.json +1 -1
package/dist/probe.js
CHANGED
|
@@ -344,6 +344,7 @@ export async function probeWebsite(url) {
|
|
|
344
344
|
['well_known_ai_plugin', `${origin}/.well-known/ai-plugin.json`],
|
|
345
345
|
['well_known_oauth', `${origin}/.well-known/oauth-authorization-server`],
|
|
346
346
|
['well_known_mcp', `${origin}/.well-known/mcp-server-card`],
|
|
347
|
+
['well_known_mcp_json', `${origin}/.well-known/mcp-server-card.json`],
|
|
347
348
|
['sitemap', `${origin}/sitemap.xml`],
|
|
348
349
|
['openapi_root', `${origin}/openapi.json`],
|
|
349
350
|
['openapi_v1', `${origin}/v1/openapi.json`],
|
package/dist/score.js
CHANGED
|
@@ -512,9 +512,12 @@ function scoreAgentCapabilities(signals) {
|
|
|
512
512
|
let pts = 0;
|
|
513
513
|
const notes = [];
|
|
514
514
|
const surfaces = signals.signals.surfaces;
|
|
515
|
-
if (surfaces['well_known_mcp']?.ok) {
|
|
515
|
+
if (surfaces['well_known_mcp']?.ok || surfaces['well_known_mcp_json']?.ok) {
|
|
516
516
|
pts += 15;
|
|
517
|
-
|
|
517
|
+
const variant = surfaces['well_known_mcp_json']?.ok
|
|
518
|
+
? '/.well-known/mcp-server-card.json'
|
|
519
|
+
: '/.well-known/mcp-server-card';
|
|
520
|
+
notes.push(`MCP Server Card published at ${variant}`);
|
|
518
521
|
}
|
|
519
522
|
else {
|
|
520
523
|
notes.push('No MCP Server Card');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capitalthought/agentsfirst-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server that scores websites and codebases against the Agents First framework. Use it to check how agent-ready any product is. https://agentsfirst.dev",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Joshua Baer <josh@capitalfactory.com>",
|