We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b67dc commit 99b113aCopy full SHA for 99b113a
src/server/init-server.ts
@@ -12,7 +12,7 @@ import {
12
import { registerOpenApiTools } from "../tools/registerOpenApi.ts";
13
import {
14
ABTestingSpec,
15
- AnalyticsSpec,
+ AnalyticsSpec, CollectionsSpec,
16
IngestionSpec,
17
MonitoringSpec,
18
RecommendSpec,
@@ -133,6 +133,14 @@ export async function initMCPServer(opts: StartServerOptions): Promise<McpServer
133
],
134
});
135
136
+ // Collections API Tools
137
+ registerOpenApiTools({
138
+ server,
139
+ dashboardApi,
140
+ openApiSpec: CollectionsSpec,
141
+ toolFilter,
142
+ });
143
+
144
return server;
145
} catch (err) {
146
console.error("Error starting server:", err);
0 commit comments