{"_id":"@kidakaka/manthan-mcp","_rev":"7-93604ac4183c8c75d9ecb480f65889da","name":"@kidakaka/manthan-mcp","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0-stage":{"name":"@kidakaka/manthan-mcp","version":"0.0.0-stage","_id":"@kidakaka/manthan-mcp@0.0.0-stage","stub":true,"maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"dist":{"shasum":"5bffb033127dd6bb4ad67a33725e17645b390080","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-/zINOw5R+RcH/BNzkAEPRF25WZ2/qik4m/9HSW0JbkxAVMnpCg1dnQ7uDX501SFw4fMaCI4MvZx5/UJBgLTozg==","signatures":[{"sig":"MEUCIQC1VzCicsS8f6hmQHm/nEz5xe4Iq913+jKIVj0O4ayhMQIgE5SaDJupIIOlSYEo4K19bhTAXMB5Vhk9SzR77msI020=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":343},"_npmUser":{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"name":"@kidakaka/manthan-mcp","version":"0.1.0","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","_id":"@kidakaka/manthan-mcp@0.1.0","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"homepage":"https://github.com/kidakaka/manthan-mcp#readme","bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"bin":{"manthan":"dist/index.js"},"dist":{"shasum":"5026c7f75e43eeaedb56bde4a877cf74eead97e5","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.1.0.tgz","fileCount":56,"integrity":"sha512-S6leQRo0T/nypoFUpvBWG7my+gJxTZ6sYjDnuM2lN6+gFezEOWmSBk+9GIuqwP9bYtDH7FDWFMKQh1ZAV4W2uQ==","signatures":[{"sig":"MEUCIAGTA5zOdEEorRujSobAv9aoqLN3HNnOV5In1uad14yRAiEAvi3oECRfz03Bqaqn0tFZVtsVtOidrnrHufwuS47LD5k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDPzQrEFxVzIGDbZLdhRBkGAI8i7iXEgSorr3j+fKmrIgIgQ3w73aPCgZ97Fs7hxsmpWBFSeJ4d+Nq1Ci/WpJPRkZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191748},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"24a6343476c93464dc64cc8d5a0d762aff738022","scripts":{"test":"node --import tsx --test tests/e2e-memory-flow.test.ts tests/client-linker.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"},"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"11.17.0","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^3.27.0","gray-matter":"^4.0.3","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/manthan-mcp_0.1.0_1794230277513_0.009739734341341233","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@kidakaka/manthan-mcp","version":"0.1.1","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","_id":"@kidakaka/manthan-mcp@0.1.1","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"homepage":"https://github.com/kidakaka/manthan-mcp#readme","bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"bin":{"manthan":"dist/index.js"},"dist":{"shasum":"be5c4e14f1688f5fc4a24c445659f55e11a2fbfc","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.1.1.tgz","fileCount":56,"integrity":"sha512-X+2DDHKwnRsnQnEtBdwJojMsRyBMlSNq3CYGXYwi1lQTSRzIcS9XBxvBlzfGlZ6oluNpI/tIj2viMA6Gd9kSFg==","signatures":[{"sig":"MEQCIBxzWIuH0XOHM6BLJk7tGB3RzQc/KS2xSjpji9rgGjAVAiBOpySe8jV/qKK0jYMJi0t3wzjlsVhPjo0ePfYam98oUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDbwiVf6PWNHx4TLtlR8ytqtWyV/3afh1RxZGBQ/euFMAIgDrJppLjg4ytigIiAuu5ObHUjXCibhCM9bJRfP6eoc2U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kidakaka%2fmanthan-mcp@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":193575},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"35a5a4bc5a6ded4fe951f9539cc84cc7ee955dd8","scripts":{"test":"node --import tsx --test tests/e2e-memory-flow.test.ts tests/client-linker.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2d0eb472-6419-4e77-8bff-4d794d84a075"}},"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"12.2.2","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^3.27.0","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/manthan-mcp_0.1.1_1794646235121_0.9140629009803967","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@kidakaka/manthan-mcp","version":"0.2.0","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","_id":"@kidakaka/manthan-mcp@0.2.0","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"homepage":"https://github.com/kidakaka/manthan-mcp#readme","bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"bin":{"manthan":"dist/index.js"},"dist":{"shasum":"e1a3173ae11276a9b2d5195f4c7acdd35197e144","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.2.0.tgz","fileCount":60,"integrity":"sha512-4zmSIMZ813z9O3cMoH/4cpe/ti01ik9kpuTv1APUVoSZb3/FQAJFCm0AXOK2g8oGVwe6ocqK6tBMQnPSA66jJQ==","signatures":[{"sig":"MEQCIDvPdIgn7z1eSRmi+tXQ9MvBGjZlZsVfEz2y5jd4B03UAiBzO6NFFPuhrRfFDOiWXhdstfyJ9Z34Hn/ryVGVHAKuGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCEP5MLT7tbJ+VUW+oW4pM5L1dKYNDfdbRoBSYBdD5WTQIgK0oYZ6hhswtD1ep8hdfXISFtGSsagkSUA85KHFz5jqc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kidakaka%2fmanthan-mcp@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":211709},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"6d04704c47b2c2122943d8ef6850c38fdb90c3db","scripts":{"test":"node --import tsx --test tests/e2e-memory-flow.test.ts tests/client-linker.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2d0eb472-6419-4e77-8bff-4d794d84a075"}},"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"12.2.2","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^3.27.0","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/manthan-mcp_0.2.0_1794647801126_0.225791632484602","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@kidakaka/manthan-mcp","version":"0.3.0","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","_id":"@kidakaka/manthan-mcp@0.3.0","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"homepage":"https://github.com/kidakaka/manthan-mcp#readme","bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"bin":{"manthan":"dist/index.js"},"dist":{"shasum":"90d68e14b80586d243e0ad75e2d6c21e271cac4e","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.3.0.tgz","fileCount":60,"integrity":"sha512-sy5M5F4WcS5eNWWBN/cMaSo2JjgwWB50q/6dmcQvuZzkwWwFSbODbY5qSH9p3yh+Nb2RPfA28aHdBh3dQDwc2w==","signatures":[{"sig":"MEQCIG2x1DztM4i77GXfAHWw3U0MDLpzVEInCXSL5l4yXyXlAiB3FQXhZFT0P+bySmEVhiCF1dW719P7mQAkVSwsEAi6AA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFaAmTZ5zUwaDcPj8r7S/gFvF2JG0cHfey736T1fgIpAAiEAikNX70gguZwYJrghM1fKX6ZmjD+RTMaD4RU/s74EyPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kidakaka%2fmanthan-mcp@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":214500},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"08e6397054579809da69571f58cce8023fd279b9","scripts":{"test":"node --import tsx --test tests/e2e-memory-flow.test.ts tests/client-linker.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2d0eb472-6419-4e77-8bff-4d794d84a075"}},"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"12.2.2","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^4.0.2","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/manthan-mcp_0.3.0_1794729473360_0.9161614021016395","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@kidakaka/manthan-mcp","version":"0.3.1","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","_id":"@kidakaka/manthan-mcp@0.3.1","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"homepage":"https://github.com/kidakaka/manthan-mcp#readme","bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"bin":{"manthan":"dist/index.js"},"dist":{"shasum":"449edb6dad5363d9634c8f94b9003f46afd56841","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.3.1.tgz","fileCount":60,"integrity":"sha512-EP36Gekm1a/K5fnNSRFM6QiYvtLsuz3AW8q7yUIQXJeTszg/vyShQ1Rnc83IkP/j0wjmqpt3sOsoV+ANqrJZMw==","signatures":[{"sig":"MEQCIEqVEYvCs1tnwIthfmrlnJxfgedSOdzZFcTXoGX+9a9IAiBZRhnZzB3yQnHzbJ7IlJkboNVFFlk9uXI0oh3v9h8/0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCW4nNKFHbJRH7gBLU2zrgfaABiluhwBvgzZy6rbZRW3AIgQkT3zc6khS6P/0NJpz7VTYxDr+GmxJj+ewwz7vRz+PU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kidakaka%2fmanthan-mcp@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":214500},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"1441b0a72145141f8a86c48d189f8e2059d9640e","scripts":{"test":"node --import tsx --test tests/e2e-memory-flow.test.ts tests/client-linker.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2d0eb472-6419-4e77-8bff-4d794d84a075"}},"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"12.2.2","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^4.0.2","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/manthan-mcp_0.3.1_1794731896698_0.9967947595044652","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@kidakaka/manthan-mcp@0.4.0","bin":{"manthan":"dist/index.js"},"bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"dist":{"shasum":"cd1c7204660fd38e6700a6520c9b797d382639d0","tarball":"https://registry.npmjs.org/@kidakaka/manthan-mcp/-/manthan-mcp-0.4.0.tgz","fileCount":68,"integrity":"sha512-bG0mCQS1T5mor74vYIj+RfYraUJ4aq6EqJTv/mcRAMiuiJf11BFnX0VcRq9RyvLZbnxKOT1V5w/k5TmtZkG7vg==","signatures":[{"sig":"MEUCIH4gazWRbWJwCT3PBlEmVAURITTcp9uulmvWx0gNOcewAiEA8jVhew9AATg0WB10sT5VDWDnZyqSNDRrWorCqfIrB5w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCnmV2LJvMyweP/++tXRQVMGN3yMIqUukf/U106Fp8oMQIhAIc6WiUhWIu+kr5lkP4HTvtMt32j6bnz+EOHGx0bS+o0"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kidakaka%2fmanthan-mcp@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":256237},"main":"./dist/index.js","name":"@kidakaka/manthan-mcp","type":"module","types":"./dist/index.d.ts","author":{"name":"Prasad Ajinkya and Manthan Contributors"},"engines":{"node":">=22.5.0"},"gitHead":"013264bdf41d278c413443e99ee73978e05bd841","license":"Apache-2.0","scripts":{"test":"node --import tsx --test tests/security-governance.test.ts tests/schema-lifecycle.test.ts tests/sqlite-indexer-lifecycle.test.ts tests/governance-lifecycle.test.ts tests/client-linker.test.ts tests/e2e-memory-flow.test.ts","build":"tsc","start":"node dist/index.js serve","manthan":"tsx src/index.ts","prepublishOnly":"npm run build"},"version":"0.4.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2d0eb472-6419-4e77-8bff-4d794d84a075"}},"homepage":"https://github.com/kidakaka/manthan-mcp#readme","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"_npmVersion":"12.2.2","description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","directories":{},"maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.24.2","yaml":"^2.7.0","commander":"^13.1.0","simple-git":"^4.0.2","@modelcontextprotocol/sdk":"^1.32.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","typescript":"^5.7.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/manthan-mcp_0.4.0_1794751586321_0.6217972014512892"}}},"time":{"created":"2026-11-09T13:17:01.747Z","modified":"2026-11-15T14:06:26.766Z","0.0.0-stage":"2026-11-09T13:17:01.747Z","0.1.0":"2026-11-09T13:17:57.595Z","0.1.1":"2026-11-14T08:50:35.187Z","0.2.0":"2026-11-14T09:16:41.219Z","0.3.0":"2026-11-15T07:57:53.454Z","0.3.1":"2026-11-15T08:38:16.795Z","0.4.0":"2026-11-15T14:06:26.418Z"},"bugs":{"url":"https://github.com/kidakaka/manthan-mcp/issues"},"author":{"name":"Prasad Ajinkya and Manthan Contributors"},"license":"Apache-2.0","homepage":"https://github.com/kidakaka/manthan-mcp#readme","keywords":["mcp","model-context-protocol","agent-memory","git","sqlite-fts5","memory-as-code","deterministic-memory"],"repository":{"url":"git+https://github.com/kidakaka/manthan-mcp.git","type":"git"},"description":"Git-native, deterministic memory engine for AI agents exposed via Model Context Protocol (MCP)","maintainers":[{"name":"kidakaka","email":"prasad.ajinkya@gmail.com"}],"readme":"# 🏛️ Manthan Blueprint ([`@kidakaka/manthan-mcp`](https://www.npmjs.com/package/@kidakaka/manthan-mcp))\n\n> **Commercial-Grade, Git-Native, Deterministic Memory Engine for AI Agents via Model Context Protocol (MCP)**\n\n[![npm version](https://img.shields.io/npm/v/@kidakaka/manthan-mcp.svg?color=cb3837&logo=npm)](https://www.npmjs.com/package/@kidakaka/manthan-mcp)\n[![npm downloads](https://img.shields.io/npm/dt/@kidakaka/manthan-mcp.svg?color=blue)](https://www.npmjs.com/package/@kidakaka/manthan-mcp)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.7+-blue.svg)](https://www.typescriptlang.org/)\n[![Node.js](https://img.shields.io/badge/Node.js-%3E%3D22.5%20%7C%2024%20LTS-brightgreen.svg)](https://nodejs.org/)\n[![MCP](https://img.shields.io/badge/MCP-1.32.2-purple.svg)](https://modelcontextprotocol.io/)\n[![License](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](LICENSE)\n[![Sponsor](https://img.shields.io/badge/Sponsor-%E2%99%A5-pink)](https://github.com/sponsors/kidakaka)\n\nUnlike probabilistic vector-only memory layers that suffer from black-box semantic drift and silent hallucinations, **Manthan** treats agent memory as **version-controlled state (\"Memory-as-Code\")**.\n\n- **Git is the Single Source of Truth:** Every state update, architectural decision, and session handoff is an atomic Git commit with full author-agent and observability trace metadata.\n- **Embedded SQLite FTS5 Sidecar Index:** Uses Node's built-in `node:sqlite` (`DatabaseSync` with BM25 ranking) for **sub-5ms** deterministic lexical retrieval with zero native C++ compilation dependencies on Windows, Linux, and macOS.\n- **Git Commit SHA Provenance:** Every memory recall operation returns cryptographic commit SHA provenance, providing reproducible time-travel and compliance auditing.\n\n> [!IMPORTANT]\n> ### 📢 Calling Early Adopters & Agent Builders!\n> **We need real-world user feedback more than code contributions right now.**  \n> If you are building with **Claude Code**, **Cursor**, **Windsurf**, or **Google Antigravity**, we want your feedback: Does deterministic Git-backed memory eliminate the state drift and hallucinations you experience with probabilistic vector stores?  \n> 👉 **[Read our Early Adopter & Contributor Guide](CONTRIBUTING.md#-our-1-priority-early-adopters--real-world-feedback)** | 💬 **[Join GitHub Discussions](https://github.com/kidakaka/manthan-mcp/discussions)**\n\n---\n\n## System Overview\n\nManthan is an open-source, deterministic, Git-native memory engine for AI coding agents exposed through the Model Context Protocol (MCP). It stores agent memories as structured Markdown artifacts with strict YAML frontmatter, archives historical state transitions via atomic Git commits, and provides sub-5ms BM25 lexical recall via an embedded SQLite FTS5 sidecar index (`node:sqlite`).\n\n```\nworkspace/\n├── .manthan.yaml               # Declarative engine configuration\n└── .manthan/\n    ├── index.db                # Ephemeral SQLite FTS5 BM25 search sidecar (gitignored)\n    └── memory/\n        ├── working/            # Active mutable memory (Read/Write)\n        │   └── backend/\n        │       └── mem_01j9x8.md\n        └── constitution/       # Architectural guardrails & ADRs (Read-only)\n            └── core/\n                └── ADR-001.md\n```\n\n### Architectural Tiers:\n1. **Active Memory Store (`working` Layer):** Stores live project state, episodic session decisions, and task handoffs. Validated against a strict Zod schema with atomic Git commits.\n2. **Constitutional Memory (`constitution` Layer):** Stores non-negotiable architectural rules, ADRs, and project conventions inside `.manthan/memory/constitution/`. Proposed additions default to `status: draft` for human review.\n\n---\n\n## Subdirectories & System Boundaries\n\n- [Core Application & Server Runtime (`src`)](./src/README.md) - Wires configuration, storage sub-engines, MCP resources, and tools into a unified `ManthanContext`. Exposes Commander CLI and Stdio MCP runtime.\n  - [Configuration & Client Linker (`src/config`)](./src/config/README.md) - Zod schema validation for `.manthan.yaml`, frontmatter normalization, and automated client configuration injection for Claude Desktop, Cursor, and VS Code.\n  - [Resources Provider (`src/resources`)](./src/resources/README.md) - Direct MCP resource endpoints (`manthan://constitution`, `manthan://active-context`, `manthan://status`) for zero-turn context injection.\n  - [Storage Engine (`src/storage`)](./src/storage/README.md) - Dual-tier persistence through `GitEngine` (commits, lineage, branches), `MarkdownStore` (filesystem YAML/MD), and `SqliteIndexer` (embedded FTS5 BM25).\n  - [MCP Tools Implementation (`src/tools`)](./src/tools/README.md) - Handlers for `recall_memory`, `commit_memory`, `propose_constitution_rule`, `audit_memory_lineage`, `sync_memory_index`, and `fetch_by_tags_and_keywords`.\n\n---\n\n## Global Invariants\n\n- **Memory-as-Code Integrity:** All persistent memory artifacts must reside as `.md` files with valid YAML frontmatter matching `MemoryFrontmatterSchema`.\n- **Constitutional Immutability:** Memories under `layer: \"constitution\"` are read-only during standard agent task execution; new rules are submitted via `propose_constitution_rule` with `layer: 'constitution'` and `status: 'draft'`.\n- **Deterministic Lexical Retrieval:** Search queries execute against SQLite FTS5 BM25 index with fixed column weights (`title: 5.0, tags: 3.0, namespace: 2.0, content: 1.0`), preventing non-deterministic vector drift.\n- **StdIO Protocol Separation:** Standard output (`stdout`) is strictly reserved for JSON-RPC transport frames. All logging, diagnostic outputs, and notices must be written to standard error (`stderr`).\n- **Startup Index Resynchronization:** If the cached `git_head_sha` in the SQLite database does not match the active Git HEAD SHA during server startup, a full index rebuild from disk is automatically performed.\n\n---\n\n## Global Side Effects\n\n- **Local Filesystem:** Creates and modifies files in `.manthan/memory/working/` and `.manthan/memory/constitution/`. May generate or modify `.manthan.yaml` and `.gitignore`.\n- **Embedded Database:** Creates and manages `.manthan/index.db` SQLite database using WAL mode (`PRAGMA journal_mode = WAL`).\n- **Git Version Control:** Executes Git commands via `simple-git`: repository initialization, file staging, atomic commits with author metadata `\"${author_agent} <agent@manthan.internal>\"`, and branch creation (`manthan/rule-${id}`).\n- **Host Client Configuration:** Modifies client configuration files during `link` or `init` (Claude Desktop config in OS AppData/Config, `.cursor/mcp.json`, and `.vscode/mcp.json`).\n\n---\n\n## System Verification\n\n- Run: `npm test`\n\n---\n\n## 🌊 The Origin & Etymology of \"Manthan\" (मंथन)\n\n> *\"Out of the turbulent ocean of chaotic noise, deep contemplation churns the immortal nectar of truth.\"*\n\n**Manthan** (मन्थन) is an ancient Sanskrit word originating from the root ***manth*** (मन्थ्), which translates to **\"to churn, vigorously agitate, deeply contemplate, and extract the concentrated essence from vast substance.\"**\n\nIn Indian philosophy and classical Vedic epics (such as the *Mahabharata* and *Bhagavata Purana*), the term finds its definitive mythic expression in **Samudra Manthan** (समुद्र मन्थन — *The Churning of the Cosmic Ocean*). When the forces of light (*Devas*) and darkness (*Asuras*) churned the primordial ocean of chaos, they churned through the deadly, volatile poisons (*Halahala*) to extract the supreme divine treasures (*Ratnas*) and the ultimate prize: **Amrita** (अमृत) — the immortal nectar of eternal life, truth, and absolute clarity.\n\n### Why Was This Name Chosen for This Engine?\n\nIn modern software engineering with autonomous AI agents, models operate inside a vast, turbulent, and noisy ocean of **ephemeral tokens, fleeting scratchpads, and probabilistic hallucinations**:\n\n1. **Churning the Ocean of Ephemeral Context:**  \n   During real-world development, AI agents generate tens of thousands of tokens of intermediate trial-and-error, debug outputs, and transient hypotheses. If left uncurated, this context degrades into token exhaustion, context drift, and silent hallucinations. **Manthan** acts as the cognitive churning rod — actively stirring through this raw stream, discarding the volatile noise, and distilling the essential truths of your codebase.\n\n2. **From Fleeting Noise to Immortal State (*Amrita*):**  \n   In Indian thought, *Amrita* is that which cannot die (*a-mrita* = deathless). When an agent commits an architectural decision or constitutional rule in Manthan, it is not lost when a context window closes or an LLM session restarts. It is forged into an **immutable, cryptographically signed Git commit** backed by sub-5ms BM25 retrieval — conferring permanence, reproducibility, and time-travel lineage upon the agent's memory.\n\n3. **Contemplative Cognition (*Manan*):**  \n   *Manthan* is intimately linked to the Sanskrit concept of ***Manan*** (मनन) — rigorous intellectual contemplation, inner reflection, and conscious discernment. Rather than treating memory as an opaque, black-box vector database that drifts unpredictably, Manthan treats memory as **version-controlled state (\"Memory-as-Code\")** that humans and agents can consciously audit, debate, and evolve.\n\n---\n\n## 📋 Standardized Memory Artifact Schema\n\nEvery memory artifact is stored as a standard `.md` file with strict YAML frontmatter:\n\n```markdown\n---\nid: \"mem_01j9x8k2m\"\ntitle: \"API Idempotency Key Header Standard\"\nlayer: \"working\" # \"working\" | \"constitution\"\nnamespace: \"backend/payments\" # Logical topic or directory slug\nstatus: \"active\" # \"active\" | \"superseded\" | \"draft\" | \"archived\"\nauthor_agent: \"claude-code\"\ntrace_id: \"tr_98234792\"\nsupersedes: null # Optional ID of previous memory artifact\ntags: [\"idempotency\", \"api\", \"payments\"]\nupdated_at: \"2026-11-09T10:00:00.000Z\"\n---\n\n## Context & Decision\nAll payment mutation endpoints must accept and validate a unique `Idempotency-Key` header.\n```\n\n---\n\n## 🛠️ MCP Tools Specification\n\nManthan exposes 6 deterministic tools to any MCP-compliant client:\n\n| Tool | Purpose | Key Inputs | Key Outputs |\n| :--- | :--- | :--- | :--- |\n| `recall_memory` | Lexical BM25 search across state & guardrails | `query`, `namespace`, `tags`, `include_constitution`, `limit` | JSON bundle of `constitution_rules` & `working_memories` with Git commit SHAs |\n| `commit_memory` | Atomic state write with Git commit & FTS indexing | `namespace`, `title`, `content`, `tags`, `author_agent`, `trace_id`, `supersedes_id` | Commit SHA, artifact path, and confirmation |\n| `propose_constitution_rule` | Propose architectural law or ADR for review | `title`, `content`, `namespace`, `rationale`, `author_agent`, `source_memory_id` | Draft artifact path and human review guidance |\n| `audit_memory_lineage` | Provenance audit and time-travel history | `memory_id` or `file_path`, `max_commits` | Chronological commit history, agent author, and diff summary |\n| `sync_memory_index` | Sidecar index maintenance & cache refresh | `force_rebuild` | Indexed counts, duration, and synchronized Git HEAD SHA |\n| `fetch_by_tags_and_keywords` | Tag-filtered BM25 retrieval with snippet extraction | `tags`, `tag_mode`, `keywords`, `doc_type`, `trust_tier`, `limit`, `snippets` | Compact excerpt list and OKF v0.2 matching documents |\n\n---\n\n## 📦 Native MCP Resources (`manthan://...`)\n\nManthan exposes live MCP Resources that clients (Claude, Cursor, Antigravity) can read directly into their context window without burning a tool turn:\n\n| URI | Type | Purpose | Content |\n| :--- | :--- | :--- | :--- |\n| `manthan://constitution` | `text/markdown` | Zero-turn guardrail injection | Active architectural rules & ADRs |\n| `manthan://active-context` | `text/markdown` | Active working context snapshot | Active episodic memories & handoffs |\n| `manthan://status` | `application/json` | Telemetry & engine health | Memory counts, Git HEAD SHA & BM25 config |\n\n---\n\n## ⚙️ Declarative Configuration (`.manthan.yaml`)\n\n```yaml\nversion: \"1.0\"\nproject: \"my-project\"\n\nstorage:\n  root_dir: \".manthan/memory\"\n  working_dir: \".manthan/memory/working\"\n  constitution_dir: \".manthan/memory/constitution\"\n  index_db_path: \".manthan/index.db\"\n\ngit:\n  auto_commit: true\n  branch_strategy: \"direct\" # \"direct\" | \"session-branch\"\n  commit_prefix: \"chore(manthan):\"\n\ngovernance:\n  prioritize_constitution_on_recall: true\n  allow_direct_constitution_writes: false\n\nretrieval:\n  bm25_weights:\n    title: 5.0      # Boost title matches 5x\n    tags: 3.0       # Boost tag matches 3x\n    namespace: 2.0  # Boost namespace matches 2x\n    content: 1.0    # Base content body weight\n```\n\n---\n\n## 🚀 Quickstart & Frictionless Setup\n\n> 💡 **Zero Background Daemons Needed!**  \n> Unlike traditional servers, you **never** need to keep a terminal open running `manthan serve`. Your LLM client (Cursor, Claude Desktop, VS Code) launches Manthan automatically in the background as an isolated sidecar process over stdio.\n\n### 1. Initialize Manthan in your repository\n```bash\nnpx @kidakaka/manthan-mcp init\n```\nThis automatically:\n- Creates `.manthan.yaml` with declarative settings.\n- Creates directory structures for `working` and `constitution` memories.\n- Adds `.manthan/index.db*` to `.gitignore`.\n- Initializes Git (if not already initialized).\n- Seeds initial constitutional rules (`ADR-001`) and working memories.\n- Builds the local SQLite FTS5 search index.\n- **Auto-configures Cursor & VS Code:** Generates `.cursor/mcp.json` and `.vscode/mcp.json` in your repository so you can start immediately with zero manual configuration!\n\n### 2. Auto-Link to Claude Desktop (1-Click)\nTo automatically connect Claude Desktop without touching JSON files or hunting down OS appdata paths:\n\n```bash\nnpx @kidakaka/manthan-mcp link claude\n```\n\n*(You can also run `npx @kidakaka/manthan-mcp link all` to configure all detected LLM clients at once).*\n\n### 3. Inspect Status\n```bash\nnpx @kidakaka/manthan-mcp status\n```\n\n---\n\n## 🔌 Manual Client Integration (Optional)\n\nIf you prefer to configure your client manually, add the following to your client's settings:\n\n### 1. Claude Desktop\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"manthan\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@kidakaka/manthan-mcp\", \"serve\"]\n    }\n  }\n}\n```\n\n### 2. Cursor\nIn `.cursor/mcp.json` *(already generated automatically by `manthan init`)*:\n\n```json\n{\n  \"mcpServers\": {\n    \"manthan\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@kidakaka/manthan-mcp\", \"serve\"]\n    }\n  }\n}\n```\n\n### 3. VS Code / Copilot / Cline\nIn `.vscode/mcp.json` *(already generated automatically by `manthan init`)*:\n\n```json\n{\n  \"mcpServers\": {\n    \"manthan\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@kidakaka/manthan-mcp\", \"serve\"]\n    }\n  }\n}\n```\n\n### 4. Google Antigravity\nAdd to your Antigravity MCP configuration (`~/.gemini/antigravity/mcp/manthan.json` or `config.json`):\n\n```json\n{\n  \"name\": \"manthan\",\n  \"command\": \"npx\",\n  \"args\": [\"-y\", \"@kidakaka/manthan-mcp\", \"serve\"]\n}\n```\n\n---\n\n## 💻 CLI Commands Reference\n\n- `manthan init [--dir <path>] [-c <client>]`: Initialize memory storage, seed artifacts, and generate client configs.\n- `manthan link [claude|cursor|vscode|all]`: Automatically link the MCP server into your LLM client configuration.\n- `manthan serve [--dir <path>]`: Start the MCP server over stdio (called automatically by LLM clients).\n- `manthan status [--dir <path>]`: View memory counts, Git HEAD, and index health.\n- `manthan reindex [--dir <path>]`: Force a complete rebuild of the SQLite FTS5 index.\n\n---\n\n## 🧪 Testing\n\nRun the automated end-to-end integration test suite:\n\n```bash\nnpm test\n```\n\nThe test verifies:\n1. Workspace initialization and Git repository detection.\n2. Atomic `commit_memory` execution and Git SHA stamping.\n3. Sub-5ms BM25 lexical recall with `recall_memory`.\n4. State supersession (marking v1 as `superseded`, creating v2 as `active`, excluding superseded items from recall).\n5. Constitutional rule proposal and staging with `status: draft`.\n6. Audit lineage retrieval via Git commit logs.\n7. Full FTS5 sidecar index rebuilding and HEAD SHA synchronization.\n\n---\n\n## 🤝 Contributing & Early Feedback\n\n**We value real-world feedback from early adopters above everything else.**\n\n- **If you are an agent developer or user:** Test Manthan in your repository and tell us what works, what breaks, and how your agent behaves with deterministic state handoffs.\n- **If you are a systems/TypeScript engineer:** Help us expand MCP client presets, optimize BM25 tokenizers, and build multi-repo memory federation.\n\nPlease check out our **[Contributing Guide](CONTRIBUTING.md)** and **[Project Roadmap & TODO](TODO.md)** for our complete publishing checklist, discussion links, and local development instructions.\n\n---\n\n## 💖 Sponsorship & Support\n\nIf Manthan helps eliminate hallucination and state drift in your AI agents, consider supporting ongoing open-source maintenance via [GitHub Sponsors](https://github.com/sponsors/kidakaka).\n\n---\n\n## 📄 License\n\nLicensed under the [Apache License, Version 2.0](LICENSE) (the \"License\").  \nYou may not use this software except in compliance with the License.\n\nCopyright © 2026 Prasad Ajinkya and Manthan Contributors.\n","readmeFilename":"README.md"}