{"_id":"@makersclub/mcp-auth-core","_rev":"30-e3fedf1b1e41d99c42b294de4954bf38","name":"@makersclub/mcp-auth-core","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@makersclub/mcp-auth-core","version":"0.1.0","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.1.0","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"bccf9eab005c4ec6d186d5953b0901486a47fed1","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.1.0.tgz","fileCount":9,"integrity":"sha512-NF0/9CAzFFl49cVXcDLNYxabSpMge2Cf6spJpeixsdna/hl52mWak0gsMFWXdBrEN2RoeodMxXE2zn8fmQ21uQ==","signatures":[{"sig":"MEYCIQCOKaRUJazPwQuqplNGVSgoLacJdWwW6Kw/LJ5tnM4eqQIhAPFmQMK+IzDXuG7nNTpOEJzsr8HiPbE+vvcckkTPa+jc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112809},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9a07bede98de1dd5544a51bceb6b6b8229d6c577","private":false,"scripts":{"dev":"tsup --watch","lint":"npm run check","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.1.0_1759858851745_0.017852549502621384","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@makersclub/mcp-auth-core","version":"0.1.1","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.1.1","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"6960c92afb0699fe4ad9706a99620f1b24aa997d","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.1.1.tgz","fileCount":9,"integrity":"sha512-FX3SpY9RZQ1vDPBJRuet/tz4TdaQWyzn9K7DPIGPFkni8AY2JOXbZCnQcOxvT/ANafbvsy0ZqdtYlGghWYbwVQ==","signatures":[{"sig":"MEUCIFfOCOEeFTuOIXOqoW0xbUFk88nwjLConHT1/Dl5ElaXAiEAz8M+dAAlrjL4OBG4IMafxa7hwwWtnOD1KxcvB50DAh0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114217},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"0b4108ef86b5ad8dce18b89a6e6db6fa90fdf3af","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.1.1_1760539155241_0.3279854305266092","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@makersclub/mcp-auth-core","version":"0.2.0","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.2.0","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"a5009ff1513d590996d7fe5585948ebfbb1d9fe8","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.2.0.tgz","fileCount":9,"integrity":"sha512-OqjuvszdUqkvDRLDFFneMA7y2LL5f3/CkQptdOKGMP39WEhHvCr8VWv28p3DId269LOgD0KA99Q33RSe/3ORlw==","signatures":[{"sig":"MEUCIQDFJZBEHCnul5/mzkcNr+fFRiqnd6A455Um5i7v/h5s7AIgVB5sUGVptOINS5P42hnevfPa8mMRpDL9Ur4yvDabvvA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146185},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d87b485cc9e3618831346cb0f69222d5f808df1d","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.2.0_1761667586872_0.2483491171346699","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@makersclub/mcp-auth-core","version":"0.2.1","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.2.1","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"c2c179fb25c94b96603922f67ffb91c3e057662d","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.2.1.tgz","fileCount":9,"integrity":"sha512-9jek9E4Y+ZdtX1KfJfdR9JYg7JAUGoSb17D7nTr7Tr5ZFeRVcGS9/fgqZ6jPk6dXkfhUNKaKPEtbakt/tMptEg==","signatures":[{"sig":"MEYCIQCs2PaM+b6oynMnXNUVf6N8qrNZdsiRFmLY4jGpbWNkRgIhALnKIXjE+j/TBsKr+G1xJR3DElPyUKq6UjwU3ZWcDtJC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146313},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"42229acb8d809907ffb9ae44c7a4936abe07a22e","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.2.1_1761671118623_0.44861440286637566","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@makersclub/mcp-auth-core","version":"0.2.2","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.2.2","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"90f268e0d965404190b13e7120a2f4bf6b48e898","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.2.2.tgz","fileCount":9,"integrity":"sha512-hvd/ezRhj8UlbDVwZIQb3UeaxdyS7rryK7EI6juSlm2ZPOR9P90knaP+Dk25dtiJhRVX80eONgvEVPFHa+T75w==","signatures":[{"sig":"MEUCIQCd8aemhBhB/kuSx2hc2UAxDICeKmAwYk0OAY5MP1SjqQIgRiKLFg9AeWkzXVGu2U5x2IhWMgXy7RV3rmHWK27DQ9M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146423},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"66259fb50d99e5289e3ebab36485ccee524a2bca","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.2.2_1761671817839_0.7308339629954341","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@makersclub/mcp-auth-core","version":"0.3.0","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.3.0","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"a249539ef81c642c0dae27ba3c4cae93809e153b","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.3.0.tgz","fileCount":9,"integrity":"sha512-5HrfnaM8i43D4Z86aD6eiRHcehXQF3hvxCuNcyif2FnyuC2CsaE8nCZie7B/h63SDchH1BC6JRs1lrO2bZt0wg==","signatures":[{"sig":"MEUCIFTqOhEB+ydcOEE73FlDti/kfS0mii0oXwIESAWB0/T5AiEA7DV4p/4b6wSpoqPBa6pulITxkMJDzLb8xGDoRufftic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":190284},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6b5e47e30fb89ef0a9db34ef8936cafba21ffe04","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.3.0_1761749635558_0.2985752850265371","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@makersclub/mcp-auth-core","version":"0.4.0","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.4.0","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"7eb31120b996790245d676474a83c5249467c630","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.4.0.tgz","fileCount":9,"integrity":"sha512-xK96bD3sOWDq5HI+oFQneieBdMODDgM7uEAsCFGPlVMYfd/Z3W7/b+EMPcp121gbLFzkhOKuq98vSvIJPqJRQw==","signatures":[{"sig":"MEUCIGrRqRcIuNE9k4QKzPlhzzmqTEJ4OXjTAhIA4rzGez2SAiEAxuSQ5vR6jZHm9IoE4jJGmkuR1rjv7sjTeIHHkt43lhI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195100},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fe93b76771165d24dd4ebcdefba867496f4b80fd","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.4.0_1768342211956_0.6876620692897106","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@makersclub/mcp-auth-core","version":"0.4.1","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.4.1","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"aab551a4fa61c078faecfd73ad7d416b33079a93","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.4.1.tgz","fileCount":9,"integrity":"sha512-m3Ilh6ySuVXpGi8RUYp8CM2tcYU4d/+aQt1o1CbsJtSb6ViNuc9PQ9PTKctWIVrUiOiq8s90BkaAqGXDAB0Qxw==","signatures":[{"sig":"MEQCIAMXvwWTIiaA2kvo8o/nrBG5l0bVVk87JW9KFtnGh0c2AiAm8Re2lr2vk3rI2VHeMbVAL4fdsYuFPmA9lN5IVSHD+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195607},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9c10f940ef9ffbc6d499da8da92b90922fc97ad5","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.4.1_1768403556346_0.1678144942170674","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@makersclub/mcp-auth-core","version":"0.4.2","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.4.2","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"76046a8d22c47d6c0c15ef9d99bddcb8fb1e29ce","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.4.2.tgz","fileCount":9,"integrity":"sha512-5ehXGgnA3HJSjryyrbfLcknkXqImughGNEPDf2PhFzG/nY592P2ZzJmMejfystIdQzdnKMPX6zxbKekH0j/BDA==","signatures":[{"sig":"MEUCIQCws/uXrwTh9v+tUKkQQrpiBJwJZRgOD0XKJZ3MQoefqQIgbwpBR9x3joVqdVMWvP+JnQaGr+cNniyZ4ARwnHW4s+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220427},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f67997aa728bc495d4a9f5522c732752c49680b0","private":false,"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsup","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^21.1.2","eslint":"^9.12.0","vitest":"^2.1.2","prettier":"^3.3.3","typescript":"^5.6.3","@types/node":"^22.7.4","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.46.0","@typescript-eslint/eslint-plugin":"^8.46.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.4.2_1769439441348_0.3782362522372664","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@makersclub/mcp-auth-core","version":"0.5.0","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"author":{"name":"MakersClub"},"license":"UNLICENSED","_id":"@makersclub/mcp-auth-core@0.5.0","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"homepage":"https://github.com/makersclub/mcp-auth-core#readme","bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"dist":{"shasum":"1ac3163d7c240c54a7a61ed8833e3acf4bf95f81","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.5.0.tgz","fileCount":15,"integrity":"sha512-WfNWbOblM4w5KZ+y3uqvLhT+kZgn9sY9gmV9xYSCLaiMHbRjP4VrJ8wtqTYUwntWAV9ytKutecd3e8FBG+PAWg==","signatures":[{"sig":"MEQCIG70hICSZCupkbOCIxzrA+7ACRiRqK/S66sdVo0m2RISAiA8EumhF+zQFBbmvZwlgW8IbV0IQ+orxCS9Zh33oXpSaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":235529},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"94682098aa27f0659396dd2b510f7ab2be4cda82","private":false,"scripts":{"dev":"tsdown --watch","lint":"eslint \"src/**/*.{ts,tsx}\"","test":"vitest run","build":"tsdown","check":"tsc -p tsconfig.json --noEmit","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","release":"./publish.sh","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run","test:watch":"vitest","postinstall":"node -e \"process.exit(0)\"","release:major":"./publish.sh major","release:minor":"./publish.sh minor","release:patch":"./publish.sh patch","prepublishOnly":"npm run build && npm run test && npm run lint"},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"repository":{"url":"git+https://github.com/makersclub/mcp-auth-core.git","type":"git"},"_npmVersion":"10.9.2","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^4.1.3","prettier":"^3.3.3","typescript":"^6.0.2","@types/node":"^25.5.2","typescript-eslint":"^8.58.1","eslint-config-prettier":"^10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/mcp-auth-core_0.5.0_1776777073460_0.37555619389003114","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@makersclub/mcp-auth-core","version":"0.6.0","description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","author":{"name":"MakersClub"},"license":"UNLICENSED","private":false,"homepage":"https://github.com/makersclub/mcp-auth-core#readme","repository":{"type":"git","url":"git+https://github.com/makersclub/mcp-auth-core.git"},"bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.mts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"build":"tsdown","postinstall":"node -e \"process.exit(0)\"","dev":"tsdown --watch","test":"vitest run","test:watch":"vitest","lint":"eslint \"src/**/*.{ts,tsx}\"","format":"prettier --write \"**/*.{ts,tsx,md,json,yml}\"","check":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build && npm run test && npm run lint","release":"./publish.sh","release:patch":"./publish.sh patch","release:minor":"./publish.sh minor","release:major":"./publish.sh major","dev:check":"./dev-check.sh","pack:check":"npm pack --dry-run"},"keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"devDependencies":{"@types/node":"^25.5.2","eslint":"^10.2.0","eslint-config-prettier":"^10.1.8","prettier":"^3.3.3","tsdown":"^0.21.7","typescript":"^6.0.2","typescript-eslint":"^8.58.1","vitest":"^4.1.3"},"_id":"@makersclub/mcp-auth-core@0.6.0","gitHead":"2e50a1edc0b203aa49b274f64905d1b9e62be646","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-MDRi1mtRNU1UlaFGSJ6NaytZ6qyS6XLCIzJPreizNiM6kZCSglPUUiwrv6BiH/W3AjyZE350Z/eI+YvCO1UAiQ==","shasum":"f0972bc2747a5eb0ae097fc95b7e1b9ded62be1f","tarball":"https://registry.npmjs.org/@makersclub/mcp-auth-core/-/mcp-auth-core-0.6.0.tgz","fileCount":15,"unpackedSize":253937,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICcxFjv8vvFR3EgCU+v1Nq2LNuXumf/2+MZP/vTYGD/qAiEAww82UL5oN4pI8mGo67m36I6sHk0V69jln8llN790weM="}]},"_npmUser":{"name":"makersclub","email":"d.molina@makersclub.la"},"directories":{},"maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-auth-core_0.6.0_1783430597983_0.36265546371972235"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-07T17:40:51.518Z","modified":"2026-07-07T13:23:18.298Z","0.1.0":"2025-10-07T17:40:51.932Z","0.1.1":"2025-10-15T14:39:15.408Z","0.2.0":"2025-10-28T16:06:27.073Z","0.2.1":"2025-10-28T17:05:18.837Z","0.2.2":"2025-10-28T17:16:58.038Z","0.3.0":"2025-10-29T14:53:55.821Z","0.4.0":"2026-01-13T22:10:12.110Z","0.4.1":"2026-01-14T15:12:36.473Z","0.4.2":"2026-01-26T14:57:21.511Z","0.5.0":"2026-04-21T13:11:13.631Z","0.6.0":"2026-07-07T13:23:18.184Z"},"bugs":{"url":"https://github.com/makersclub/mcp-auth-core/issues"},"author":{"name":"MakersClub"},"license":"UNLICENSED","homepage":"https://github.com/makersclub/mcp-auth-core#readme","keywords":["mcp","model-context-protocol","oauth2","pkce","sse","websocket","authentication","typescript"],"repository":{"type":"git","url":"git+https://github.com/makersclub/mcp-auth-core.git"},"description":"Core de autenticación para clientes MCP: OAuth2 (PKCE/Client Credentials), API Key, Bearer, Basic, HMAC. Transportes HTTP/SSE/WebSocket.","maintainers":[{"name":"makersclub","email":"d.molina@makersclub.la"}],"readme":"# @makersclub/mcp-auth-core\n\nCore de autenticación para clientes MCP (Model Context Protocol):\n- OAuth2 (Authorization Code + PKCE, Client Credentials)\n- API Key, Bearer, Basic, HMAC\n- Adaptadores HTTP / SSE / WebSocket\n- TypeScript, ESM/CJS, isomórfico (browser/Node>=18)\n\n## Instalación\n```bash\nnpm install @makersclub/mcp-auth-core\n# ó\npnpm add @makersclub/mcp-auth-core\n# ó\nyarn add @makersclub/mcp-auth-core\n```\n\n## Uso Básico\n\n```typescript\nimport { createAuthProvider, AuthScheme } from '@makersclub/mcp-auth-core';\nimport type { McpAuthConfig } from '@makersclub/mcp-auth-core';\n\n// OAuth2 PKCE (recomendado para SPAs)\nconst oauth = await createAuthProvider({\n  serverId: 'my-server',\n  transport: 'http',\n  auth: {\n    scheme: AuthScheme.OAUTH2_PKCE,\n    discovery: { issuer: 'https://login.microsoftonline.com/tenant-id/v2.0' },\n    client: {\n      clientId: 'your-client-id',\n      redirectUri: 'http://localhost:3000/callback',\n      scopes: ['openid', 'profile', 'email']\n    },\n    storage: { type: 'memory' }\n  }\n});\n\n// API Key\nconst apiKey = await createAuthProvider({\n  serverId: 'my-server',\n  transport: 'http',\n  auth: { scheme: AuthScheme.API_KEY, in: 'header', name: 'X-API-Key', value: 'your-api-key' }\n});\n\n// Bearer Token\nconst bearer = await createAuthProvider({\n  serverId: 'my-server',\n  transport: 'http',\n  auth: { scheme: AuthScheme.BEARER, token: 'your-bearer-token' }\n});\n\n// Basic Auth\nconst basic = await createAuthProvider({\n  serverId: 'my-server',\n  transport: 'http',\n  auth: { scheme: AuthScheme.BASIC, username: 'user', password: 'password' }\n});\n```\n\n## Adaptadores de Transporte\n\n### HTTP (fetch)\n```typescript\nimport { withAuthFetch } from '@makersclub/mcp-auth-core';\n\nconst client = withAuthFetch(oauth);\nconst response = await client.fetch('https://api.example.com/data');\n```\n\n### Server-Sent Events (SSE)\n```typescript\nimport { withAuthSSE } from '@makersclub/mcp-auth-core';\n\nconst sse = withAuthSSE(oauth);\nconst stream = await sse.open('https://api.example.com/events');\n```\n\n### WebSocket\n```typescript\nimport { withAuthWS } from '@makersclub/mcp-auth-core';\n\nconst ws = withAuthWS(oauth);\nconst socket = await ws.connect('wss://api.example.com/ws');\n```\n\n## Demo\n\nConsulta el directorio `demo/react` para ver un ejemplo completo con React + Vite incluyendo:\n- Autenticación OAuth2 PKCE con Microsoft\n- Modo popup y redirect configurable\n- Manejo de tokens y renovación automática\n\n```bash\ncd demo/react\nnpm install\nnpm run dev\n```\n","readmeFilename":"README.md"}