Skip to content

Commit a2b7afd

Browse files
Merge pull request #140 from ihrpr/patch-1
Update README.md new SSE Server to match defaults in inspector
2 parents 87197fb + 892d8f3 commit a2b7afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ const server = new McpServer({
224224

225225
const app = express();
226226

227-
app.get("/mcp", async (req, res) => {
227+
app.get("/sse", async (req, res) => {
228228
const transport = new SSEServerTransport("/messages", res);
229229
await server.connect(transport);
230230
});
@@ -236,7 +236,7 @@ app.post("/messages", async (req, res) => {
236236
await transport.handlePostMessage(req, res);
237237
});
238238

239-
app.listen(3000);
239+
app.listen(3001);
240240
```
241241

242242
### Testing and Debugging

0 commit comments

Comments
 (0)