{"_id":"@capitalthought/agentsfirst-mcp","_rev":"8-4e91fe3d94b1a5fe95e44515be5bcb65","name":"@capitalthought/agentsfirst-mcp","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@capitalthought/agentsfirst-mcp","version":"0.1.0","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.1.0","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"4791ee1e06bb94640c0a72de84e0b1876fd85dca","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.1.0.tgz","fileCount":14,"integrity":"sha512-tgXp/Gwcyi13H9R0jiIIsxqGcZ4YwxIUWgBzhNqrw9iGIsPFmwSemTmuNLYGVXngMBbWrYRQnyJUwqlKkwqOaw==","signatures":[{"sig":"MEYCIQCRWgCBalurQqaHMsjH6K1YQU2HoAxNNTuG3xalIMjrCwIhAI8wkfbV+OICelY2UYWZpMkS6rP5LHoe76SAVsh4pt4u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85303},"type":"module","engines":{"node":">=20"},"gitHead":"f79f6b7175ce7e819244e1c8cda90545cf3380c6","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.1.0_1778032154807_0.5131844395399945","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@capitalthought/agentsfirst-mcp","version":"0.1.1","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.1.1","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"a3e560b92b89d4d71a0ecf356a7f1ae6ef90935c","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.1.1.tgz","fileCount":14,"integrity":"sha512-YmDcy3M6VqLeZvaUwkAa5h1AWXZgUj6Btw4GF2tp5hR4MSeK16MaYYf9WtQRus35N4aQE7rq3nUUZ3d4qCoPmQ==","signatures":[{"sig":"MEUCIHTIOdBDfcUfwEFbup/942yJLjnZE4tlmYpO3DITPxEAAiEAx7/T6uXl1NM4vRlpxhLNwzKTWxwn/rHYRB0r00Nf+Rw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85578},"type":"module","engines":{"node":">=20"},"gitHead":"f09cba5e0e962436dc1878b7d34da5030b69e49a","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.1.1_1778034389079_0.7600175168045824","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@capitalthought/agentsfirst-mcp","version":"0.1.2","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.1.2","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"2b7ab5dce810805655e7b43d7342ccd1e960a039","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.1.2.tgz","fileCount":14,"integrity":"sha512-YIY0inUQfYd/DOkDpc+Q00JgNSFKArkM3obbhvwQo5CRHusuj0AeJtHYri2oLJpltQBVpuHvA8LzpeAJG2bR5A==","signatures":[{"sig":"MEUCIGSjA3B8wkbuMUFT7VVMI9WqpZh+xn1ZWG30HTfvTKXQAiEAsR5ktmhHsPqwXBJugyCzpVs01m2GVxRZ/lahR01pZd4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87518},"type":"module","engines":{"node":">=20"},"gitHead":"3dc0dcfd201e72142c6c1bfd28bca8939e4970a4","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.1.2_1778035736787_0.7642624226795278","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@capitalthought/agentsfirst-mcp","version":"0.2.0","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.2.0","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"93e86ba84185dce90b587395087f2f5bd46482b6","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.2.0.tgz","fileCount":14,"integrity":"sha512-Yo41xKgsPJJZkvUCt/q7Ak+HLQ4H1anacaFzHty9B3ZuKOezhajInPTPYlMUZcFSze2FuLoLyJspF8pYRHWDBw==","signatures":[{"sig":"MEUCIQDsYlSae7uVYyenX+NdEwNjmaVsFb+27VTG7UZeBbOtvAIgfDSpPMrRXgb9Ypg8t4OwbIhgf7McfsOE1RKew1/14JU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88529},"type":"module","engines":{"node":">=20"},"gitHead":"fd4fcaa631cf1b9c106bbb34fcb56de2ebaf0d46","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.2.0_1778163171940_0.8065896494640843","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@capitalthought/agentsfirst-mcp","version":"0.3.0","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.3.0","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"0b83b941628bfe3892a9c4eb11104347dcf7296c","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.3.0.tgz","fileCount":14,"integrity":"sha512-FpzhIK89EmA5JfAyUBsh+iJAfpzUU/u7txiNz2yz/CfErvYwbSqwxG6IzsKpg1+Xr/dB3Un3UvK32wlBqMF2EA==","signatures":[{"sig":"MEQCIBbtAa9UYTPqUmVLzWobXz00tzoY3h/0ySE0THyUZx6kAiAWrALykL+OuMmrrGrHLnUxbAntISKr/C0aocj5I+9Skg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94267},"type":"module","engines":{"node":">=20"},"gitHead":"aeddb37c3fcd0c5c7aedf39c708d2042d9d7442c","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.3.0_1778199001478_0.39590856752289527","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@capitalthought/agentsfirst-mcp","version":"0.3.1","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.3.1","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"05f74455df2a62bbd8580f810cb6041fbe3b3a98","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.3.1.tgz","fileCount":14,"integrity":"sha512-qq0YFOsX48DRehAEPhU95GRZkQcHZ83BeN4OY/ddfSjTT1sLzXeiEG8eA8q6kZCviWjq1+MEIVPIymw2xQ1pXQ==","signatures":[{"sig":"MEUCIQC1T635YNKe+UWXUeHXyPWucXNQLtbmnqnCl7ZK2rGpXAIgQoYSxN/Go+JJB3GiNZxaeCDyXP77Suh9xDavaHDGHdw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94977},"type":"module","engines":{"node":">=20"},"gitHead":"aeddb37c3fcd0c5c7aedf39c708d2042d9d7442c","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.3.1_1778199216872_0.836564022627857","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@capitalthought/agentsfirst-mcp","version":"0.3.2","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","_id":"@capitalthought/agentsfirst-mcp@0.3.2","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"homepage":"https://agentsfirst.dev","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"bin":{"agentsfirst-mcp":"dist/server.js"},"dist":{"shasum":"941037dcfebc33ac8bde4b556b2b1e46bb97dfed","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.3.2.tgz","fileCount":14,"integrity":"sha512-pJLWw/cfH1Cif/lt6a8FX88bN5NX/qSItFw4DH92qQUZ1YPmrNzRsbEBRNO7GD+Zd/BNibxuiizF/DeTH//0eA==","signatures":[{"sig":"MEYCIQD1pkMVv17slrWzX3tIa6n9nnYuhiywm86izJRTc0gZ2gIhANY+oPxKees1cATFXE+A3lb1QwqyvZuIoCji5IMc66Yy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95015},"type":"module","engines":{"node":">=20"},"gitHead":"aeddb37c3fcd0c5c7aedf39c708d2042d9d7442c","scripts":{"dev":"tsx watch src/server.ts","prep":"tsx src/prep.ts","build":"tsc -p .","start":"node dist/server.js"},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"repository":{"url":"git+https://github.com/capitalthought/agentsfirst.git","type":"git","directory":"tools/agentsfirst-mcp"},"_npmVersion":"11.12.1","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","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.4.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agentsfirst-mcp_0.3.2_1778199419216_0.8299817338876991","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@capitalthought/agentsfirst-mcp","version":"0.4.0","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","license":"MIT","author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"homepage":"https://agentsfirst.dev","repository":{"type":"git","url":"git+https://github.com/capitalthought/agentsfirst.git","directory":"tools/agentsfirst-mcp"},"keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"type":"module","bin":{"agentsfirst-mcp":"dist/server.js"},"scripts":{"dev":"tsx watch src/server.ts","build":"tsc -p .","start":"node dist/server.js","prep":"tsx src/prep.ts"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","zod":"^3.23.0"},"devDependencies":{"@types/node":"^20.0.0","tsx":"^4.0.0","typescript":"^5.4.0"},"engines":{"node":">=20"},"gitHead":"e22377e00fd544eca6eaaa6e84cad6c6d52e2e0c","_id":"@capitalthought/agentsfirst-mcp@0.4.0","bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-hZZ3COlhkSUjGcIujEoGAzBva/FMCVN6dUfSFc62z3LvCfppn5CaZL2DQoyh8EzncT4J5rfUh4RAcUGqQz8nEg==","shasum":"959f28fcbf6d04ffa922173a18214da2742e19cf","tarball":"https://registry.npmjs.org/@capitalthought/agentsfirst-mcp/-/agentsfirst-mcp-0.4.0.tgz","fileCount":14,"unpackedSize":100049,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG8zGIg3L8axu0L21rDdDJGSEFl7ASkloJfLybOnAwOLAiASrdTR8r3qJcdJQ7GCM8x0vcvBkEtTVQ5yt6Q0iN2usQ=="}]},"_npmUser":{"name":"joshuabaer","email":"npmjs@joshspam.com"},"directories":{},"maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agentsfirst-mcp_0.4.0_1778431103934_0.9338852099239554"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-06T01:49:14.710Z","modified":"2026-05-10T16:38:24.273Z","0.1.0":"2026-05-06T01:49:14.972Z","0.1.1":"2026-05-06T02:26:29.308Z","0.1.2":"2026-05-06T02:48:56.930Z","0.2.0":"2026-05-07T14:12:52.084Z","0.3.0":"2026-05-08T00:10:01.649Z","0.3.1":"2026-05-08T00:13:37.047Z","0.3.2":"2026-05-08T00:16:59.390Z","0.4.0":"2026-05-10T16:38:24.123Z"},"bugs":{"url":"https://github.com/capitalthought/agentsfirst/issues"},"author":{"name":"Joshua Baer","email":"josh@capitalfactory.com"},"license":"MIT","homepage":"https://agentsfirst.dev","keywords":["agents-first","mcp","model-context-protocol","agent-readiness","scoring","framework"],"repository":{"type":"git","url":"git+https://github.com/capitalthought/agentsfirst.git","directory":"tools/agentsfirst-mcp"},"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","maintainers":[{"name":"joshuabaer","email":"npmjs@joshspam.com"}],"readme":"# @capitalthought/agentsfirst-mcp\n\nMCP server that scores any website or codebase against the [Agents First](https://agentsfirst.dev) framework. Use it to check how agent-ready a product is — yours, a competitor's, a portfolio company's, an acquisition target's.\n\nFive verb-first tools, read-only, structured returns. Sister package to [`@capitalthought/create-agents-first`](https://www.npmjs.com/package/@capitalthought/create-agents-first) (the scaffold).\n\n## Quick start\n\nRun with no install:\n\n```bash\nnpx -y @capitalthought/agentsfirst-mcp\n```\n\nThe server speaks MCP over stdio. Wire it into your agent runtime:\n\n### Claude Code\n\n```jsonc\n// ~/.claude.json (or .claude/mcp.json)\n{\n  \"mcpServers\": {\n    \"agentsfirst\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@capitalthought/agentsfirst-mcp\"]\n    }\n  }\n}\n```\n\n### Cursor\n\n```jsonc\n// .cursor/mcp.json\n{\n  \"mcpServers\": {\n    \"agentsfirst\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@capitalthought/agentsfirst-mcp\"]\n    }\n  }\n}\n```\n\n### Windsurf / Cline / generic MCP-compatible clients\n\nSame shape — `command: \"npx\"`, `args: [\"-y\", \"@capitalthought/agentsfirst-mcp\"]`. Drop into the client's MCP config.\n\n## Tools\n\nAll tools are read-only. The server never writes anywhere.\n\n### `agentsfirst_prep`\n\nPrep Gate. Call this first, every session. Verifies the rubric is loaded (8 principles, 7 anti-patterns), Node >=20, and the canonical principles URL is reachable.\n\n**Params:** none.\n\n**Returns:** `{ ok, checks: [{ name, ok, message }], rubric_version, principles_url }`.\n\n### `score_codebase`\n\nProbes a local directory and scores it against the 8 principles. Looks for AGENTS.md, MCP/CLI/SDK presence, prep tooling, typed state, visible-output sinks, multi-model wiring, perspective dispatch, retry/recovery. 100 points total.\n\n**Params:**\n- `path` (string, default cwd) — directory to score.\n- `depth` (`'quick' | 'standard' | 'deep'`, default `'standard'`) — reserved for future heuristics.\n\n**Returns:** `{ score, level, level_name, principles, anti_patterns_flagged, top_moves, probe_signals }`.\n\n### `score_website`\n\nHTTP-probes a URL for agent-discoverable surfaces and scores against 5 dimensions: Discoverability (25), Content Accessibility (20), Bot Access Control (15), Agent Capabilities (30), Visibility of Agent Integrations (10). Looks for `robots.txt`, `/llms.txt`, `/AGENTS.md`, `/.well-known/*`, OpenAPI surfaces, MCP server card, and markdown content negotiation.\n\n**Params:**\n- `url` (string, required) — must be `http://` or `https://`.\n\n**Returns:** `{ score, level, level_name, dimensions, anti_patterns_flagged, top_moves, probe_signals }`.\n\n### `get_principle`\n\nReturns the canonical text of one principle.\n\n**Params:**\n- `slug` — one of `interface-first`, `contract-first`, `prep-gates`, `typed-state`, `visible-outputs`, `multi-model-verification`, `perspective-dispatch`, `autonomous-recovery`.\n\n**Returns:** `{ slug, name, summary, full_url, anti_patterns_defended }`.\n\n### `get_anti_pattern`\n\nReturns the canonical definition of one anti-pattern.\n\n**Params:**\n- `slug` — one of `lazy-wrapper`, `invisible-product`, `agents-without-rules`, `single-model-trust`, `slow-chatbot`, `ship-and-forget`, `god-server`.\n\n**Returns:** `{ slug, name, definition, opposes_principle, glossary_url }`.\n\n## What the score means\n\nTotal maps to a 0–4 adoption level:\n\n| Score | Level | Name |\n|------:|------:|------|\n| 0–10 | 0 | No agent access |\n| 11–25 | 1 | Agent as Afterthought |\n| 26–60 | 2 | Agent-Aware |\n| 61–85 | 3 | **Agents First** |\n| 86–100 | 4 | Agent-Driven |\n\nAim for Level 3 on net-new projects. Lift legacy projects 1 → 2 → 3 incrementally.\n\nFull rubric: <https://agentsfirst.dev/principles/>. Glossary of anti-patterns and metrics: <https://agentsfirst.dev/glossary/>.\n\n## Local development\n\n```bash\ngit clone https://github.com/capitalthought/agentsfirst\ncd agentsfirst/tools/agentsfirst-mcp\nnpm install\nnpm run build\nnpm run prep    # sanity-check the prep gate\nnode dist/server.js   # boot the server (stdio)\n```\n\nSend a `tools/list` request over stdio:\n\n```bash\necho '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}' | node dist/server.js | head -20\n```\n\n## Publishing\n\nSame flow as `@capitalthought/create-agents-first`. Granular access token in 1Password Employee vault, scope-wide on `@capitalthought`, `bypass-2fa: true`. GitHub Actions auto-publishes on tag push (`v0.1.0`). Full reference: `~/icloud/Claude/ref-npm-publishing.md`.\n\n## License\n\nMIT — © 2026 Joshua Baer.\n","readmeFilename":"README.md"}