{"_id":"@azphalt/mcp","_rev":"7-02743d61450a6206761174839713551f","name":"@azphalt/mcp","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@azphalt/mcp","version":"0.1.0","author":{"url":"https://hereliesaz.com","name":"Az"},"license":"MIT","_id":"@azphalt/mcp@0.1.0","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"}],"bin":{"azphalt-mcp":"dist/bin.js"},"dist":{"shasum":"3d1d2c0186f6adecf0362af693cb5bbc004d571e","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.0.tgz","fileCount":11,"integrity":"sha512-RwN01nKd2nRp7YN+eEkEnIIdHAsRLIC5vRdqhrPFbgB9i25p3AQUm0vHLuGfY4yAM4N/UFzkBnwW2e7uS7/qmg==","signatures":[{"sig":"MEUCIHTpIKHZM3zzrGR66le8ys41Db/Gv1OEaNLoZS+1KSo4AiEA9tOLQH8MzBYGvYFCmizQcb1MBkH0Qc1jl4DRHPA+n7Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13261},"main":"./dist/index.js","type":"module","_from":"file:azphalt-mcp-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"_resolved":"/tmp/9e3aeff8f81347dc59ede6037840a39e/azphalt-mcp-0.1.0.tgz","_integrity":"sha512-RwN01nKd2nRp7YN+eEkEnIIdHAsRLIC5vRdqhrPFbgB9i25p3AQUm0vHLuGfY4yAM4N/UFzkBnwW2e7uS7/qmg==","_npmVersion":"10.9.8","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.25.0","@azphalt/azp":"0.1.0","@azphalt/sdk":"0.1.0","@modelcontextprotocol/sdk":"^1.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.6","typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1784028737395_0.9030476081643091","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@azphalt/mcp","version":"0.1.1","author":{"url":"https://hereliesaz.com","name":"Az"},"license":"MIT","_id":"@azphalt/mcp@0.1.1","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"bin":{"azphalt-mcp":"dist/bin.js"},"dist":{"shasum":"0b07d300ebaf9ed1c31eea346fd7bda1ef32d6ab","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.1.tgz","fileCount":11,"integrity":"sha512-q+Gp3rsT4TtTfmQkJnblCPHadOmcLV9ugy7d9l6lu5HjRRsKgHtV6ZAVXzhh98bm1EshNupetehLiOnxem3ETQ==","signatures":[{"sig":"MEYCIQCXKOYcM/HpODO8xXqSGK9B0NU+mYiuUwhnvDlzeJcLXQIhAIx9+LhswfueDw3Pu0fM/4b+5Cd3NTO9hcerGwuOn1sH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13262},"main":"./dist/index.js","type":"module","_from":"file:azphalt-mcp-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"_resolved":"/tmp/e31a75b4d24d2e2824d1cac687c8414c/azphalt-mcp-0.1.1.tgz","_integrity":"sha512-q+Gp3rsT4TtTfmQkJnblCPHadOmcLV9ugy7d9l6lu5HjRRsKgHtV6ZAVXzhh98bm1EshNupetehLiOnxem3ETQ==","_npmVersion":"10.9.8","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.25.0","@azphalt/azp":"0.1.1","@azphalt/azdk":"0.1.1","@modelcontextprotocol/sdk":"^1.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.6","typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.1_1784125870178_0.3360847187497604","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@azphalt/mcp","version":"0.1.2","author":{"url":"https://hereliesaz.com","name":"Az"},"license":"MIT","_id":"@azphalt/mcp@0.1.2","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"bin":{"azphalt-mcp":"dist/bin.js"},"dist":{"shasum":"e94df7b1d3435d147709bea4e8b7b6af37737233","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.2.tgz","fileCount":11,"integrity":"sha512-EYZmMnxQESNhNIqPfQt3fuz3AcSVFb9hh2D/xk0FUSPvNI3aKnzgJUCoHLv/Bs06Y7dbP5Ncsw91H4dP/3cKTQ==","signatures":[{"sig":"MEYCIQDW8mS4iTOxyqAeVIqrbLvEyzacL9CfF3zTdDhDpP5ECQIhAJnKJ9yJKZs0jiXsX5TSfZ4nQ4dA4ipQGpwrJMEZX6Py","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13264},"main":"./dist/index.js","type":"module","_from":"file:azphalt-mcp-0.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"_resolved":"/tmp/4fd2195a2f353968c6b5105a513dcbc1/azphalt-mcp-0.1.2.tgz","_integrity":"sha512-EYZmMnxQESNhNIqPfQt3fuz3AcSVFb9hh2D/xk0FUSPvNI3aKnzgJUCoHLv/Bs06Y7dbP5Ncsw91H4dP/3cKTQ==","_npmVersion":"10.9.8","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.25.76","@azphalt/azp":"0.2.0","@azphalt/azdk":"0.2.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.2_1784628657042_0.4218497178626517","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@azphalt/mcp","version":"0.1.3","author":{"url":"https://hereliesaz.com","name":"Az"},"license":"MIT","_id":"@azphalt/mcp@0.1.3","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"bin":{"azphalt-mcp":"dist/bin.js"},"dist":{"shasum":"9c31c75dfb431e1407938810207ab7f86fa34e34","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.3.tgz","fileCount":11,"integrity":"sha512-ibu3Hbf3lfekQ8djkm2hLIsM8V+pOn8QPKpM1/39e8IdbY9xd5UKPDcG6T8d+ym89hM2X9viSMr1v35OyzaPvQ==","signatures":[{"sig":"MEUCIHn0nP+xFZ+iscwySA/1icf/UWg2lRl87vmeG7klVw83AiEAjuxj1rE8ziCn0zH5Vyl24imVWXqIpAWGYevhW46irWw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13264},"main":"./dist/index.js","type":"module","_from":"file:azphalt-mcp-0.1.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"_resolved":"/tmp/1c240d45ad6a7ea4979fd4990293d456/azphalt-mcp-0.1.3.tgz","_integrity":"sha512-ibu3Hbf3lfekQ8djkm2hLIsM8V+pOn8QPKpM1/39e8IdbY9xd5UKPDcG6T8d+ym89hM2X9viSMr1v35OyzaPvQ==","_npmVersion":"10.9.9","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.25.76","@azphalt/azp":"0.3.0","@azphalt/azdk":"0.3.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.3_1785554805676_0.5553114107828838","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@azphalt/mcp","version":"0.1.4","author":{"url":"https://hereliesaz.com","name":"Az"},"license":"MIT","_id":"@azphalt/mcp@0.1.4","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"bin":{"azphalt-mcp":"dist/bin.js"},"dist":{"shasum":"2271193d69bd1f36e4d73d64a669bfaa32db7b62","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.4.tgz","fileCount":11,"integrity":"sha512-bPTbU/L7ls2bqEyDqh9hmAZppNrujDgSmIktDwPbDFANb6taloV+fcROrblTMr6nctnilUmKVLuHuaYmVuaOsw==","signatures":[{"sig":"MEUCIGx0gSQrdak7ZO1JxMGjn/cxHEPKAhDo6VACZF5GWgDcAiEA4yjU0ABuGQg+JAu0+XhKaJI0M0VFEDrc/4JP1TsTbeA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13264},"main":"./dist/index.js","type":"module","_from":"file:azphalt-mcp-0.1.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"_resolved":"/tmp/b6778d7ac8e053b21e850852a21aa50e/azphalt-mcp-0.1.4.tgz","_integrity":"sha512-bPTbU/L7ls2bqEyDqh9hmAZppNrujDgSmIktDwPbDFANb6taloV+fcROrblTMr6nctnilUmKVLuHuaYmVuaOsw==","_npmVersion":"10.9.9","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.25.76","@azphalt/azp":"0.4.0","@azphalt/azdk":"0.4.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.7","typescript":"^5.9.3","@types/node":"^22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.4_1786266688165_0.43464384317694993","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@azphalt/mcp","version":"0.1.5","publishConfig":{"access":"public"},"description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","license":"MIT","author":{"name":"Az","url":"https://hereliesaz.com"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"azphalt-mcp":"dist/bin.js"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"@modelcontextprotocol/sdk":"^1.29.0","zod":"^3.25.76","@azphalt/azdk":"0.5.0","@azphalt/azp":"0.5.0"},"devDependencies":{"@types/node":"^22.20.1","typescript":"^5.9.3","vitest":"^3.2.7"},"sideEffects":false,"scripts":{"build":"tsc -p tsconfig.json","test":"vitest run","typecheck":"tsc -p tsconfig.json --noEmit","clean":"rm -rf dist"},"_id":"@azphalt/mcp@0.1.5","_integrity":"sha512-tVTlEL8xJ3N4Px0rxQhP9jMcChRIKY5CyXncu0WrCM2pOfe1DbwUJ39F026VGEsDDbjoiR9t1dlpRhE5XYDCPA==","_resolved":"/tmp/9a3e8e7aaabb2d20e878c0f76ddf6bc8/azphalt-mcp-0.1.5.tgz","_from":"file:azphalt-mcp-0.1.5.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.9","dist":{"integrity":"sha512-tVTlEL8xJ3N4Px0rxQhP9jMcChRIKY5CyXncu0WrCM2pOfe1DbwUJ39F026VGEsDDbjoiR9t1dlpRhE5XYDCPA==","shasum":"c021158865fef5bc2ad9f4567b7a38a66fe38fc6","tarball":"https://registry.npmjs.org/@azphalt/mcp/-/mcp-0.1.5.tgz","fileCount":11,"unpackedSize":13264,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGhY3SdT6LwK+0QXXuDVx2Hf/5jwQ0QDKl+XfQga+2qAAiEArLTBVwTqIbMUWY6yfZ4TbUP0czwVNvMyyTfOHukkNc0="}]},"_npmUser":{"name":"azcamehere","email":"hereliesaz@gmail.com"},"directories":{},"maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.5_1786700456375_0.3330040477988212"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-14T11:32:17.275Z","modified":"2026-08-14T09:40:56.701Z","0.1.0":"2026-07-14T11:32:17.522Z","0.1.1":"2026-07-15T14:31:10.333Z","0.1.2":"2026-07-21T10:10:57.164Z","0.1.3":"2026-08-01T03:26:45.832Z","0.1.4":"2026-08-09T09:11:28.320Z","0.1.5":"2026-08-14T09:40:56.515Z"},"author":{"name":"Az","url":"https://hereliesaz.com"},"license":"MIT","description":"An MCP server exposing azphalt .azp verify/inspect/extract tools to any MCP host.","maintainers":[{"name":"azcamehere","email":"hereliesaz@gmail.com"},{"name":"hahapewpew","email":"az@hahapewpew.com"}],"readme":"# @azphalt/mcp\n\nAn [MCP](https://modelcontextprotocol.io) server that exposes azphalt `.azp` operations to any MCP host — verify a package, inspect its manifest, and extract a single asset. A host controller (e.g. [Guillotine](https://github.com/HereLiesAz/Guillotine)'s MCP client) uses it to reason about a package before applying its assets with the host's own engine.\n\nIt hands out **data, never the host engine**: the server only reports on and extracts from the container — it never runs code or touches an editor surface — so it stays inside the standard's moat.\n\n## Run\n\n~~~jsonc\n// in an MCP host's server config\n{ \"mcpServers\": { \"azphalt\": { \"command\": \"azphalt-mcp\" } } }\n~~~\n\n## Tools\n\n`.azp` bytes cross MCP (a JSON transport) as **base64**.\n\n| Tool | Input | Returns |\n|---|---|---|\n| `azp_verify` | `{ azpBase64 }` | `{ ok, errors, signed }` — integrity + (if present) Ed25519 signature |\n| `azp_inspect` | `{ azpBase64 }` | manifest identity, `assets`, payload file list, and a verify report |\n| `azp_extract_asset` | `{ azpBase64, assetPath }` | `{ path, bytesBase64 }` for one payload entry |\n\n## Library use\n\nThe operations are also exported as pure functions (no transport), for direct use or testing:\n\n~~~ts\nimport { verifyPackage, inspectPackage, extractAsset } from \"@azphalt/mcp\";\n\nverifyPackage(azpBytes);                 // { ok, errors, signed }\ninspectPackage(azpBytes).assets;         // [{ type, path, ui?, format? }, …]\nextractAsset(azpBytes, \"assets/x.cube\"); // { path, bytesBase64 }\n~~~\n\nBuilt on [`@azphalt/azp`](../azp). See [`spec/package-format.md`](../../spec/package-format.md).\n","readmeFilename":"readme.md"}