Skip to content

Commit 8355f3a

Browse files
committed
fix return value
1 parent 5cbf12c commit 8355f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class ApifyMcpServer {
101101

102102
private setupToolHandlers(): void {
103103
this.server.setRequestHandler(ListToolsRequestSchema, async () => {
104-
return { tools: this.tools.values() };
104+
return { tools: Array.from(this.tools.values()) };
105105
});
106106

107107
/**

0 commit comments

Comments
 (0)