Skip to content

Commit

Permalink
Remove classes
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshmurag committed Nov 19, 2024
1 parent f64c699 commit b005dc9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/puppeteer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,19 @@ async function handleToolCall(name: string, args: any): Promise<{ toolResult: Ca
}
}

const server = new Server({
name: "example-servers/puppeteer",
version: "0.4.0",
});
const server = new Server(
{
name: "example-servers/puppeteer",
version: "0.1.0",
},
{
capabilities: {
resources: {},
tools: {},
},
},
);


// Setup request handlers
server.setRequestHandler(ListResourcesRequestSchema, async () => ({
Expand Down

0 comments on commit b005dc9

Please sign in to comment.