Skip to content

Commit 9612b26

Browse files
committed
lint!
1 parent a5ff923 commit 9612b26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/server/mcp-server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,9 +685,9 @@ export const createServerFactory = (_webServerInstance: WebServer, sharedApiClie
685685

686686
// Remove the completions capability that was auto-added by prompt registration
687687
// The MCP SDK automatically adds this when prompts are registered, but we don't want it
688-
// @ts-expect-error
688+
// @ts-expect-error quick workaround for an SDK issue (adding prompt/resource adds completions)
689689
if (server.server._capabilities?.completions) {
690-
// @ts-expect-error
690+
// @ts-expect-error quick workaround for an SDK issue (adding prompt/resource adds completions)
691691
delete server.server._capabilities.completions;
692692
logger.debug('Removed auto-added completions capability');
693693
}

0 commit comments

Comments
 (0)