Skip to content

Commit bd61d21

Browse files
authored
Merge branch 'main' into fix/1
2 parents 823fc43 + 64a60c4 commit bd61d21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6238
-602
lines changed

.git-blame-ignore-revs

Whitespace-only changes.

README.md

Lines changed: 380 additions & 25 deletions
Large diffs are not rendered by default.

eslint.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,12 @@ export default tseslint.config(
1515
{ "argsIgnorePattern": "^_" }
1616
]
1717
}
18+
},
19+
{
20+
files: ["src/client/**/*.ts", "src/server/**/*.ts"],
21+
ignores: ["**/*.test.ts"],
22+
rules: {
23+
"no-console": "error"
24+
}
1825
}
1926
);

package-lock.json

Lines changed: 33 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/sdk",
3-
"version": "1.12.0",
3+
"version": "1.13.2",
44
"description": "Model Context Protocol implementation for TypeScript",
55
"license": "MIT",
66
"author": "Anthropic, PBC (https://anthropic.com)",
@@ -36,8 +36,11 @@
3636
],
3737
"scripts": {
3838
"build": "npm run build:esm && npm run build:cjs",
39-
"build:esm": "tsc -p tsconfig.prod.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
40-
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
39+
"build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json",
40+
"build:esm:w": "npm run build:esm -- -w",
41+
"build:cjs": "mkdir -p dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && tsc -p tsconfig.cjs.json",
42+
"build:cjs:w": "npm run build:cjs -- -w",
43+
"examples:simple-server:w": "tsx --watch src/examples/server/simpleStreamableHttp.ts --oauth",
4144
"prepack": "npm run build:esm && npm run build:cjs",
4245
"lint": "eslint src/",
4346
"test": "jest",
@@ -51,6 +54,7 @@
5154
"cors": "^2.8.5",
5255
"cross-spawn": "^7.0.5",
5356
"eventsource": "^3.0.2",
57+
"eventsource-parser": "^3.0.0",
5458
"express": "^5.0.1",
5559
"express-rate-limit": "^7.5.0",
5660
"pkce-challenge": "^5.0.0",

0 commit comments

Comments
 (0)