Skip to content

Commit 77c8d1b

Browse files
committed
feat: lower node version to 18
1 parent 9ca3689 commit 77c8d1b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mcp create <your project name here>
4949

5050
# Create a new project with the new EXPERIMENTAL HTTP transport
5151
Heads up: This will set cors allowed origin to "*", modify it in the index if you wish
52-
mcp create <your project name here> --http --port 3000 --cors
52+
mcp create <your project name here> --http --port 1337 --cors
5353
```
5454
5555
# Options:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-framework",
3-
"version": "0.2.2",
3+
"version": "0.2.3-beta.3",
44

55
"description": "Framework for building Model Context Protocol (MCP) servers in Typescript",
66
"type": "module",
@@ -25,7 +25,7 @@
2525
"watch": "tsc --watch"
2626
},
2727
"engines": {
28-
"node": ">=20.0.0"
28+
"node": ">=18.19.0"
2929
},
3030
"keywords": [
3131
"mcp",

src/cli/project/create.ts

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ export async function createProject(name?: string, options?: { http?: boolean, c
6666
"@types/node": "^20.11.24",
6767
"typescript": "^5.3.3"
6868
},
69+
engines: {
70+
"node": ">=18.19.0"
71+
}
6972
};
7073

7174
const tsconfig = {

src/transports/http/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export type JsonRpcMessage =
5959
export type HttpResponseMode = 'stream' | 'batch';
6060

6161
/**
62-
* Configuration options for Streamable HTTP transport that implements the MCP 2024-05-08 spec.
62+
* Configuration options for Streamable HTTP transport that implements the MCP 2025-03-26 spec.
6363
*
6464
* This defines the options for a transport that receives messages via HTTP POST and can respond
6565
* with either a single JSON response or open an SSE stream for streaming responses.

0 commit comments

Comments
 (0)