|
1 | 1 | import type { ChartRequest } from './charts/chart-handler'; |
2 | 2 | import type { Chart, QueryChart } from './charts/types'; |
| 3 | +import type { McpConfiguration } from '@forestadmin/ai-proxy'; |
3 | 4 |
|
4 | 5 | import { ParsedUrlQuery } from 'querystring'; |
5 | 6 |
|
6 | 7 | import { Tokens, UserInfo } from './auth/types'; |
7 | 8 | import { IpWhitelistConfiguration } from './ip-whitelist/types'; |
| 9 | +import { McpServerConfigService } from './mcp-server-config/types'; |
8 | 10 | import { ModelCustomization, ModelCustomizationService } from './model-customizations/types'; |
9 | 11 | import { HttpOptions } from './permissions/forest-http-api'; |
10 | 12 | import { |
@@ -49,6 +51,7 @@ export interface ForestAdminClient { |
49 | 51 | readonly contextVariablesInstantiator: ContextVariablesInstantiatorInterface; |
50 | 52 | readonly chartHandler: ChartHandlerInterface; |
51 | 53 | readonly modelCustomizationService: ModelCustomizationService; |
| 54 | + readonly mcpServerConfigService: McpServerConfigService; |
52 | 55 | readonly authService: ForestAdminAuthServiceInterface; |
53 | 56 |
|
54 | 57 | verifySignedActionParameters<TSignedParameters>(signedParameters: string): TSignedParameters; |
@@ -161,5 +164,6 @@ export interface ForestAdminServerInterface { |
161 | 164 | getUsers: (...args) => Promise<UserPermissionV4[]>; |
162 | 165 | getRenderingPermissions: (renderingId: number, ...args) => Promise<RenderingPermissionV4>; |
163 | 166 | getModelCustomizations: (options: HttpOptions) => Promise<ModelCustomization[]>; |
| 167 | + getMcpServerConfigs: (options: HttpOptions) => Promise<McpConfiguration>; |
164 | 168 | makeAuthService(options: ForestAdminClientOptionsWithDefaults): ForestAdminAuthServiceInterface; |
165 | 169 | } |
0 commit comments