{"_id":"@agentlair/mcp-demo-attested","name":"@agentlair/mcp-demo-attested","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@agentlair/mcp-demo-attested","version":"0.1.0","description":"Minimal reference MCP server demonstrating @agentlair/mcp-trust-attestation: a single 'echo' tool plus the BHC-S descriptor and per-subject attestation routes wired in 3 LOC.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"mcp-demo-attested":"dist/index.js"},"scripts":{"build":"tsc","dev":"bun run src/index.ts","start":"node dist/index.js","typecheck":"tsc --noEmit","prepublishOnly":"bun run build"},"keywords":["agentlair","mcp","model-context-protocol","trust","attestation","bhc-s","demo","reference-server"],"author":{"name":"AgentLair","email":"hello@agentlair.dev"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/piiiico/agentlair.git","directory":"packages/mcp-demo-attested"},"homepage":"https://agentlair.dev/docs/bhc-s","engines":{"node":">=20.0.0"},"dependencies":{"@agentlair/mcp-trust-attestation":"workspace:*","@hono/node-server":"^1.19.0","@modelcontextprotocol/sdk":"^1.27.1","hono":"^4.12.8"},"devDependencies":{"typescript":"^5.9.3"},"_id":"@agentlair/mcp-demo-attested@0.1.0","gitHead":"44f7de50adcf448e8474478dd476d0ea8cdc0fb7","bugs":{"url":"https://github.com/piiiico/agentlair/issues"},"_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-ob0STtZilRxun/4XDcGk+FNNznyZYiAOcpfBkUWUY6v31jk4YyYKdDG40BJZKbL3Ml+kbfFxHMNN5Ran+UNRCw==","shasum":"2cb57d481fd4c2e6874b3c1c4852a128b6b320af","tarball":"https://registry.npmjs.org/@agentlair/mcp-demo-attested/-/mcp-demo-attested-0.1.0.tgz","fileCount":6,"unpackedSize":10177,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCO+nh8NfH0TkVhFdlV3A8VScig7Q4ShwkbhXi2P04muwIgEjK6Xb7wKe2tPF0HdXNb/RD0Yxn1d8aj9gMtAcdreQc="}]},"_npmUser":{"name":"piiiico","email":"pico@amdal.dev"},"directories":{},"maintainers":[{"name":"piiiico","email":"pico@amdal.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-demo-attested_0.1.0_1779081568840_0.45982049896261756"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T05:19:28.773Z","0.1.0":"2026-05-18T05:19:28.982Z","modified":"2026-05-18T05:19:29.169Z"},"maintainers":[{"name":"piiiico","email":"pico@amdal.dev"}],"description":"Minimal reference MCP server demonstrating @agentlair/mcp-trust-attestation: a single 'echo' tool plus the BHC-S descriptor and per-subject attestation routes wired in 3 LOC.","homepage":"https://agentlair.dev/docs/bhc-s","keywords":["agentlair","mcp","model-context-protocol","trust","attestation","bhc-s","demo","reference-server"],"repository":{"type":"git","url":"git+https://github.com/piiiico/agentlair.git","directory":"packages/mcp-demo-attested"},"author":{"name":"AgentLair","email":"hello@agentlair.dev"},"bugs":{"url":"https://github.com/piiiico/agentlair/issues"},"license":"Apache-2.0","readme":"# @agentlair/mcp-demo-attested\n\nMinimal reference MCP server that proves the\n[`@agentlair/mcp-trust-attestation`](../mcp-trust-attestation) SDK\nworks end-to-end: one `echo` tool over stdio plus the BHC-S descriptor\nand per-subject attestation routes wired in three lines.\n\n## Run\n\n```sh\nnpx @agentlair/mcp-demo-attested\n```\n\nThe HTTP attestation surface comes up on `localhost:8787` (override with\n`ATTESTED_HTTP_PORT`). The MCP stdio transport connects on the standard\nstreams, ready for any MCP client.\n\n## What it demonstrates\n\n- `GET /.well-known/agentlair-trust` returns the BHC-S issuer descriptor.\n- `GET /agentlair/trust-attestation/:subject` returns the per-subject\n  attestation JWT (proxied from AgentLair, cached locally).\n- `GET /` returns the MCP server-card payload, including the\n  `dev.agentlair/trust-attestation` extension.\n\n## Config\n\n| Env var | Default | Notes |\n|---|---|---|\n| `ATTESTED_SERVER_ID` | `url_sha256:0000...` | Subject identifier |\n| `ATTESTED_HTTP_PORT` | `8787` | Port for the HTTP attestation surface |\n| `ATTESTED_DISABLE_HTTP` | unset | Set to `1` to run stdio-only |\n\nLicensed under Apache-2.0.\n","readmeFilename":"README.md","_rev":"1-8313636f49acbb84d062d55491389994"}