{"_id":"@askturret/mcp-transports","_rev":"4-25e9637c57e50007fe439e30d4789afc","name":"@askturret/mcp-transports","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@askturret/mcp-transports","version":"0.1.0","license":"Apache-2.0","_id":"@askturret/mcp-transports@0.1.0","maintainers":[{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},{"name":"alprimak","email":"alprimak@gmail.com"}],"dist":{"shasum":"f74e4edfcc9b946902bec22b6017919432aa26bd","tarball":"https://registry.npmjs.org/@askturret/mcp-transports/-/mcp-transports-0.1.0.tgz","fileCount":21,"integrity":"sha512-TjSIRaFuUfN2paSFjluFmCb7O+srJblxWWPhC8B7pOMF1kMlRCrfVeNlt1Ww6ql8x16dRf6dYZ/LtjFXkBXJ8w==","signatures":[{"sig":"MEYCIQCgnFzHzKz0zUovj9q8ZnIUsdAVPoAxNx/dXXgjrgPOpAIhAKN0Y5KMc6T8mq4TH9NNb58oJ/QY2FWTBhfuq1MSFRI3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91356},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c54b62a19421ed3bc620807cfc871e2c94b76576","scripts":{"lint":"echo \"Linting not yet configured\"","test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc"},"_npmUser":{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},"_npmVersion":"11.8.0","description":"MCP transport adapters - Streamable HTTP","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@askturret/mcp-core":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.0","typescript":"*","@types/node":"^20.14.0","@jest/globals":"^29.7.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.24.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-transports_0.1.0_1788200394033_0.6505305909876462","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@askturret/mcp-transports","version":"0.1.1","keywords":["askturret","mcp","server","client"],"license":"Apache-2.0","_id":"@askturret/mcp-transports@0.1.1","maintainers":[{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},{"name":"alprimak","email":"alprimak@gmail.com"}],"dist":{"shasum":"7e64ba28dc5dd48275b7a72fa450846459c89c02","tarball":"https://registry.npmjs.org/@askturret/mcp-transports/-/mcp-transports-0.1.1.tgz","fileCount":24,"integrity":"sha512-RaPqS3XB3gAhOqeJvaJXvcNYi52RzdnFQTZ1sHq1jWqe5UqzcyrqOud2gLMeF4tjIIGvYkniyEBDPp9Xf623jg==","signatures":[{"sig":"MEQCIHDQWvCFeKjTcVFwL/ajUkO5/H1y4Oy9fcnhEaeMQ4UqAiAR4MzTjCAh+tFx9jtKamDOuXAx3tazFucaTPv+P2e1Sw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113149},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"69d35f79c070c6322357902e786a527261463d3f","scripts":{"lint":"echo \"Linting not yet configured\"","test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc"},"_npmUser":{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},"_npmVersion":"11.8.0","description":"MCP transport adapters - Streamable HTTP","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@askturret/mcp-core":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.0","typescript":"*","@types/node":"^20.14.0","@jest/globals":"^29.7.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.24.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-transports_0.1.1_1788458652463_0.8463671867576197","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@askturret/mcp-transports","version":"0.1.2","keywords":["askturret","mcp","server","client"],"license":"Apache-2.0","_id":"@askturret/mcp-transports@0.1.2","maintainers":[{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},{"name":"alprimak","email":"alprimak@gmail.com"}],"homepage":"https://github.com/askturret/mcp#readme","bugs":{"url":"https://github.com/askturret/mcp/issues"},"dist":{"shasum":"909b1de9e4bc9e9020cbb20f04c6250112cbf13b","tarball":"https://registry.npmjs.org/@askturret/mcp-transports/-/mcp-transports-0.1.2.tgz","fileCount":24,"integrity":"sha512-3uZ+Sp+LJlnv3wugXKoIBG9zClSY0CHGCuaVsflFQGqcFQ96kaS/FAuYDpxv5lAdzw2WT2fAD/D7fMyApEEq7w==","signatures":[{"sig":"MEQCIAOCRzGVU210xxPHXIkoVS2N+Aey9Dd17+CPJrLcvxFWAiAydpt89cdYVOJS48lSriRw8bTwj3YByFL3DLNoWAAVMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@askturret%2fmcp-transports@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":113432},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ec334b34d1a55df0d4f8c2d5f69c7e80679476e5","scripts":{"lint":"echo \"Linting not yet configured\"","test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc"},"_npmUser":{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},"repository":{"url":"git+https://github.com/askturret/mcp.git","type":"git","directory":"packages/transports"},"_npmVersion":"10.8.2","description":"MCP transport adapters - Streamable HTTP","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@askturret/mcp-core":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.0","typescript":"*","@types/node":"^20.14.0","@jest/globals":"^29.7.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.24.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-transports_0.1.2_1788607237829_0.36175889468173406","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@askturret/mcp-transports","version":"0.2.0","description":"MCP transport adapters - Streamable HTTP","type":"module","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/askturret/mcp.git","directory":"packages/transports"},"homepage":"https://github.com/askturret/mcp#readme","bugs":{"url":"https://github.com/askturret/mcp/issues"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsc","test":"NODE_OPTIONS=--experimental-vm-modules jest","lint":"echo \"Linting not yet configured\""},"dependencies":{"@askturret/mcp-core":"^0.2.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.24.0"},"devDependencies":{"@jest/globals":"^29.7.0","@types/node":"^20.14.0","jest":"^29.7.0","ts-jest":"^29.1.0","typescript":"*"},"keywords":["askturret","mcp","server","client"],"_id":"@askturret/mcp-transports@0.2.0","gitHead":"01db00fa88fb96dac636f82fc70bd248e834c9c7","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-759Ikw6qWRL94R2zGCZoJTZXW/EXjdXmq5GCEN84nxbHqP1obkhN6AB6nz3Z8kYvu7o56CWXBzVxpKfqNtGvQQ==","shasum":"cf9a28209da304eaedfc6102f37334299b99bf1f","tarball":"https://registry.npmjs.org/@askturret/mcp-transports/-/mcp-transports-0.2.0.tgz","fileCount":24,"unpackedSize":114083,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@askturret%2fmcp-transports@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDd5QWKhb/FtBTsQMdHu5cReIcN/0WG2CPwMPClpB8Z9QIhAOM0VZ9ZhQ9lCaAqwVW9fCKlUWq4P70hIEzTEz9irxrb"}]},"_npmUser":{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},"directories":{},"maintainers":[{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},{"name":"alprimak","email":"alprimak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-transports_0.2.0_1789133935467_0.41635410514384374"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-31T18:19:53.885Z","modified":"2026-09-11T13:38:55.984Z","0.1.0":"2026-08-31T18:19:54.186Z","0.1.1":"2026-09-03T18:04:12.603Z","0.1.2":"2026-09-05T11:20:37.978Z","0.2.0":"2026-09-11T13:38:55.604Z"},"bugs":{"url":"https://github.com/askturret/mcp/issues"},"license":"Apache-2.0","homepage":"https://github.com/askturret/mcp#readme","keywords":["askturret","mcp","server","client"],"repository":{"type":"git","url":"git+https://github.com/askturret/mcp.git","directory":"packages/transports"},"description":"MCP transport adapters - Streamable HTTP","maintainers":[{"name":"didi178","email":"dmitry.stepanov37@gmail.com"},{"name":"alprimak","email":"alprimak@gmail.com"}],"readme":"# @askturret/mcp-transports\n\nThe wire layer: MCP's **Streamable HTTP** transport, plus the session storage it\nneeds. This is what carries JSON-RPC between an agent and the runtime.\n\nMost people never install this directly — the Express and Fastify adapters pull\nit in and wire it up. Install it yourself when you are serving MCP from a\nframework we do not ship an adapter for, or when you need to control session\nstorage.\n\n## What it is for\n\n```js\nimport { createHttpTransport, createInMemorySessionStore } from '@askturret/mcp-transports';\n\nconst transport = createHttpTransport({\n  sessionStore: createInMemorySessionStore(),\n});\n```\n\n`createHttpTransport` gives you the request-handling half of a server;\n`createInMemorySessionStore` is a `SessionStore` implementation suitable for a\nsingle process.\n\n## Sessions\n\nStreamable HTTP is stateless per request but MCP conversations are not, so\nsession state is an explicit dependency rather than a hidden global. The\nin-memory store is the default and is the right choice for one process. It is\n**not** shared across instances: behind a load balancer, or anywhere requests\nfor one session can land on different processes, implement `SessionStore`\nagainst something shared.\n\nMaking the store an interface rather than an implementation detail is the point\n— the transport does not care where session data lives.\n\n## Requirements\n\n```bash\nnpm install @askturret/mcp-transports\n```\n\n`@modelcontextprotocol/sdk` is a **peer dependency** (`^1.24.0`) — install it\nyourself so there is exactly one copy of the protocol types in your tree. Node 20+.\n\n## What it does not do\n\nIt moves bytes and tracks sessions. It does not discover operations, compile\nthem, apply policy or execute anything — all of that is\n[`@askturret/mcp-core`](https://www.npmjs.com/package/@askturret/mcp-core).\n\nIt is also not a framework binding: it does not know about Express routers or\nFastify plugins. If that is what you want, the adapters are thinner than doing\nit by hand.\n\n---\n\nFull documentation is in the [main README](https://github.com/askturret/mcp#readme).\n","readmeFilename":"README.md"}