Skip to content

Commit

Permalink
Fix missing argument in cli.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Nov 11, 2024
1 parent 7ab5880 commit af03a74
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ async function runServer(port: number | null) {
console.log("Got new SSE connection");

const transport = new SSEServerTransport("/message", res);
const server = new Server({
name: "mcp-typescript test server",
version: "0.1.0",
});
const server = new Server(
{
name: "mcp-typescript test server",
version: "0.1.0",
},
{},
);

servers.push(server);

Expand Down

0 comments on commit af03a74

Please sign in to comment.