@modelcontextprotocol/server 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,94 @@
1
+ {
2
+ "name": "@modelcontextprotocol/server",
3
+ "version": "2.0.0-alpha.1",
4
+ "description": "Model Context Protocol implementation for TypeScript - Server package",
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": ">=20"
16
+ },
17
+ "keywords": [
18
+ "modelcontextprotocol",
19
+ "mcp",
20
+ "server"
21
+ ],
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/index.d.mts",
25
+ "import": "./dist/index.mjs"
26
+ },
27
+ "./_shims": {
28
+ "workerd": {
29
+ "types": "./dist/shimsWorkerd.d.mts",
30
+ "import": "./dist/shimsWorkerd.mjs"
31
+ },
32
+ "browser": {
33
+ "types": "./dist/shimsWorkerd.d.mts",
34
+ "import": "./dist/shimsWorkerd.mjs"
35
+ },
36
+ "node": {
37
+ "types": "./dist/shimsNode.d.mts",
38
+ "import": "./dist/shimsNode.mjs"
39
+ },
40
+ "default": {
41
+ "types": "./dist/shimsNode.d.mts",
42
+ "import": "./dist/shimsNode.mjs"
43
+ }
44
+ }
45
+ },
46
+ "files": [
47
+ "dist"
48
+ ],
49
+ "dependencies": {
50
+ "zod": "^4.0"
51
+ },
52
+ "peerDependencies": {
53
+ "@cfworker/json-schema": "^4.1.1"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "@cfworker/json-schema": {
57
+ "optional": true
58
+ }
59
+ },
60
+ "devDependencies": {
61
+ "@cfworker/json-schema": "^4.1.1",
62
+ "@eslint/js": "^9.39.2",
63
+ "@types/cross-spawn": "^6.0.6",
64
+ "@types/eventsource": "^1.1.15",
65
+ "@typescript/native-preview": "^7.0.0-dev.20251217.1",
66
+ "eslint": "^9.39.2",
67
+ "eslint-config-prettier": "^10.1.8",
68
+ "eslint-plugin-n": "^17.23.1",
69
+ "prettier": "3.6.2",
70
+ "supertest": "^7.0.0",
71
+ "tsdown": "^0.18.0",
72
+ "tsx": "^4.16.5",
73
+ "typescript": "^5.9.3",
74
+ "typescript-eslint": "^8.48.1",
75
+ "vitest": "^4.0.15",
76
+ "@modelcontextprotocol/core": "^2.0.0-alpha.1",
77
+ "@modelcontextprotocol/test-helpers": "^2.0.0-alpha.0",
78
+ "@modelcontextprotocol/tsconfig": "^2.0.0",
79
+ "@modelcontextprotocol/vitest-config": "^2.0.0",
80
+ "@modelcontextprotocol/eslint-config": "^2.0.0"
81
+ },
82
+ "scripts": {
83
+ "typecheck": "tsgo -p tsconfig.json --noEmit",
84
+ "build": "tsdown",
85
+ "build:watch": "tsdown --watch",
86
+ "lint": "eslint src/ && prettier --ignore-path ../../.prettierignore --check .",
87
+ "lint:fix": "eslint src/ --fix && prettier --ignore-path ../../.prettierignore --write .",
88
+ "check": "pnpm run typecheck && pnpm run lint",
89
+ "test": "vitest run",
90
+ "test:watch": "vitest",
91
+ "server": "tsx watch --clear-screen=false scripts/cli.ts server",
92
+ "client": "tsx scripts/cli.ts client"
93
+ }
94
+ }