|
| 1 | +{ |
| 2 | + "name": "@modelcontextprotocol/server-auth-legacy", |
| 3 | + "private": false, |
| 4 | + "version": "2.0.0-alpha.2", |
| 5 | + "description": "Frozen v1 OAuth Authorization Server helpers (mcpAuthRouter, ProxyOAuthServerProvider) for the Model Context Protocol TypeScript SDK. Deprecated; use a dedicated OAuth server in production.", |
| 6 | + "deprecated": "The MCP SDK no longer ships an Authorization Server implementation. This package is a frozen copy of the v1 src/server/auth helpers for migration purposes only and will not receive new features. Use a dedicated OAuth Authorization Server (e.g. an IdP) and the Resource Server helpers in @modelcontextprotocol/express instead.", |
| 7 | + "license": "MIT", |
| 8 | + "author": "Anthropic, PBC (https://anthropic.com)", |
| 9 | + "homepage": "https://modelcontextprotocol.io", |
| 10 | + "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", |
| 11 | + "type": "module", |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" |
| 15 | + }, |
| 16 | + "engines": { |
| 17 | + "node": ">=20" |
| 18 | + }, |
| 19 | + "keywords": [ |
| 20 | + "modelcontextprotocol", |
| 21 | + "mcp", |
| 22 | + "oauth", |
| 23 | + "express", |
| 24 | + "legacy" |
| 25 | + ], |
| 26 | + "types": "./dist/index.d.mts", |
| 27 | + "exports": { |
| 28 | + ".": { |
| 29 | + "types": "./dist/index.d.mts", |
| 30 | + "import": "./dist/index.mjs" |
| 31 | + } |
| 32 | + }, |
| 33 | + "files": [ |
| 34 | + "dist" |
| 35 | + ], |
| 36 | + "scripts": { |
| 37 | + "typecheck": "tsgo -p tsconfig.json --noEmit", |
| 38 | + "build": "tsdown", |
| 39 | + "build:watch": "tsdown --watch", |
| 40 | + "prepack": "npm run build", |
| 41 | + "lint": "eslint src/ && prettier --ignore-path ../../.prettierignore --check .", |
| 42 | + "lint:fix": "eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .", |
| 43 | + "check": "pnpm run typecheck && pnpm run lint", |
| 44 | + "test": "vitest run", |
| 45 | + "test:watch": "vitest" |
| 46 | + }, |
| 47 | + "dependencies": { |
| 48 | + "cors": "catalog:runtimeServerOnly", |
| 49 | + "express-rate-limit": "^8.2.1", |
| 50 | + "pkce-challenge": "catalog:runtimeShared", |
| 51 | + "zod": "catalog:runtimeShared" |
| 52 | + }, |
| 53 | + "peerDependencies": { |
| 54 | + "express": "catalog:runtimeServerOnly" |
| 55 | + }, |
| 56 | + "devDependencies": { |
| 57 | + "@modelcontextprotocol/core": "workspace:^", |
| 58 | + "@modelcontextprotocol/tsconfig": "workspace:^", |
| 59 | + "@modelcontextprotocol/vitest-config": "workspace:^", |
| 60 | + "@modelcontextprotocol/eslint-config": "workspace:^", |
| 61 | + "@eslint/js": "catalog:devTools", |
| 62 | + "@types/cors": "catalog:devTools", |
| 63 | + "@types/express": "catalog:devTools", |
| 64 | + "@types/express-serve-static-core": "catalog:devTools", |
| 65 | + "@types/supertest": "catalog:devTools", |
| 66 | + "@typescript/native-preview": "catalog:devTools", |
| 67 | + "eslint": "catalog:devTools", |
| 68 | + "eslint-config-prettier": "catalog:devTools", |
| 69 | + "eslint-plugin-n": "catalog:devTools", |
| 70 | + "express": "catalog:runtimeServerOnly", |
| 71 | + "prettier": "catalog:devTools", |
| 72 | + "supertest": "catalog:devTools", |
| 73 | + "tsdown": "catalog:devTools", |
| 74 | + "typescript": "catalog:devTools", |
| 75 | + "typescript-eslint": "catalog:devTools", |
| 76 | + "vitest": "catalog:devTools" |
| 77 | + } |
| 78 | +} |
0 commit comments