UNPKG

mcpresso-oauth-server

Version:

Production-ready OAuth 2.1 server implementation for Model Context Protocol (MCP) with PKCE support

82 lines (81 loc) 2.1 kB
{ "name": "mcpresso-oauth-server", "version": "1.2.16", "description": "Production-ready OAuth 2.1 server implementation for Model Context Protocol (MCP) with PKCE support", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "source": "src/index.ts", "exports": { ".": { "source": "./src/index.ts", "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" }, "./storage/memory-storage": { "source": "./src/storage/memory-storage.ts", "types": "./dist/storage/memory-storage.d.ts", "import": "./dist/storage/memory-storage.js", "require": "./dist/storage/memory-storage.js" } }, "files": [ "dist/**/*", "src/**/*", "README.md" ], "scripts": { "prepublishOnly": "bun run build", "build": "tsup", "clean": "rm -rf dist", "test": "bun test", "start": "bun run src/server.ts", "start:dev": "bun --watch src/server.ts" }, "keywords": [ "oauth2", "oauth2.1", "pkce", "authorization", "mcp", "model-context-protocol", "server", "production" ], "author": "Granular Software", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/granular-software/mcpresso-oauth-server.git" }, "bugs": { "url": "https://github.com/granular-software/mcpresso-oauth-server/issues" }, "homepage": "https://github.com/granular-software/mcpresso-oauth-server#readme", "dependencies": { "express": "^4.18.2", "jose": "^5.6.3", "zod": "^3.23.8", "cors": "^2.8.5", "express-rate-limit": "^7.3.1", "compression": "^1.7.4", "helmet": "^8.0.0" }, "devDependencies": { "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/compression": "^1.7.5", "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@types/supertest": "^6.0.2", "jest": "^29.5.0", "supertest": "^7.1.1", "ts-jest": "^29.1.0", "typescript": "^5.0.0", "tsup": "^8.3.5" }, "engines": { "node": ">=18.0.0" } }