|
1 | 1 | { |
2 | | - "name": "@modelcontextprotocol/sdk", |
3 | | - "private": true, |
4 | | - "version": "2.0.0-alpha.0", |
5 | | - "description": "Model Context Protocol implementation for TypeScript", |
6 | | - "license": "SEE LICENSE IN LICENSE", |
7 | | - "author": "Model Context Protocol a Series of LF Projects, LLC.", |
8 | | - "homepage": "https://modelcontextprotocol.io", |
9 | | - "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", |
10 | | - "type": "module", |
11 | | - "repository": { |
12 | | - "type": "git", |
13 | | - "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" |
14 | | - }, |
15 | | - "engines": { |
16 | | - "node": ">=20" |
17 | | - }, |
18 | | - "packageManager": "pnpm@10.26.1", |
19 | | - "keywords": [ |
20 | | - "modelcontextprotocol", |
21 | | - "mcp" |
| 2 | + "name": "@modelcontextprotocol/sdk", |
| 3 | + "private": true, |
| 4 | + "version": "2.0.0-alpha.0", |
| 5 | + "description": "Model Context Protocol implementation for TypeScript", |
| 6 | + "license": "SEE LICENSE IN LICENSE", |
| 7 | + "author": "Model Context Protocol a Series of LF Projects, LLC.", |
| 8 | + "homepage": "https://modelcontextprotocol.io", |
| 9 | + "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues", |
| 10 | + "type": "module", |
| 11 | + "repository": { |
| 12 | + "type": "git", |
| 13 | + "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" |
| 14 | + }, |
| 15 | + "engines": { |
| 16 | + "node": ">=20" |
| 17 | + }, |
| 18 | + "packageManager": "pnpm@10.26.1", |
| 19 | + "keywords": [ |
| 20 | + "modelcontextprotocol", |
| 21 | + "mcp" |
| 22 | + ], |
| 23 | + "scripts": { |
| 24 | + "fetch:spec-types": "tsx scripts/fetch-spec-types.ts", |
| 25 | + "sync:snippets": "tsx scripts/sync-snippets.ts", |
| 26 | + "examples:simple-server:w": "pnpm --filter @modelcontextprotocol/examples-server exec tsx --watch src/simpleStreamableHttp.ts --oauth", |
| 27 | + "docs": "typedoc", |
| 28 | + "docs:multi": "bash scripts/generate-multidoc.sh", |
| 29 | + "docs:check": "typedoc", |
| 30 | + "typecheck:all": "pnpm -r typecheck", |
| 31 | + "build:all": "pnpm -r build", |
| 32 | + "prepack:all": "pnpm -r prepack", |
| 33 | + "lint:all": "pnpm sync:snippets --check && pnpm -r lint", |
| 34 | + "lint:fix:all": "pnpm sync:snippets && pnpm -r lint:fix", |
| 35 | + "check:all": "pnpm -r typecheck && pnpm -r lint && pnpm run docs:check", |
| 36 | + "test:all": "pnpm -r test", |
| 37 | + "test:conformance:client": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client", |
| 38 | + "test:conformance:client:all": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client:all", |
| 39 | + "test:conformance:client:run": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client:run", |
| 40 | + "test:conformance:server": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server", |
| 41 | + "test:conformance:server:all": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server:all", |
| 42 | + "test:conformance:server:run": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server:run", |
| 43 | + "test:conformance:all": "pnpm run test:conformance:client:all && pnpm run test:conformance:server:all" |
| 44 | + }, |
| 45 | + "devDependencies": { |
| 46 | + "@cfworker/json-schema": "catalog:runtimeShared", |
| 47 | + "@changesets/changelog-github": "^0.5.2", |
| 48 | + "@changesets/cli": "^2.29.8", |
| 49 | + "@eslint/js": "catalog:devTools", |
| 50 | + "@modelcontextprotocol/client": "workspace:^", |
| 51 | + "@modelcontextprotocol/server": "workspace:^", |
| 52 | + "@modelcontextprotocol/node": "workspace:^", |
| 53 | + "@types/content-type": "catalog:devTools", |
| 54 | + "@types/cors": "catalog:devTools", |
| 55 | + "@types/cross-spawn": "catalog:devTools", |
| 56 | + "@types/eventsource": "catalog:devTools", |
| 57 | + "@types/express": "catalog:devTools", |
| 58 | + "@types/express-serve-static-core": "catalog:devTools", |
| 59 | + "@types/node": "^24.10.1", |
| 60 | + "@types/supertest": "catalog:devTools", |
| 61 | + "@types/ws": "catalog:devTools", |
| 62 | + "@typescript/native-preview": "catalog:devTools", |
| 63 | + "eslint": "catalog:devTools", |
| 64 | + "eslint-config-prettier": "catalog:devTools", |
| 65 | + "eslint-plugin-n": "catalog:devTools", |
| 66 | + "fast-glob": "^3.3.3", |
| 67 | + "prettier": "catalog:devTools", |
| 68 | + "supertest": "catalog:devTools", |
| 69 | + "tsdown": "catalog:devTools", |
| 70 | + "tslib": "^2.8.1", |
| 71 | + "tsx": "catalog:devTools", |
| 72 | + "typedoc": "catalog:devTools", |
| 73 | + "typescript": "catalog:devTools", |
| 74 | + "typescript-eslint": "catalog:devTools", |
| 75 | + "vitest": "catalog:devTools", |
| 76 | + "ws": "catalog:devTools", |
| 77 | + "zod": "catalog:runtimeShared" |
| 78 | + }, |
| 79 | + "resolutions": { |
| 80 | + "strip-ansi": "6.0.1" |
| 81 | + }, |
| 82 | + "workspaces": { |
| 83 | + "packages": [ |
| 84 | + "packages/**/*", |
| 85 | + "common/**/*", |
| 86 | + "examples/**/*", |
| 87 | + "test/**/*" |
22 | 88 | ], |
23 | | - "scripts": { |
24 | | - "fetch:spec-types": "tsx scripts/fetch-spec-types.ts", |
25 | | - "sync:snippets": "tsx scripts/sync-snippets.ts", |
26 | | - "examples:simple-server:w": "pnpm --filter @modelcontextprotocol/examples-server exec tsx --watch src/simpleStreamableHttp.ts --oauth", |
27 | | - "docs": "typedoc", |
28 | | - "docs:multi": "bash scripts/generate-multidoc.sh", |
29 | | - "docs:check": "typedoc", |
30 | | - "typecheck:all": "pnpm -r typecheck", |
31 | | - "build:all": "pnpm -r build", |
32 | | - "prepack:all": "pnpm -r prepack", |
33 | | - "lint:all": "pnpm sync:snippets --check && pnpm -r lint", |
34 | | - "lint:fix:all": "pnpm sync:snippets && pnpm -r lint:fix", |
35 | | - "check:all": "pnpm -r typecheck && pnpm -r lint && pnpm run docs:check", |
36 | | - "test:all": "pnpm -r test", |
37 | | - "test:conformance:client": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client", |
38 | | - "test:conformance:client:all": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client:all", |
39 | | - "test:conformance:client:run": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:client:run", |
40 | | - "test:conformance:server": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server", |
41 | | - "test:conformance:server:all": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server:all", |
42 | | - "test:conformance:server:run": "pnpm --filter @modelcontextprotocol/test-conformance run test:conformance:server:run", |
43 | | - "test:conformance:all": "pnpm run test:conformance:client:all && pnpm run test:conformance:server:all" |
44 | | - }, |
45 | | - "devDependencies": { |
46 | | - "@cfworker/json-schema": "catalog:runtimeShared", |
47 | | - "@changesets/changelog-github": "^0.5.2", |
48 | | - "@changesets/cli": "^2.29.8", |
49 | | - "@eslint/js": "catalog:devTools", |
50 | | - "@modelcontextprotocol/client": "workspace:^", |
51 | | - "@modelcontextprotocol/server": "workspace:^", |
52 | | - "@modelcontextprotocol/node": "workspace:^", |
53 | | - "@types/content-type": "catalog:devTools", |
54 | | - "@types/cors": "catalog:devTools", |
55 | | - "@types/cross-spawn": "catalog:devTools", |
56 | | - "@types/eventsource": "catalog:devTools", |
57 | | - "@types/express": "catalog:devTools", |
58 | | - "@types/express-serve-static-core": "catalog:devTools", |
59 | | - "@types/node": "^24.10.1", |
60 | | - "@types/supertest": "catalog:devTools", |
61 | | - "@types/ws": "catalog:devTools", |
62 | | - "@typescript/native-preview": "catalog:devTools", |
63 | | - "eslint": "catalog:devTools", |
64 | | - "eslint-config-prettier": "catalog:devTools", |
65 | | - "eslint-plugin-n": "catalog:devTools", |
66 | | - "fast-glob": "^3.3.3", |
67 | | - "prettier": "catalog:devTools", |
68 | | - "supertest": "catalog:devTools", |
69 | | - "tsdown": "catalog:devTools", |
70 | | - "tslib": "^2.8.1", |
71 | | - "tsx": "catalog:devTools", |
72 | | - "typedoc": "catalog:devTools", |
73 | | - "typescript": "catalog:devTools", |
74 | | - "typescript-eslint": "catalog:devTools", |
75 | | - "vitest": "catalog:devTools", |
76 | | - "ws": "catalog:devTools", |
77 | | - "zod": "catalog:runtimeShared" |
78 | | - }, |
79 | | - "resolutions": { |
80 | | - "strip-ansi": "6.0.1" |
| 89 | + "catalogs": { |
| 90 | + "devTools": { |
| 91 | + "@eslint/js": "^9.39.2", |
| 92 | + "wrangler": "^4.14.4", |
| 93 | + "@types/content-type": "^1.1.8", |
| 94 | + "@types/cors": "^2.8.17", |
| 95 | + "@types/cross-spawn": "^6.0.6", |
| 96 | + "@types/eventsource": "^1.1.15", |
| 97 | + "@types/express": "^5.0.6", |
| 98 | + "@types/express-serve-static-core": "^5.1.0", |
| 99 | + "@types/supertest": "^6.0.2", |
| 100 | + "@types/ws": "^8.5.12", |
| 101 | + "@typescript/native-preview": "^7.0.0-dev.20251217.1", |
| 102 | + "eslint": "^9.39.2", |
| 103 | + "eslint-config-prettier": "^10.1.8", |
| 104 | + "eslint-plugin-n": "^17.23.1", |
| 105 | + "prettier": "3.6.2", |
| 106 | + "supertest": "^7.0.0", |
| 107 | + "tsdown": "^0.18.0", |
| 108 | + "typedoc": "^0.28.14", |
| 109 | + "tsx": "^4.16.5", |
| 110 | + "typescript": "^5.9.3", |
| 111 | + "typescript-eslint": "^8.48.1", |
| 112 | + "vite-tsconfig-paths": "^5.1.4", |
| 113 | + "vitest": "^4.0.15", |
| 114 | + "ws": "^8.18.0" |
| 115 | + }, |
| 116 | + "runtimeClientOnly": { |
| 117 | + "cross-spawn": "^7.0.5", |
| 118 | + "eventsource": "^3.0.2", |
| 119 | + "eventsource-parser": "^3.0.0", |
| 120 | + "jose": "^6.1.3" |
| 121 | + }, |
| 122 | + "runtimeServerOnly": { |
| 123 | + "@hono/node-server": "^1.19.9", |
| 124 | + "content-type": "^1.0.5", |
| 125 | + "cors": "^2.8.5", |
| 126 | + "express": "^5.2.1", |
| 127 | + "hono": "^4.11.4", |
| 128 | + "raw-body": "^3.0.0" |
| 129 | + }, |
| 130 | + "runtimeShared": { |
| 131 | + "@cfworker/json-schema": "^4.1.1", |
| 132 | + "ajv": "^8.17.1", |
| 133 | + "ajv-formats": "^3.0.1", |
| 134 | + "json-schema-typed": "^8.0.2", |
| 135 | + "pkce-challenge": "^5.0.0", |
| 136 | + "zod": "^4.0" |
| 137 | + } |
81 | 138 | } |
| 139 | + } |
82 | 140 | } |
0 commit comments