{"_id":"@modelcontextprotocol/server-legacy","_rev":"21-3f4478d74b84803db771827fb75688fc","name":"@modelcontextprotocol/server-legacy","dist-tags":{"latest":"2.3.1"},"versions":{"2.0.0-alpha.2":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-alpha.2","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-alpha.2","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"fe09b2d71854eef1337075cef712bf7e06d5d342","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-5EzGlLvJRw13MfX5ZmkWfgy2ST2zNZZPeR4EfApRFLk6XASZ4qn1AOIGZkKeeQ0jJFrucADKvOhRm3rQfu+7bQ==","signatures":[{"sig":"MEYCIQDtdD3qAUpUBLjav2wBa+v3LnT7/Rh0h09rvZ7C6N+GtAIhAKi+dPnifInXKwqKRbEsEKEAVNDwOV8TOVHB1R3shIKH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":391009},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./sse":{"types":"./dist/sse/index.d.mts","import":"./dist/sse/index.mjs"},"./auth":{"types":"./dist/auth/index.d.mts","import":"./dist/auth/index.mjs"}},"gitHead":"0fb8406d83a3578a12a605e1b43c352d565071b1","private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","prepack":"pnpm run build","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"fweinberger","email":"fweinberger@anthropic.com"},"deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"catalog:runtimeShared","cors":"catalog:runtimeServerOnly","raw-body":"catalog:runtimeServerOnly","content-type":"catalog:runtimeServerOnly","pkce-challenge":"catalog:runtimeShared","express-rate-limit":"^8.2.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"catalog:devTools","tsdown":"catalog:devTools","vitest":"catalog:devTools","prettier":"catalog:devTools","supertest":"catalog:devTools","@eslint/js":"catalog:devTools","typescript":"catalog:devTools","@types/cors":"catalog:devTools","@types/express":"catalog:devTools","eslint-plugin-n":"catalog:devTools","@types/supertest":"catalog:devTools","typescript-eslint":"catalog:devTools","@types/content-type":"catalog:devTools","eslint-config-prettier":"catalog:devTools","@typescript/native-preview":"catalog:devTools","@modelcontextprotocol/tsconfig":"workspace:^","@types/express-serve-static-core":"catalog:devTools","@modelcontextprotocol/core-internal":"workspace:^","@modelcontextprotocol/eslint-config":"workspace:^","@modelcontextprotocol/vitest-config":"workspace:^"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-alpha.2_1782416937385_0.13939614649501397","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.3":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-alpha.3","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-alpha.3","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"5dc827b859818d9435e09c33ecd5c9f12c7f54b3","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-ny2TlhsXMlO5LguBB2udADMT1O96nFghKdh8P4BSkgh1AmQSq28PVrJaN3BVJQXlRv5PKRA4u9Ow0CNw3nfXKA==","signatures":[{"sig":"MEQCIAgK4HyugymqjXrX0NPfe4MAWGsDgvZM2yh5EByW3Z6cAiB+Vz0ILHq/aadYjFANxNwNc9msmMYA2LXBwPV6hvLDlQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-alpha.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":402594},"type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-alpha.3.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./sse":{"types":"./dist/sse/index.d.mts","import":"./dist/sse/index.mjs"},"./auth":{"types":"./dist/auth/index.d.mts","import":"./dist/auth/index.mjs"}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/06972000cc57009f66c7e432210ffe91/modelcontextprotocol-server-legacy-2.0.0-alpha.3.tgz","_integrity":"sha512-ny2TlhsXMlO5LguBB2udADMT1O96nFghKdh8P4BSkgh1AmQSq28PVrJaN3BVJQXlRv5PKRA4u9Ow0CNw3nfXKA==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.17.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-alpha.2","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-alpha.3_1782417150757_0.9012245462648392","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.4":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-alpha.4","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-alpha.4","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"b498602d95b90ae224d0b25b747d86f74f8eedef","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-xtYMHtNOSxuWZE0nTpVZkVpQiwzCBAxZT1/0/EpUPFrwvLIxkBd+2LQKfPNA0wuyXofGUj200bdEKQsllq/ekQ==","signatures":[{"sig":"MEUCIQDLCNelm9PVeZLbbI5XavxbmmTk6K0wQDN2V60qj8TEWQIgfz8K8USocAZY9TKRBC28quKiewZbQUi7zPE1yu2BDGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-alpha.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1098904},"type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-alpha.4.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./sse":{"types":"./dist/sse/index.d.mts","import":"./dist/sse/index.mjs"},"./auth":{"types":"./dist/auth/index.d.mts","import":"./dist/auth/index.mjs"}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/9abc11877c068162ace3205ff04ff39f/modelcontextprotocol-server-legacy-2.0.0-alpha.4.tgz","_integrity":"sha512-xtYMHtNOSxuWZE0nTpVZkVpQiwzCBAxZT1/0/EpUPFrwvLIxkBd+2LQKfPNA0wuyXofGUj200bdEKQsllq/ekQ==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.17.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-alpha.3","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-alpha.4_1782853222024_0.39562819877524635","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.1":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-beta.1","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-beta.1","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"e16f14718be8a257775601d43a1923cd4f428cbb","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-beta.1.tgz","fileCount":21,"integrity":"sha512-KyBmF+cEeFkq02ArD2GCiq2sTk8w01zZzn55KQHb7KvQQ0ABcsP1j0zT4pefqFGg86JSky+BdcGwmPgwE+I9Vw==","signatures":[{"sig":"MEUCIQDlRRd5oI6crCLl1G8DdGPvO8EnipOcT5UsIbT1ZOt2yAIga97Dzs5yR/0AZLWspG2yIXDJGgbp/F49JP8pFqZrQ5o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1098902},"type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-beta.1.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./sse":{"types":"./dist/sse/index.d.mts","import":"./dist/sse/index.mjs"},"./auth":{"types":"./dist/auth/index.d.mts","import":"./dist/auth/index.mjs"}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/77d06846776979983d10957460ff705c/modelcontextprotocol-server-legacy-2.0.0-beta.1.tgz","_integrity":"sha512-KyBmF+cEeFkq02ArD2GCiq2sTk8w01zZzn55KQHb7KvQQ0ABcsP1j0zT4pefqFGg86JSky+BdcGwmPgwE+I9Vw==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.17.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-beta.0","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-beta.1_1782859703083_0.30340323705962136","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.2":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-beta.2","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-beta.2","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"aee67d5338c0b159304c8a24ce66526cf74a7379","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-beta.2.tgz","fileCount":39,"integrity":"sha512-8UZOLpHcukAGZc4xNspajlPy7pIUAjgxX9tPE2ZAdYAFx/zLv/uIniTgG/CNK+iDgfPiZTm8Qf2t/+C5OWxnMQ==","signatures":[{"sig":"MEQCIAOeehH707sLprCtxLXXdXQjJLhjTeGWkeUTqeApGQbXAiASC13IYyO/XExt/t4B8p4mOQCsd6aXVXhde8oMpDtksQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2203648},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-beta.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/71db038ab8b879afcd4a6401e43221cd/modelcontextprotocol-server-legacy-2.0.0-beta.2.tgz","_integrity":"sha512-8UZOLpHcukAGZc4xNspajlPy7pIUAjgxX9tPE2ZAdYAFx/zLv/uIniTgG/CNK+iDgfPiZTm8Qf2t/+C5OWxnMQ==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-beta.1","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-beta.2_1782995265869_0.40209143646460044","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.4":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-beta.4","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-beta.4","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"b8295c79ac64bcfd69615df0f5fe62f3ab4d7fcd","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-beta.4.tgz","fileCount":39,"integrity":"sha512-GaEa7mfjTqevGuz2taFj2fqb3FthxFvWOmoI/wbLmiK1XRnxdYsAaaJG/lgSlA+W6XWJ1+u+6oZ7610TowkjMA==","signatures":[{"sig":"MEYCIQC9vJPmZ+1YClBOobu1dKUOaOEoERJM3/kHTEcw2zb9KQIhANR6sqLRMF1pRmUkE346EQw7o2tCrmP1uBqrAnj2rZLU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-beta.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2056896},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-beta.4.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/d456818b71ffc255bb8d3bb913e0b985/modelcontextprotocol-server-legacy-2.0.0-beta.4.tgz","_integrity":"sha512-GaEa7mfjTqevGuz2taFj2fqb3FthxFvWOmoI/wbLmiK1XRnxdYsAaaJG/lgSlA+W6XWJ1+u+6oZ7610TowkjMA==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.0.0-beta.4"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-beta.3","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-beta.4_1783964405858_0.3941020383986671","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.5":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0-beta.5","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0-beta.5","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"57d19ddb070af0859f8da15543f14b673f750b20","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0-beta.5.tgz","fileCount":39,"integrity":"sha512-8BemN4avQnG6Fu660fZCqnPGpeyL7gg5kxUceZQh7JCt8oqzX1bwJkNV+cKS01LPAaPbl93INneD+mBtJWKWvQ==","signatures":[{"sig":"MEUCIHSAqFpGGV9onWPQ+rEiKqYoZ0VdDCTr9orsmqlBUuGhAiEAt3Zmac7sgyciDq+84yX8FwT8Ad1mhsJKlydNdb3kfQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0-beta.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2075433},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0-beta.5.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/2a2091717469645f7c99e7e0a0f70e28/modelcontextprotocol-server-legacy-2.0.0-beta.5.tgz","_integrity":"sha512-8BemN4avQnG6Fu660fZCqnPGpeyL7gg5kxUceZQh7JCt8oqzX1bwJkNV+cKS01LPAaPbl93INneD+mBtJWKWvQ==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.0.0-beta.5"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0-beta.4","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0-beta.5_1784641170421_0.8346391154462818","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@modelcontextprotocol/server-legacy","version":"2.0.0","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.0.0","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ashwin-ant","email":"ashwin@anthropic.com"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"07c93b13a74bc2cdfe8cf6d684a753556abe2811","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.0.0.tgz","fileCount":39,"integrity":"sha512-LnffC1BSqFMHtMQxEz92lqDpHWma+ErV3ghdHDgdkCyYzVcCYKcUT5loq4kflty+Bf9C9qjJqbnphyBWyCqo8Q==","signatures":[{"sig":"MEUCIAPka95hxr9eISAeTpDEOeJbKiB4suMeiE0kU+j+IIq/AiEAjH3g4K2mOhhTgR3R8si45as44hhngJnh9LudNX3Rvfc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2100778},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.0.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/b09ac468d02df569cd31c9f1599140e8/modelcontextprotocol-server-legacy-2.0.0.tgz","_integrity":"sha512-LnffC1BSqFMHtMQxEz92lqDpHWma+ErV3ghdHDgdkCyYzVcCYKcUT5loq4kflty+Bf9C9qjJqbnphyBWyCqo8Q==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.0.0"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.0","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.0.0_1785196520756_0.1809755465599019","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@modelcontextprotocol/server-legacy","version":"2.1.0","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.1.0","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"142df58efa0fd53d713e04213c1cd1fce416cf45","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.1.0.tgz","fileCount":39,"integrity":"sha512-Ax84OEIzSQw+GIYeuJmlQZP/Yg+jvPVfUd5GYdpChn9fCHrSsDNxE+X+klvxB6hjmacRsa1S11EnZ6P6P2WXgQ==","signatures":[{"sig":"MEQCICSqIvPbCHZZ0jaDocWG6MnDLmq6jGgxdzdbwvAIHbdlAiAGlwOwbpP/39ewT7MfYi+Bt2mE7s4nTzUiLFIDXFUGuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDiN3/w/2u/y1UfZqCpO1Ol0qUW85hgbRIPrtMkS6/WvwIhAJTLS8sNEWFn+thsoeZoH0Tv0SvxJ3sHHVNoSvbmsam1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2118906},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.1.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/1954a9d1848b5a0ab741459980d380cd/modelcontextprotocol-server-legacy-2.1.0.tgz","_integrity":"sha512-Ax84OEIzSQw+GIYeuJmlQZP/Yg+jvPVfUd5GYdpChn9fCHrSsDNxE+X+klvxB6hjmacRsa1S11EnZ6P6P2WXgQ==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.1.0"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.1","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.1.0_1790178247692_0.2044152628053053","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@modelcontextprotocol/server-legacy","version":"2.2.0","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"MIT","_id":"@modelcontextprotocol/server-legacy@2.2.0","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"a9570b5f9312752b542533068dbce4fc301ee510","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.2.0.tgz","fileCount":39,"integrity":"sha512-hmU22Em1n9dm24xC7pt8okXKJpmpjCxm3GGQo+l99x6T+SPOX3v+7+WUEpp/ZZVLLIzCELVJtyRM8U3FxvMZpA==","signatures":[{"sig":"MEYCIQCRIDLGaNAbu591ZvKRkVOCpkFTHJ9NfOAb8u5GgO+EbAIhAOLCRyVH790YY5JZf1WFGNBVe0n7phOOiWT03ePquWRC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIC3CjzOZmYtIYA1CMlq7rxHRE8Tmh4uZEprEEGzaOfKcAiEAyV+eF8L9RuY4eamSpIJ1dTdlU1N3qAh5l4mYKajjyUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2128853},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.2.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/d1bbadef6e3b6ada2304384e4d341691/modelcontextprotocol-server-legacy-2.2.0.tgz","_integrity":"sha512-hmU22Em1n9dm24xC7pt8okXKJpmpjCxm3GGQo+l99x6T+SPOX3v+7+WUEpp/ZZVLLIzCELVJtyRM8U3FxvMZpA==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.2.0"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.2","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.2.0_1790622534337_0.6469847600917749","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@modelcontextprotocol/server-legacy","version":"2.3.0","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"Apache-2.0","_id":"@modelcontextprotocol/server-legacy@2.3.0","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"homepage":"https://modelcontextprotocol.io","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"3901681ce8c15a593f557ed08548fc8be37119cc","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.3.0.tgz","fileCount":39,"integrity":"sha512-TwpNu7dY7MqH8ye2FLICPxqfrDJAhvyN0xWWwygqdkkTSWyZn4xN+mJbra4sTFv+8HxxydcL2/u+nbLMwJXVQg==","signatures":[{"sig":"MEUCIQCLNI4Whitoy0hlqPVikTGh4wkRfPf2dGmt56CqAvyf5QIgSJXdsWJaSmXGSAiyu0iyauBOHhBgmmvUzze8pg38TPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBlomBZQNo8ChV8I8lMThCDTldAVxvBMFgMvi4BdSDTRAiEA+T3v39qQvb/eE4U73BNrXq15te5gXySRU7ixBTfA4+0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2134746},"main":"./dist/index.cjs","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.3.0.tgz","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34eaeacd-8a04-4a05-9257-3960e28e8606"}},"_resolved":"/tmp/7d01a3b354c68dfc7b44d446ea796097/modelcontextprotocol-server-legacy-2.3.0.tgz","_integrity":"sha512-TwpNu7dY7MqH8ye2FLICPxqfrDJAhvyN0xWWwygqdkkTSWyZn4xN+mJbra4sTFv+8HxxydcL2/u+nbLMwJXVQg==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.3.0"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.3","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/server-legacy_2.3.0_1790963123574_0.27166016182528985","host":"s3://npm-registry-packages-npm-production"}},"2.3.1":{"_id":"@modelcontextprotocol/server-legacy@2.3.1","bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"dist":{"shasum":"ea7c87d3ee1682aa5f5722fe66f422209bfe568a","tarball":"https://registry.npmjs.org/@modelcontextprotocol/server-legacy/-/server-legacy-2.3.1.tgz","fileCount":39,"integrity":"sha512-+cuB+hl7s8DiFXIt13le3cD2wZPOeDYwlycAkRMPljqqNbOLekGRiyslx8WXfqaXSCveS1eDD8/B8rmxz9BZFQ==","signatures":[{"sig":"MEQCIEwAHQGIm6HaH5mgP7Ob+dKOUP7nTf+oiM8xuEYzSZYBAiBEJvSnsYeZl8BSs40Z7hRIRH8LsSYmonsBL4ZKSM6zxA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCTXdjDqWfgQ3AhyS/jNDxi03axBVYJ2G8uMOT0BAXI4AIgb5mFO88FaIlmTL0Z9SpfQc3qQN1oREkU0W4Sv8UNCjU="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-legacy@2.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2139580},"main":"./dist/index.cjs","name":"@modelcontextprotocol/server-legacy","type":"module","_from":"file:modelcontextprotocol-server-legacy-2.3.1.tgz","types":"./dist/index.d.mts","author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./sse":{"import":{"types":"./dist/sse/index.d.mts","default":"./dist/sse/index.mjs"},"require":{"types":"./dist/sse/index.d.cts","default":"./dist/sse/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.mts","default":"./dist/auth/index.mjs"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"Apache-2.0","private":false,"scripts":{"lint":"eslint src/ && prettier --ignore-path ../../.prettierignore --check .","test":"vitest run","build":"tsdown","check":"pnpm run typecheck && pnpm run lint","lint:fix":"eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .","typecheck":"tsgo -p tsconfig.json --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"version":"2.3.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34eaeacd-8a04-4a05-9257-3960e28e8606"}},"homepage":"https://modelcontextprotocol.io","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"_resolved":"/tmp/b9002b2b14bab150a17388309bfe6f92/modelcontextprotocol-server-legacy-2.3.1.tgz","_integrity":"sha512-+cuB+hl7s8DiFXIt13le3cD2wZPOeDYwlycAkRMPljqqNbOLekGRiyslx8WXfqaXSCveS1eDD8/B8rmxz9BZFQ==","deprecated":"This package is a frozen copy of v1's SSE transport and OAuth Authorization Server helpers for migration purposes only. Use StreamableHTTP from @modelcontextprotocol/server and a dedicated OAuth server in production. Will not receive new features.","repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"_npmVersion":"11.5.1","description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","directories":{},"maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.2.0","cors":"^2.8.5","raw-body":"^3.0.0","content-type":"^1.0.5","pkce-challenge":"^5.0.0","express-rate-limit":"^8.2.1","@modelcontextprotocol/core":"2.3.1"},"typesVersions":{"*":{"sse":["dist/sse/index.d.mts"],"auth":["dist/auth/index.d.mts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.18.0","vitest":"^4.0.15","prettier":"3.6.2","supertest":"^7.0.0","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/cors":"^2.8.17","@types/express":"^5.0.6","eslint-plugin-n":"^17.23.1","@types/supertest":"^6.0.2","typescript-eslint":"^8.48.1","@types/content-type":"^1.1.8","eslint-config-prettier":"^10.1.8","@typescript/native-preview":"^7.0.0-dev.20251217.1","@modelcontextprotocol/tsconfig":"^2.0.0","@types/express-serve-static-core":"^5.1.0","@modelcontextprotocol/core-internal":"^2.0.4","@modelcontextprotocol/eslint-config":"^2.0.0","@modelcontextprotocol/vitest-config":"^2.0.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"peerDependenciesMeta":{"express":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/server-legacy_2.3.1_1791201022261_0.19245630522802593"}}},"time":{"created":"2026-06-25T19:48:57.231Z","modified":"2026-10-05T11:50:22.718Z","2.0.0-alpha.2":"2026-06-25T19:48:57.535Z","2.0.0-alpha.3":"2026-06-25T19:52:30.878Z","2.0.0-alpha.4":"2026-06-30T21:00:22.188Z","2.0.0-beta.1":"2026-06-30T22:48:23.242Z","2.0.0-beta.2":"2026-07-02T12:27:46.007Z","2.0.0-beta.4":"2026-07-13T17:40:06.010Z","2.0.0-beta.5":"2026-07-21T13:39:30.601Z","2.0.0":"2026-07-27T23:55:20.932Z","2.1.0":"2026-09-23T15:44:07.795Z","2.2.0":"2026-09-28T19:08:54.455Z","2.3.0":"2026-10-02T17:45:23.701Z","2.3.1":"2026-10-05T11:50:22.350Z"},"bugs":{"url":"https://github.com/modelcontextprotocol/typescript-sdk/issues"},"author":{"url":"https://anthropic.com","name":"Anthropic, PBC"},"license":"Apache-2.0","homepage":"https://modelcontextprotocol.io","keywords":["modelcontextprotocol","mcp","server","legacy","sse","oauth"],"repository":{"url":"git+https://github.com/modelcontextprotocol/typescript-sdk.git","type":"git"},"description":"Frozen v1 SSE transport and OAuth Authorization Server helpers for the Model Context Protocol TypeScript SDK. Deprecated; use StreamableHTTP and a dedicated OAuth server in production.","maintainers":[{"name":"jspahrsummers","email":"justin@jspahrsummers.com"},{"name":"pcarleton","email":"paul@modelcontextprotocol.io"},{"name":"fweinberger","email":"fweinberger@anthropic.com"},{"name":"thedsp","email":"david@modelcontextprotocol.io"},{"name":"ochafik-ant","email":"ochafik@anthropic.com"}],"readme":"# @modelcontextprotocol/server-legacy\n\n> **Deprecated** — This package is a frozen copy of v1 code for migration purposes only. It will not receive new features and is planned for removal in v3.\n\nProvides two pieces of v1 server functionality removed in v2:\n\n- **SSE Transport** (`./sse`) — The `SSEServerTransport` class, replaced in v2 by `NodeStreamableHTTPServerTransport` (from `@modelcontextprotocol/node`) or `WebStandardStreamableHTTPServerTransport` (from `@modelcontextprotocol/server`)\n- **OAuth Authorization Server** (`./auth`) — The `mcpAuthRouter` and related helpers, removed in v2 because MCP servers should use dedicated OAuth providers\n\n## Installation\n\n```bash\nnpm install @modelcontextprotocol/server-legacy\n```\n\n## Usage\n\n### SSE Transport (no Express dependency required)\n\n```ts\nimport { SSEServerTransport } from '@modelcontextprotocol/server-legacy/sse';\n```\n\n### OAuth Auth Router (requires Express)\n\n```ts\nimport { mcpAuthRouter } from '@modelcontextprotocol/server-legacy/auth';\n```\n\n### Everything (requires Express)\n\n```ts\nimport { SSEServerTransport, mcpAuthRouter } from '@modelcontextprotocol/server-legacy';\n```\n\n## Migration\n\n- **SSE → StreamableHTTP**: Use `NodeStreamableHTTPServerTransport` from `@modelcontextprotocol/node` (Node.js) or `WebStandardStreamableHTTPServerTransport` from `@modelcontextprotocol/server` (Web Standard / Cloudflare Workers)\n- **Auth router → Dedicated IdP**: Use a dedicated OAuth provider (Auth0, Keycloak, etc.) instead of the built-in OAuth Authorization Server\n","readmeFilename":"README.md"}