|
1 | 1 | { |
2 | | - "name": "@modelcontextprotocol/sdk", |
3 | | - "version": "1.20.1", |
4 | | - "description": "Model Context Protocol implementation for TypeScript", |
5 | | - "license": "MIT", |
6 | | - "author": "Anthropic, PBC (https://anthropic.com)", |
7 | | - "homepage": "https://modelcontextprotocol.io", |
8 | | - "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", |
9 | | - "type": "module", |
10 | | - "repository": { |
11 | | - "type": "git", |
12 | | - "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" |
13 | | - }, |
14 | | - "engines": { |
15 | | - "node": ">=18" |
16 | | - }, |
17 | | - "keywords": [ |
18 | | - "modelcontextprotocol", |
19 | | - "mcp" |
20 | | - ], |
21 | | - "exports": { |
22 | | - ".": { |
23 | | - "import": "./dist/esm/index.js", |
24 | | - "require": "./dist/cjs/index.js" |
25 | | - }, |
26 | | - "./client": { |
27 | | - "import": "./dist/esm/client/index.js", |
28 | | - "require": "./dist/cjs/client/index.js" |
29 | | - }, |
30 | | - "./server": { |
31 | | - "import": "./dist/esm/server/index.js", |
32 | | - "require": "./dist/cjs/server/index.js" |
33 | | - }, |
34 | | - "./*": { |
35 | | - "import": "./dist/esm/*", |
36 | | - "require": "./dist/cjs/*" |
37 | | - } |
38 | | - }, |
39 | | - "typesVersions": { |
40 | | - "*": { |
41 | | - "*": [ |
42 | | - "./dist/esm/*" |
43 | | - ] |
44 | | - } |
45 | | - }, |
46 | | - "files": [ |
47 | | - "dist" |
48 | | - ], |
49 | | - "scripts": { |
50 | | - "fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
51 | | - "build": "npm run build:esm && npm run build:cjs", |
52 | | - "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json", |
53 | | - "build:esm:w": "npm run build:esm -- -w", |
54 | | - "build:cjs": "mkdir -p dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && tsc -p tsconfig.cjs.json", |
55 | | - "build:cjs:w": "npm run build:cjs -- -w", |
56 | | - "examples:simple-server:w": "tsx --watch src/examples/server/simpleStreamableHttp.ts --oauth", |
57 | | - "prepack": "npm run build:esm && npm run build:cjs", |
58 | | - "lint": "eslint src/ && prettier --check .", |
59 | | - "lint:fix": "eslint src/ --fix && prettier --write .", |
60 | | - "test": "npm run fetch:spec-types && jest", |
61 | | - "start": "npm run server", |
62 | | - "server": "tsx watch --clear-screen=false src/cli.ts server", |
63 | | - "client": "tsx src/cli.ts client" |
64 | | - }, |
65 | | - "dependencies": { |
66 | | - "ajv": "^6.12.6", |
67 | | - "content-type": "^1.0.5", |
68 | | - "cors": "^2.8.5", |
69 | | - "cross-spawn": "^7.0.5", |
70 | | - "eventsource": "^3.0.2", |
71 | | - "eventsource-parser": "^3.0.0", |
72 | | - "express": "^5.0.1", |
73 | | - "express-rate-limit": "^7.5.0", |
74 | | - "pkce-challenge": "^5.0.0", |
75 | | - "raw-body": "^3.0.0", |
76 | | - "zod": "^3.23.8", |
77 | | - "zod-to-json-schema": "^3.24.1" |
78 | | - }, |
79 | | - "devDependencies": { |
80 | | - "@eslint/js": "^9.8.0", |
81 | | - "@jest-mock/express": "^3.0.0", |
82 | | - "@types/content-type": "^1.1.8", |
83 | | - "@types/cors": "^2.8.17", |
84 | | - "@types/cross-spawn": "^6.0.6", |
85 | | - "@types/eslint__js": "^8.42.3", |
86 | | - "@types/eventsource": "^1.1.15", |
87 | | - "@types/express": "^5.0.0", |
88 | | - "@types/jest": "^29.5.12", |
89 | | - "@types/node": "^22.0.2", |
90 | | - "@types/supertest": "^6.0.2", |
91 | | - "@types/ws": "^8.5.12", |
92 | | - "eslint": "^9.8.0", |
93 | | - "eslint-config-prettier": "^10.1.8", |
94 | | - "prettier": "3.6.2", |
95 | | - "jest": "^29.7.0", |
96 | | - "supertest": "^7.0.0", |
97 | | - "ts-jest": "^29.2.4", |
98 | | - "tsx": "^4.16.5", |
99 | | - "typescript": "^5.5.4", |
100 | | - "typescript-eslint": "^8.0.0", |
101 | | - "ws": "^8.18.0" |
102 | | - }, |
103 | | - "resolutions": { |
104 | | - "strip-ansi": "6.0.1" |
105 | | - } |
| 2 | + "name": "@modelcontextprotocol/sdk", |
| 3 | + "version": "1.20.1", |
| 4 | + "description": "Model Context Protocol implementation for TypeScript", |
| 5 | + "license": "MIT", |
| 6 | + "author": "Anthropic, PBC (https://anthropic.com)", |
| 7 | + "homepage": "https://modelcontextprotocol.io", |
| 8 | + "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", |
| 9 | + "type": "module", |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" |
| 13 | + }, |
| 14 | + "engines": { |
| 15 | + "node": ">=18" |
| 16 | + }, |
| 17 | + "keywords": [ |
| 18 | + "modelcontextprotocol", |
| 19 | + "mcp" |
| 20 | + ], |
| 21 | + "exports": { |
| 22 | + ".": { |
| 23 | + "import": "./dist/esm/index.js", |
| 24 | + "require": "./dist/cjs/index.js" |
| 25 | + }, |
| 26 | + "./client": { |
| 27 | + "import": "./dist/esm/client/index.js", |
| 28 | + "require": "./dist/cjs/client/index.js" |
| 29 | + }, |
| 30 | + "./server": { |
| 31 | + "import": "./dist/esm/server/index.js", |
| 32 | + "require": "./dist/cjs/server/index.js" |
| 33 | + }, |
| 34 | + "./validation": { |
| 35 | + "import": "./dist/esm/validation/index.js", |
| 36 | + "require": "./dist/cjs/validation/index.js" |
| 37 | + }, |
| 38 | + "./validation/ajv": { |
| 39 | + "import": "./dist/esm/validation/ajv-provider.js", |
| 40 | + "require": "./dist/cjs/validation/ajv-provider.js" |
| 41 | + }, |
| 42 | + "./validation/cfworker": { |
| 43 | + "import": "./dist/esm/validation/cfworker-provider.js", |
| 44 | + "require": "./dist/cjs/validation/cfworker-provider.js" |
| 45 | + }, |
| 46 | + "./*": { |
| 47 | + "import": "./dist/esm/*", |
| 48 | + "require": "./dist/cjs/*" |
| 49 | + } |
| 50 | + }, |
| 51 | + "typesVersions": { |
| 52 | + "*": { |
| 53 | + "*": [ |
| 54 | + "./dist/esm/*" |
| 55 | + ] |
| 56 | + } |
| 57 | + }, |
| 58 | + "files": [ |
| 59 | + "dist" |
| 60 | + ], |
| 61 | + "scripts": { |
| 62 | + "fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
| 63 | + "build": "npm run build:esm && npm run build:cjs", |
| 64 | + "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json", |
| 65 | + "build:esm:w": "npm run build:esm -- -w", |
| 66 | + "build:cjs": "mkdir -p dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && tsc -p tsconfig.cjs.json", |
| 67 | + "build:cjs:w": "npm run build:cjs -- -w", |
| 68 | + "examples:simple-server:w": "tsx --watch src/examples/server/simpleStreamableHttp.ts --oauth", |
| 69 | + "prepack": "npm run build:esm && npm run build:cjs", |
| 70 | + "lint": "eslint src/ && prettier --check .", |
| 71 | + "lint:fix": "eslint src/ --fix && prettier --write .", |
| 72 | + "test": "npm run fetch:spec-types && jest", |
| 73 | + "start": "npm run server", |
| 74 | + "server": "tsx watch --clear-screen=false src/cli.ts server", |
| 75 | + "client": "tsx src/cli.ts client" |
| 76 | + }, |
| 77 | + "dependencies": { |
| 78 | + "content-type": "^1.0.5", |
| 79 | + "cors": "^2.8.5", |
| 80 | + "cross-spawn": "^7.0.5", |
| 81 | + "eventsource": "^3.0.2", |
| 82 | + "eventsource-parser": "^3.0.0", |
| 83 | + "express": "^5.0.1", |
| 84 | + "express-rate-limit": "^7.5.0", |
| 85 | + "pkce-challenge": "^5.0.0", |
| 86 | + "raw-body": "^3.0.0", |
| 87 | + "zod": "^3.23.8", |
| 88 | + "zod-to-json-schema": "^3.24.1" |
| 89 | + }, |
| 90 | + "peerDependencies": { |
| 91 | + "@cfworker/json-schema": "^4.1.1", |
| 92 | + "ajv": "^8.17.1", |
| 93 | + "ajv-formats": "^3.0.1" |
| 94 | + }, |
| 95 | + "peerDependenciesMeta": { |
| 96 | + "ajv": { |
| 97 | + "optional": true |
| 98 | + }, |
| 99 | + "ajv-formats": { |
| 100 | + "optional": true |
| 101 | + }, |
| 102 | + "@cfworker/json-schema": { |
| 103 | + "optional": true |
| 104 | + } |
| 105 | + }, |
| 106 | + "devDependencies": { |
| 107 | + "@cfworker/json-schema": "^4.1.1", |
| 108 | + "@eslint/js": "^9.8.0", |
| 109 | + "@jest-mock/express": "^3.0.0", |
| 110 | + "@types/content-type": "^1.1.8", |
| 111 | + "@types/cors": "^2.8.17", |
| 112 | + "@types/cross-spawn": "^6.0.6", |
| 113 | + "@types/eslint__js": "^8.42.3", |
| 114 | + "@types/eventsource": "^1.1.15", |
| 115 | + "@types/express": "^5.0.0", |
| 116 | + "@types/jest": "^29.5.12", |
| 117 | + "@types/node": "^22.0.2", |
| 118 | + "@types/supertest": "^6.0.2", |
| 119 | + "@types/ws": "^8.5.12", |
| 120 | + "ajv": "^8.17.1", |
| 121 | + "ajv-formats": "^3.0.1", |
| 122 | + "eslint": "^9.8.0", |
| 123 | + "eslint-config-prettier": "^10.1.8", |
| 124 | + "jest": "^29.7.0", |
| 125 | + "prettier": "3.6.2", |
| 126 | + "supertest": "^7.0.0", |
| 127 | + "ts-jest": "^29.2.4", |
| 128 | + "tsx": "^4.16.5", |
| 129 | + "typescript": "^5.5.4", |
| 130 | + "typescript-eslint": "^8.0.0", |
| 131 | + "ws": "^8.18.0" |
| 132 | + }, |
| 133 | + "resolutions": { |
| 134 | + "strip-ansi": "6.0.1" |
| 135 | + } |
106 | 136 | } |
0 commit comments