{"_id":"@cogenta/mcp","_rev":"14-ed39b43f8f2604c5fa4568d897fdc11e","name":"@cogenta/mcp","dist-tags":{"latest":"0.3.13"},"versions":{"0.1.0":{"name":"@cogenta/mcp","version":"0.1.0","license":"MPL-2.0","_id":"@cogenta/mcp@0.1.0","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"80d4629755d5e29c517a5b0bc49425073b209be4","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.1.0.tgz","fileCount":29,"integrity":"sha512-aXlO10oQS9r8+UAJhKrOHQCPrWroAFxRXlC+7M7TWxWdJL+5RDee+DXXMxQtIzgRPSOwKQYR/HFa+QnAFbmotQ==","signatures":[{"sig":"MEYCIQDSi1mF7CyNPJ29uVS/eEd5NzzfHWhZNLGRyUEcNaONmgIhAKnmZeuI9kZ59P/uz0bRjvxvHV3s1Y6nSU7M9UoUSgTL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32483},"type":"module","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"e2fdaf98746399eac2a87a853d31801f5e252c5b","scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"georgesmomo","email":"georges.momo@gmail.com"},"repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"zod":"catalog:","@cogenta/core":"workspace:*","@cogenta/agents":"workspace:*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"catalog:","typescript":"catalog:"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1786805749349_0.6157099427858865","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cogenta/mcp","version":"0.1.1","license":"MPL-2.0","_id":"@cogenta/mcp@0.1.1","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"f05537610f2c993f556d761cbe47a52b8542b6e7","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.1.1.tgz","fileCount":30,"integrity":"sha512-h8s/1EdaKv9KwnXHgvUEJfpl+sHaUWU2YM0naqZ4VOWjQ0fswnKGTCR2AvVM5rTLS0yPQzt69Sq3T6CtX2UIVg==","signatures":[{"sig":"MEYCIQCeH6mh1IWV8ahG1CGWG8jsvbV5oRT+y1M+8PT6VYgKBQIhAL3BATTTufJwcDZZu4gOLn/0X9OoYCQDkA8itezSmM69","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49191},"type":"module","_from":"file:cogenta-mcp-0.1.1.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"georgesmomo","email":"georges.momo@gmail.com"},"_resolved":"C:\\Users\\georg\\AppData\\Local\\Temp\\97e4b2913800ec573a27733e7d0a6d78\\cogenta-mcp-0.1.1.tgz","_integrity":"sha512-h8s/1EdaKv9KwnXHgvUEJfpl+sHaUWU2YM0naqZ4VOWjQ0fswnKGTCR2AvVM5rTLS0yPQzt69Sq3T6CtX2UIVg==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.1.1","@cogenta/agents":"0.1.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.1_1786810826486_0.7599035593952543","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cogenta/mcp","version":"0.1.2","license":"MPL-2.0","_id":"@cogenta/mcp@0.1.2","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"deb51011b48dae0f6f64e3082c29ec5f4d62f0ce","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.1.2.tgz","fileCount":30,"integrity":"sha512-te4+BZcaGiQSKV9uxU8dGWXJuNdAXqtPfrW6oKvX41zX9U2vXASHad4gUnoiWIuT5LUEZitKYT+OEetvFshltg==","signatures":[{"sig":"MEYCIQCpb1qElf0M3kgCRzAoYrp2z2AaowGUxS+3ErxXViSilAIhANEuDf6Q4d3MvhCFQLdVtqP22B6I584I+hl9+H3RNqOj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49191},"type":"module","_from":"file:cogenta-mcp-0.1.2.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/908a51afc57b996fdec874385a931d29/cogenta-mcp-0.1.2.tgz","_integrity":"sha512-te4+BZcaGiQSKV9uxU8dGWXJuNdAXqtPfrW6oKvX41zX9U2vXASHad4gUnoiWIuT5LUEZitKYT+OEetvFshltg==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.2.0","@cogenta/agents":"0.1.2"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.2_1786818540400_0.5225990407584711","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cogenta/mcp","version":"0.1.3","license":"MPL-2.0","_id":"@cogenta/mcp@0.1.3","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"1ff61d89fd70cce08458c10550b5815a3105662c","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.1.3.tgz","fileCount":30,"integrity":"sha512-8idkvwdYOMNd4OXYzw5w/77PqD4P56VugtzEUGFc0N2atGbA05OsVOz2l86G4FEpfSGGMF165hpFDO8ozUTUHQ==","signatures":[{"sig":"MEUCIQDSbw3n/QpWHzPrqBhF5cGaZwocpsSYEOk7iENkzgo2MwIgEjh9jtn5vJzuABVAGGrB8UGnmC4Tv+xAys0JZ/Fuu7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49191},"type":"module","_from":"file:cogenta-mcp-0.1.3.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/09dda1c352323768f5e81f25ba99ac6f/cogenta-mcp-0.1.3.tgz","_integrity":"sha512-8idkvwdYOMNd4OXYzw5w/77PqD4P56VugtzEUGFc0N2atGbA05OsVOz2l86G4FEpfSGGMF165hpFDO8ozUTUHQ==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.3.0","@cogenta/agents":"0.2.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.3_1786870043681_0.5457946894338732","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cogenta/mcp","version":"0.1.4","license":"MPL-2.0","_id":"@cogenta/mcp@0.1.4","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"d3c75b6e742bbeea3e76329f7ab9ff146c3621ef","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.1.4.tgz","fileCount":30,"integrity":"sha512-95QoSRPq7kH8AvtUugijletlVvd/EsDTm9BJ5UoTcdZO3BXmEDYwsNBErSBn6r07O75bMdKGvsBqNmSUhvqeaQ==","signatures":[{"sig":"MEQCICUWVteLQaPtGGVDVEHizKHyETquFPhYP93LPZwwZvA9AiB5GV+qlcsnKfw9Pm9xgnNB1TfTPyfVCB5BMkgATH0p1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49191},"type":"module","_from":"file:cogenta-mcp-0.1.4.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/2f37480533103c7ff492316077d1a699/cogenta-mcp-0.1.4.tgz","_integrity":"sha512-95QoSRPq7kH8AvtUugijletlVvd/EsDTm9BJ5UoTcdZO3BXmEDYwsNBErSBn6r07O75bMdKGvsBqNmSUhvqeaQ==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.4.0","@cogenta/agents":"0.2.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.4_1786893972620_0.2969648802264726","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cogenta/mcp","version":"0.3.0","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.0","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"b8b5005e8428faba3d9ebbba31b935fb3f3868ea","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.0.tgz","fileCount":55,"integrity":"sha512-6g5xqUTpLsmIyqQnsgWnLlZ3rgSvASvA7w5BMASbEN0Ee5YtoXSaT94UR2U01mYHGm6MAmdC+0dVoNWjU8/frw==","signatures":[{"sig":"MEUCIFfyFvYIdtXYqeo05JaM8GbhD7F3qoNPEbVeR0n5hWXaAiEA6dYCQwMEe5TwLO2bnRR/WbBqfZyCjrCyOBD/9ukRwzg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFlJtumau1dfMFi1PQ7XgWLxAJZyHcH9mPJ/PsOa7vSpAiEAz/IhAedGneNn6lDGR563b65x8APJo1ijbJuXPg6omrQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151103},"type":"module","_from":"file:cogenta-mcp-0.3.0.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/5ce4ff4276d3f2e77ffd5b865a3e031c/cogenta-mcp-0.3.0.tgz","_integrity":"sha512-6g5xqUTpLsmIyqQnsgWnLlZ3rgSvASvA7w5BMASbEN0Ee5YtoXSaT94UR2U01mYHGm6MAmdC+0dVoNWjU8/frw==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.6.0","@cogenta/agents":"0.4.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.0_1788714835895_0.2859864649093611","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@cogenta/mcp","version":"0.3.1","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.1","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"ca6afd429badb238993698e99dd800c06fa5e6da","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.1.tgz","fileCount":55,"integrity":"sha512-P1EOsS2902PH4g/2Ux+wa4vcw4BZvN7N39u0jNu5xeHr2XJmXdXyuLX1oDTbuUHvTX/lMRdDPYSjzjF4jbKyHA==","signatures":[{"sig":"MEQCIEaO0hBeeLOxngT3IdqmBOOVjZKzRk8CeWckyTDw6+TPAiB1ZpNtkhE2PZ8QT4j0Uu1ZewSPKvs4VCaid5zQpW4AFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDBFMMg7l28sWAC8u/tX5Bqm8Yg8qoFvGKxjFVgoRVLNAIhAK2z60HjJaysFdKxnryfnkIKrEenB2/zlONTNc3vtI2T","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151103},"type":"module","_from":"file:cogenta-mcp-0.3.1.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/b08f09049f65bf118540d8210e24d4ef/cogenta-mcp-0.3.1.tgz","_integrity":"sha512-P1EOsS2902PH4g/2Ux+wa4vcw4BZvN7N39u0jNu5xeHr2XJmXdXyuLX1oDTbuUHvTX/lMRdDPYSjzjF4jbKyHA==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.7.0","@cogenta/agents":"0.5.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.1_1788743615839_0.8852223109383464","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@cogenta/mcp","version":"0.3.2","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.2","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"d589502322cbb7ba3d4fdb19dbac5b50caedab2f","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.2.tgz","fileCount":55,"integrity":"sha512-x5qFKGu5nEpg9MJUTenn/JZYwgqeQhYH+1ekQVvf9Tb/qiyzSU14s/KDFILUaR5WzEUN3CixA2sigDo7jJM4HQ==","signatures":[{"sig":"MEQCIBmLbG5Ogtu+F5qOUcBZ8kAuTfPjLZ0ZVb4LGHoNwu24AiAtjH8jQ1wDWPsaa2uTIu/S27lS32NBEsHjZ5anHnKWDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEQ9qQdx33JfEl1A4kdzq72cKYwQgUGqN6tdpBmjVLBCAiBEYMMjGLPt6pwCxOJ3VXlCJUuY9V2Su/HvVXqMxIKS+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151103},"type":"module","_from":"file:cogenta-mcp-0.3.2.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/ba95fae1b2b3a4ca30a1f61ee1777f7f/cogenta-mcp-0.3.2.tgz","_integrity":"sha512-x5qFKGu5nEpg9MJUTenn/JZYwgqeQhYH+1ekQVvf9Tb/qiyzSU14s/KDFILUaR5WzEUN3CixA2sigDo7jJM4HQ==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.7.0","@cogenta/agents":"0.5.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.2_1788760079173_0.8229594803139679","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@cogenta/mcp","version":"0.3.3","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.3","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"c305effd90cdbecdff4ca58233902c2c0b8b4674","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.3.tgz","fileCount":55,"integrity":"sha512-sIiFjKCx+MeDZoXJ685wgd+B6R9URQJFtwd2fe4BY13eDdHLUyxviQrJjquRrcaLvbsmbMh49AC3Jmgy+bhZ1A==","signatures":[{"sig":"MEUCIQCeYODccpr4o+zJ/IPzUWZV69oxpIffvsQ0EofHHjg7lQIgU43nvwASf7U/NdGWIjvGkvixIgWrLcq4kED8SLM5x0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCvgdVwOKNirp1b+Ux8zkx1EGGR2Up6nBhO48Y03V4CwgIgPUJUSSQ0o1YYKn6FkEx/mT9G+wf1mRITUVtBf6ohwTw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151103},"type":"module","_from":"file:cogenta-mcp-0.3.3.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/79a0c86ab3e628cda2f3cca1e3cb6bf5/cogenta-mcp-0.3.3.tgz","_integrity":"sha512-sIiFjKCx+MeDZoXJ685wgd+B6R9URQJFtwd2fe4BY13eDdHLUyxviQrJjquRrcaLvbsmbMh49AC3Jmgy+bhZ1A==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.8.0","@cogenta/agents":"0.6.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.3_1788989047034_0.4483786762970645","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@cogenta/mcp","version":"0.3.4","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.4","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"f58dea4d9aa6c1a6e01fc1074b25e62d6b70d7f7","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.4.tgz","fileCount":55,"integrity":"sha512-neES6ijKnqxuv59pkceBBaqfjr1GaGT5Vruwc9bPJXGpX+0ScUMtUxPnmxpZVkEJq24pmSoBx0BhHn3SKtp1Mw==","signatures":[{"sig":"MEUCIQChfgz9GDvtn9KTezh3qrwdnxjQ/hkd5l4HMUlHandHmwIgf6a9RCs4w2ViaZFQLb1NFBgGkwMrcdgEhBNZKTbVkGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCID03guj1NHxh/BLwnZMRUXWgV2lIch8Hrwg4pbBvArLpAiEAjdUUgiSBiLGHJUtyaJxiwcoL2egyrVyFEwML2TxdBps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151103},"type":"module","_from":"file:cogenta-mcp-0.3.4.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/e054181083681cb63a30e7945df3f5a3/cogenta-mcp-0.3.4.tgz","_integrity":"sha512-neES6ijKnqxuv59pkceBBaqfjr1GaGT5Vruwc9bPJXGpX+0ScUMtUxPnmxpZVkEJq24pmSoBx0BhHn3SKtp1Mw==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.9.0","@cogenta/agents":"0.7.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.4_1789317382756_0.07614184730257523","host":"s3://npm-registry-packages-npm-production"}},"0.3.10":{"name":"@cogenta/mcp","version":"0.3.10","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.10","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"1649cc2c12e430498ac9d0dfe5f6d55f35dce5c7","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.10.tgz","fileCount":55,"integrity":"sha512-F2xJMSY1Px/hCODqtB7FEiNTQhCcYu2yQX+yXKzYUn7dJUspxf+ht5ypJJFeMU15dOkevUj3s6/s7LQUp3u9qg==","signatures":[{"sig":"MEQCIEgbPb+k29Bbwms005Jtlv1MbmvY9EIzCWOl1fodI7i5AiAJwstaQOEOpNndQ7zVINDkuf18+2x5KJm/rvrQzIYKhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD6GR2qwchX2ePyGygCUyGKvNTrC5Hhwp+CfTG0VLwtgwIhAIICVN/dOOEt7d29g/fiWZUzLxWHCOpfUwl6FFeOwZJL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151105},"type":"module","_from":"file:cogenta-mcp-0.3.10.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/38a7af7c3b2cdddf6103abf14c6e7d9d/cogenta-mcp-0.3.10.tgz","_integrity":"sha512-F2xJMSY1Px/hCODqtB7FEiNTQhCcYu2yQX+yXKzYUn7dJUspxf+ht5ypJJFeMU15dOkevUj3s6/s7LQUp3u9qg==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.11.0","@cogenta/agents":"0.8.4"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.10_1789588787469_0.562183550283452","host":"s3://npm-registry-packages-npm-production"}},"0.3.11":{"name":"@cogenta/mcp","version":"0.3.11","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.11","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"094e39911864dc0fad28879b19562542b2a36030","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.11.tgz","fileCount":55,"integrity":"sha512-YGigI1g/vbh9GhLWdG+2lJ1SOtUmjxG+JQKv2VxIrEbUvFHCByWT77CiK6J4XeOeyI8PJdwAPFj3JAD0rB8VwA==","signatures":[{"sig":"MEUCIQDc8gZeTTX6KWGi0wdP1mWoyUegKeXfbwmDyKfLkOcplgIgVu3PjUhnIZOJcSRTNmEtFcc1xee0Jj2YEhd8c6JAxHQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDqxOnMd3IlJa6yMNQI7KsbbdP/+su5dMt6zis6ct282gIhAKYlBv5xd7XClmYrrKRUr82gjNxwywzsfxhLXl18vN5H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151105},"type":"module","_from":"file:cogenta-mcp-0.3.11.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/721013c2dfff519d543456b9fcb7d629/cogenta-mcp-0.3.11.tgz","_integrity":"sha512-YGigI1g/vbh9GhLWdG+2lJ1SOtUmjxG+JQKv2VxIrEbUvFHCByWT77CiK6J4XeOeyI8PJdwAPFj3JAD0rB8VwA==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.11.0","@cogenta/agents":"0.8.5"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.11_1789621794238_0.37795578570889354","host":"s3://npm-registry-packages-npm-production"}},"0.3.12":{"name":"@cogenta/mcp","version":"0.3.12","license":"MPL-2.0","_id":"@cogenta/mcp@0.3.12","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"homepage":"https://github.com/cogenta-cms/cogenta#readme","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"77efec7124e764f731d2e1b27ed821bc12c9946e","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.12.tgz","fileCount":55,"integrity":"sha512-61XD61Ph1GGUXlUI2zIU//2vzn0chgB7xLJXbKImg3xdojYQ3nIF/CVBrTBr3tsu0lDRru0OMISx0gSlkoCdtA==","signatures":[{"sig":"MEYCIQC76LS+OiUU3uSHXtx94CLHe3Z8x4CSOiY8MY/FV3HVCAIhAJXJZXtQQs4ucX78awxdP5kZW59Hjjk6jl6SU/64KK62","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDwbLcE9bKzng4MgP2Q86amnwAjzghMtosw+10aaj2ZjAiAt4Fi4pufQ6oOeycS2X9aESbwodT+l83wSXgFgb8v7eA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151105},"type":"module","_from":"file:cogenta-mcp-0.3.12.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"_resolved":"/tmp/6e2ac88d0324eb9a6b98cf98d394cd4e/cogenta-mcp-0.3.12.tgz","_integrity":"sha512-61XD61Ph1GGUXlUI2zIU//2vzn0chgB7xLJXbKImg3xdojYQ3nIF/CVBrTBr3tsu0lDRru0OMISx0gSlkoCdtA==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.12.0","@cogenta/agents":"0.8.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.12_1789652146016_0.851183757021639","host":"s3://npm-registry-packages-npm-production"}},"0.3.13":{"_id":"@cogenta/mcp@0.3.13","bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"dist":{"shasum":"aa658975617673e0a3cdfc376ce06b12a0ea7622","tarball":"https://registry.npmjs.org/@cogenta/mcp/-/mcp-0.3.13.tgz","fileCount":55,"integrity":"sha512-8c/xzuP77CjCOgDEnz6U1Rt9YG84Vf3Gqmp/tpOMMijz9Tsa/ZDuufImr2etDZyrmXi1gSrbBxYcGetrk+k3AA==","signatures":[{"sig":"MEUCIQCqvfR/6EzUqbdIfZTFq3l9uS1JXAOpBNzhWy2woapH0gIgQnPByP8Ci/FD59/7ZTT5ZuX7KWW4m9k4Vv5CJ/E2NL4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQConynOO2lU/v5y1kN+DHSe2CxrUUeoK2BrzIjqBZNi7QIgbgd+33xxCi60y/Bd0JAWP4FAgjwnFXXdW9vwFy/u6wE="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cogenta%2fmcp@0.3.13","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":151105},"name":"@cogenta/mcp","type":"module","_from":"file:cogenta-mcp-0.3.13.tgz","engines":{"node":">=22.11.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"license":"MPL-2.0","scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.typecheck.json"},"version":"0.3.13","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9fba3d6f-c3c5-46e1-a32b-c7eff43b9512"}},"homepage":"https://github.com/cogenta-cms/cogenta#readme","_resolved":"/tmp/c61563654949b32680737bccb81b0f82/cogenta-mcp-0.3.13.tgz","_integrity":"sha512-8c/xzuP77CjCOgDEnz6U1Rt9YG84Vf3Gqmp/tpOMMijz9Tsa/ZDuufImr2etDZyrmXi1gSrbBxYcGetrk+k3AA==","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"_npmVersion":"12.0.2","description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","directories":{},"maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.4.3","@cogenta/core":"0.12.0","@cogenta/agents":"0.9.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.3.13_1789677572388_0.1945895355507825"}}},"time":{"created":"2026-08-15T14:55:49.083Z","modified":"2026-09-17T20:39:32.835Z","0.1.0":"2026-08-15T14:55:49.503Z","0.1.1":"2026-08-15T16:20:26.648Z","0.1.2":"2026-08-15T18:29:00.556Z","0.1.3":"2026-08-16T08:47:23.840Z","0.1.4":"2026-08-16T15:26:12.756Z","0.3.0":"2026-09-06T17:13:55.985Z","0.3.1":"2026-09-07T01:13:35.921Z","0.3.2":"2026-09-07T05:47:59.271Z","0.3.3":"2026-09-09T21:24:07.135Z","0.3.4":"2026-09-13T16:36:22.847Z","0.3.10":"2026-09-16T19:59:47.648Z","0.3.11":"2026-09-17T05:09:54.309Z","0.3.12":"2026-09-17T13:35:46.114Z","0.3.13":"2026-09-17T20:39:32.496Z"},"bugs":{"url":"https://github.com/cogenta-cms/cogenta/issues"},"license":"MPL-2.0","homepage":"https://github.com/cogenta-cms/cogenta#readme","repository":{"url":"git+https://github.com/cogenta-cms/cogenta.git","type":"git","directory":"packages/mcp"},"description":"MCP (Model Context Protocol) server and client — the tool registry, exposed.","maintainers":[{"name":"georgesmomo","email":"georges.momo@gmail.com"}],"readme":"# `@cogenta/mcp` — connecting an MCP client to a Cogenta site\n\nThis package is the MCP (Model Context Protocol) server and client primitives\n(`createMcpServer`, `serveMcpOverStdio`, `createMcpStdioClient`). The thing you\nactually run against a site is the CLI command built on top of it:\n\n```sh\ncogenta mcp\n```\n\nIt starts a real MCP server on the process's own `stdin`/`stdout` — no HTTP\nport, no network listener — exposing this site's content tools (and, for an\nauthenticated actor, its media and site-config tools) to whatever process\nspawned it: Claude Desktop, Claude Code, Cursor, or any other MCP client that\nspeaks stdio.\n\n## Who the server runs as (R4)\n\n`cogenta mcp` never runs with an implicit admin identity. Pick one:\n\n```sh\ncogenta mcp --email you@example.com   # a real user, looked up in the site's own user store\ncogenta mcp --role viewer             # a synthetic actor for local testing, no real account\ncogenta mcp --api-key cogenta_sk_…    # a key minted from the admin's \"MCP\" or \"Clés API\" screen\ncogenta mcp                           # anonymous (\"public\") — the default, no flag needed\n```\n\n- **`--email`** resolves the account's real roles from the user store the\n  admin and REST API already share. The account must already exist —\n  `cogenta users create --email you@example.com --roles editor` first if it\n  doesn't. Every tool call this server makes then runs with exactly that\n  user's permissions, checked by the same `PermissionLayer` REST and GraphQL\n  use — a role that cannot publish over the admin UI cannot publish through\n  this server either.\n- **`--role`** hands a synthetic actor with the given role(s)\n  (comma-separated: `--role editor,reviewer`) and no real account behind it.\n  Meant for local testing against a scratch site, not for pointing a real\n  client at a real site.\n- **`--api-key`** resolves an actor from a machine-to-machine bearer key,\n  through the exact same `ApiKeyStore` (`@cogenta/auth`) and \"roles = scope\"\n  mapping REST's own `resolveActor` uses for a `cogenta_sk_…` bearer token —\n  one store, two callers. Mint one from the admin's dedicated **MCP** screen\n  (which also shows the client configuration below, pre-filled with the raw\n  key), or from the general-purpose **Clés API** screen — either works, since\n  a key is a key regardless of which screen minted it. A revoked, expired, or\n  unknown key refuses to start the server at all (`MCP_ACTOR_API_KEY_INVALID`)\n  rather than silently falling back to anonymous.\n- **With none of these flags**, the server runs as the anonymous `public`\n  actor —\n  the same actor an unauthenticated REST request gets. Content tools\n  (`content.read`, `content.write_draft`, `content.publish`,\n  `content.delete`) are still on the manifest and still permission-checked\n  per call, so a public actor can read what a public actor may read and\n  nothing else. Media, site-config and HTTP-fetch tools are left off the\n  manifest entirely in this mode — see \"What's on the manifest\" below for\n  why.\n\n## What's on the manifest\n\nContent tools are always on the manifest, authenticated or not, because their\nactual permission gate lives one layer down: they call into the site's real\n`ContentService`, which asserts against `PermissionLayer` on every read and\nwrite, exactly as `/api/content/*` does. There is nothing extra this server\nneeds to enforce for them.\n\nMedia (`media.read`, `media.write`) and site-config (`site.config_read`)\ntools have no such check of their own — by design, per their own doc\ncomments in `@cogenta/agents`, *the manifest itself* is the permission gate\nfor these three. `cogenta mcp` therefore only puts them on the manifest for\nan authenticated actor (`--email`, `--role`, or `--api-key`); the anonymous\ndefault never sees them at all, so there is no way to reach one without\nfirst naming who you are running as.\n\n## Connecting a client\n\nEvery MCP client that supports a stdio server wants roughly the same three\nthings: a command, its arguments, and the working directory to run it in\n(your site's root, next to `cogenta.config.mjs`).\n\n**Claude Desktop** (`claude_desktop_config.json`) / **Claude Code**\n(`.mcp.json` in your project, or `claude mcp add`) / **Cursor** (MCP settings)\nall accept this shape:\n\n```json\n{\n  \"mcpServers\": {\n    \"cogenta\": {\n      \"command\": \"npx\",\n      \"args\": [\"cogenta\", \"mcp\", \"--email\", \"you@example.com\"],\n      \"cwd\": \"/absolute/path/to/my-site\"\n    }\n  }\n}\n```\n\nDrop `--email …` for the anonymous default, swap it for `--role viewer`\nwhile testing locally, or swap it for `--api-key cogenta_sk_…` to connect\nwith a key minted from the admin — the admin's **MCP** screen generates this\nexact JSON block for you, with the key already filled in, right after you\ncreate one. If `cogenta` is installed as a project dependency rather than\nglobally, point `command` at the local binary instead of `npx` (for example\n`\"command\": \"./node_modules/.bin/cogenta\"`).\n\n`COGENTA_AUTH_SIGNING_KEY` and any other environment variables your site's\n`cogenta.config.mjs` needs must be visible to the spawned process — most\nclients accept an `\"env\"` block alongside `\"command\"`/`\"args\"` for exactly\nthis; check your client's own MCP configuration docs for the exact key.\n\n## Known limitation\n\nContent written or published through `cogenta mcp` goes through the same\n`ContentStore` as `cogenta serve`'s REST and GraphQL routes, but **not**\nthrough the same decorated stores `assembleSite` builds — the full-text\nsearch index, the vector (semantic search) index, redirect tracking on a\nslug rename, and scheduled-publish enqueueing are all decorators applied at\n`cogenta serve` startup, and `cogenta mcp` does not currently wire them in.\nAn entry an MCP client creates or edits is real, permission-checked content,\nimmediately visible to `cogenta serve` on its next read — but it will not\nappear in full-text or semantic search results, and a slug rename will not\nleave a redirect, until the next full reindex (`cogenta`'s \"Outils\" admin\nscreen, or a restart that touches the entry again). See `BLOCKERS.md`,\n\"MCP actor scoping\", for the fuller account and the reasoning behind not\ngold-plating this in the first pass.\n","readmeFilename":"README.md"}