@forestadmin/mcp-server 1.20.0 → 1.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ import type { ActivityLogAction, ActivityLogResponse, ActivityLogType, ActivityLogsServiceInterface, CreateActivityLogParams, ForestSchemaAction, ForestSchemaCollection, ForestSchemaField, SchemaServiceInterface, UpdateActivityLogStatusParams } from '@forestadmin/forestadmin-client';
2
+ export type { ActivityLogAction, ActivityLogResponse, ActivityLogsServiceInterface, ActivityLogType, CreateActivityLogParams, ForestSchemaAction, ForestSchemaCollection, ForestSchemaField, SchemaServiceInterface, UpdateActivityLogStatusParams, };
3
+ /**
4
+ * Interface for communicating with Forest Admin server.
5
+ * This abstraction allows for easy mocking in tests.
6
+ */
7
+ export interface ForestServerClient {
8
+ /**
9
+ * Base URL of the Forest Admin server this client talks to.
10
+ */
11
+ readonly forestServerUrl: string;
12
+ /**
13
+ * Fetches the Forest Admin schema from the server.
14
+ */
15
+ fetchSchema(): Promise<ForestSchemaCollection[]>;
16
+ /**
17
+ * Creates a pending activity log.
18
+ */
19
+ createActivityLog(params: CreateActivityLogParams): Promise<ActivityLogResponse>;
20
+ /**
21
+ * Creates a pending activity log using the MCP-dedicated route.
22
+ */
23
+ createMcpActivityLog(params: CreateActivityLogParams): Promise<ActivityLogResponse>;
24
+ /**
25
+ * Updates an activity log status.
26
+ */
27
+ updateActivityLogStatus(params: UpdateActivityLogStatusParams): Promise<void>;
28
+ }
29
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaHR0cC1jbGllbnQvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forestadmin/mcp-server",
3
- "version": "1.20.0",
3
+ "version": "1.20.2",
4
4
  "description": "Model Context Protocol server for Forest Admin with OAuth authentication",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -16,8 +16,8 @@
16
16
  "directory": "packages/mcp-server"
17
17
  },
18
18
  "dependencies": {
19
- "@forestadmin/agent-client": "1.12.1",
20
- "@forestadmin/forestadmin-client": "1.41.2",
19
+ "@forestadmin/agent-client": "1.12.2",
20
+ "@forestadmin/forestadmin-client": "1.41.3",
21
21
  "@modelcontextprotocol/sdk": "^1.28.0",
22
22
  "cors": "^2.8.5",
23
23
  "express": "^5.2.1",