@forumviriumhelsinki/podio-mcp 2.11.0 → 2.11.1

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.
Files changed (74) hide show
  1. package/README.md +3 -1
  2. package/build/config/build-defaults.d.ts +2 -2
  3. package/build/config/build-defaults.js +2 -2
  4. package/build/index.d.ts +3 -589
  5. package/build/index.d.ts.map +1 -1
  6. package/build/index.js +5 -1663
  7. package/build/index.js.map +1 -1
  8. package/build/package-info.d.ts +9 -0
  9. package/build/package-info.d.ts.map +1 -0
  10. package/build/package-info.js +11 -0
  11. package/build/package-info.js.map +1 -0
  12. package/build/podio-mcp-server.d.ts +596 -0
  13. package/build/podio-mcp-server.d.ts.map +1 -0
  14. package/build/podio-mcp-server.js +1639 -0
  15. package/build/podio-mcp-server.js.map +1 -0
  16. package/build/tools/index.d.ts +1 -1
  17. package/build/tools/index.d.ts.map +1 -1
  18. package/build/tools/index.js +1 -1
  19. package/build/tools/index.js.map +1 -1
  20. package/build/tools/item-tool-schemas.d.ts +32 -6
  21. package/build/tools/item-tool-schemas.d.ts.map +1 -1
  22. package/build/tools/item-tool-schemas.js +91 -16
  23. package/build/tools/item-tool-schemas.js.map +1 -1
  24. package/build/tools/schemas/app.d.ts +41 -0
  25. package/build/tools/schemas/app.d.ts.map +1 -0
  26. package/build/tools/schemas/app.js +52 -0
  27. package/build/tools/schemas/app.js.map +1 -0
  28. package/build/tools/schemas/code-execution.d.ts +17 -0
  29. package/build/tools/schemas/code-execution.d.ts.map +1 -0
  30. package/build/tools/schemas/code-execution.js +33 -0
  31. package/build/tools/schemas/code-execution.js.map +1 -0
  32. package/build/tools/schemas/comments.d.ts +47 -0
  33. package/build/tools/schemas/comments.d.ts.map +1 -0
  34. package/build/tools/schemas/comments.js +55 -0
  35. package/build/tools/schemas/comments.js.map +1 -0
  36. package/build/tools/schemas/files.d.ts +30 -0
  37. package/build/tools/schemas/files.d.ts.map +1 -0
  38. package/build/tools/schemas/files.js +44 -0
  39. package/build/tools/schemas/files.js.map +1 -0
  40. package/build/tools/schemas/items.d.ts +43 -0
  41. package/build/tools/schemas/items.d.ts.map +1 -0
  42. package/build/tools/schemas/items.js +54 -0
  43. package/build/tools/schemas/items.js.map +1 -0
  44. package/build/tools/schemas/notifications.d.ts +35 -0
  45. package/build/tools/schemas/notifications.d.ts.map +1 -0
  46. package/build/tools/schemas/notifications.js +57 -0
  47. package/build/tools/schemas/notifications.js.map +1 -0
  48. package/build/tools/schemas/project-epic.d.ts +30 -0
  49. package/build/tools/schemas/project-epic.d.ts.map +1 -0
  50. package/build/tools/schemas/project-epic.js +49 -0
  51. package/build/tools/schemas/project-epic.js.map +1 -0
  52. package/build/tools/schemas/search.d.ts +48 -0
  53. package/build/tools/schemas/search.d.ts.map +1 -0
  54. package/build/tools/schemas/search.js +85 -0
  55. package/build/tools/schemas/search.js.map +1 -0
  56. package/build/tools/schemas/tasks.d.ts +48 -0
  57. package/build/tools/schemas/tasks.d.ts.map +1 -0
  58. package/build/tools/schemas/tasks.js +50 -0
  59. package/build/tools/schemas/tasks.js.map +1 -0
  60. package/build/tools/schemas/utility.d.ts +20 -0
  61. package/build/tools/schemas/utility.d.ts.map +1 -0
  62. package/build/tools/schemas/utility.js +23 -0
  63. package/build/tools/schemas/utility.js.map +1 -0
  64. package/build/tools/tool-definitions.d.ts +6 -10
  65. package/build/tools/tool-definitions.d.ts.map +1 -1
  66. package/build/tools/tool-definitions.js +66 -794
  67. package/build/tools/tool-definitions.js.map +1 -1
  68. package/build/tools/zod-tool-args.d.ts +11 -0
  69. package/build/tools/zod-tool-args.d.ts.map +1 -0
  70. package/build/tools/zod-tool-args.js +46 -0
  71. package/build/tools/zod-tool-args.js.map +1 -0
  72. package/build/utils/podio-url.d.ts +2 -2
  73. package/build/utils/podio-url.js +2 -2
  74. package/package.json +4 -3
package/README.md CHANGED
@@ -210,7 +210,9 @@ Upload /tmp/q3-report.html and comment "Q3 report attached" on item 3246190585
210
210
  ```
211
211
  podio-mcp/
212
212
  ├── src/
213
- │ ├── index.ts # Main MCP server
213
+ │ ├── index.ts # Entry point: CLI flags, stdio transport
214
+ │ ├── podio-mcp-server.ts # PodioMCPServer: registers tools via McpServer
215
+ │ ├── package-info.ts # Package version
214
216
  │ ├── oauth-helper.ts # OAuth2 authentication
215
217
  │ ├── api/
216
218
  │ │ └── podio-api-client.ts # Podio HTTP client
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Built-in defaults consumed by src/index.ts.
2
+ * Built-in defaults consumed by src/podio-mcp-server.ts.
3
3
  *
4
4
  * Fallback chain: runtime env var → built-in default → missing (warning)
5
5
  *
@@ -11,7 +11,7 @@
11
11
  * removed rather than fixed; a client ID belongs to the operator, not to the
12
12
  * package.
13
13
  *
14
- * Runtime env vars always win — see src/index.ts:
14
+ * Runtime env vars always win — see src/podio-mcp-server.ts:
15
15
  * process.env.PODIO_CLIENT_ID || BUILD_DEFAULTS.PODIO_CLIENT_ID
16
16
  */
17
17
  export declare const BUILD_DEFAULTS: {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Built-in defaults consumed by src/index.ts.
2
+ * Built-in defaults consumed by src/podio-mcp-server.ts.
3
3
  *
4
4
  * Fallback chain: runtime env var → built-in default → missing (warning)
5
5
  *
@@ -11,7 +11,7 @@
11
11
  * removed rather than fixed; a client ID belongs to the operator, not to the
12
12
  * package.
13
13
  *
14
- * Runtime env vars always win — see src/index.ts:
14
+ * Runtime env vars always win — see src/podio-mcp-server.ts:
15
15
  * process.env.PODIO_CLIENT_ID || BUILD_DEFAULTS.PODIO_CLIENT_ID
16
16
  */
17
17
  export const BUILD_DEFAULTS = {
package/build/index.d.ts CHANGED
@@ -5,596 +5,10 @@
5
5
  * This server provides natural language management of Podio items and tasks through Claude conversations.
6
6
  * It implements the MCP protocol to expose Podio operations as tools that can be called by AI assistants.
7
7
  *
8
- * @author Podio MCP Team
9
- */
10
- /**
11
- * Refactored MCP server class that coordinates modular components.
8
+ * This module is the executable entry point; the server itself is in `podio-mcp-server.ts`.
12
9
  *
13
- * This class now serves as a lightweight coordinator between the MCP protocol
14
- * and specialized service classes. It delegates API calls, caching, field operations,
15
- * and error handling to dedicated modules for better maintainability.
16
- *
17
- * The server uses dependency injection and modular architecture for improved
18
- * testability and separation of concerns.
19
- *
20
- * @class PodioMCPServer
21
- * @example
22
- * ```typescript
23
- * const server = new PodioMCPServer();
24
- * await server.run();
25
- * ```
10
+ * @author Podio MCP Team
26
11
  */
27
- declare class PodioMCPServer {
28
- /** The underlying MCP server instance */
29
- private readonly server;
30
- /** OAuth helper for managing authentication */
31
- private oauthHelper;
32
- /** API client for all Podio operations */
33
- private apiClient;
34
- /** Unified cache manager */
35
- private cacheManager;
36
- /** Map of loaded app structures with field mappers by coordinates key */
37
- private loadedApps;
38
- /** Default/active app coordinates for backward compatibility */
39
- private activeAppKey;
40
- /** Service layer instances */
41
- private itemService;
42
- private taskService;
43
- private projectEpicService;
44
- private appStructureService;
45
- private notificationService;
46
- private searchService;
47
- private commentService;
48
- private fileService;
49
- private codeExecutionService;
50
- /**
51
- * Initialize the refactored Podio MCP server.
52
- *
53
- * Sets up the MCP server with modular components and initializes
54
- * OAuth authentication and API client if credentials are available.
55
- *
56
- * Environment variables:
57
- * - PODIO_CLIENT_ID: Your Podio app's client ID (required; register an app at
58
- * https://developers.podio.com/api-key)
59
- * - PODIO_REDIRECT_URI: OAuth redirect URI (defaults to http://localhost:8080/callback)
60
- * - PODIO_CLIENT_SECRET: Your Podio app's client secret (omit for implicit OAuth flow)
61
- *
62
- * @constructor
63
- */
64
- constructor();
65
- /**
66
- * Initialize OAuth helper and API client from environment variables.
67
- *
68
- * @private
69
- */
70
- private initializeAuthAndApi;
71
- /**
72
- * Set up MCP request handlers for tools.
73
- *
74
- * Uses the modular tool definitions and proper error handling.
75
- *
76
- * @private
77
- */
78
- private setupToolHandlers;
79
- /**
80
- * Route tool calls to appropriate handlers.
81
- *
82
- * @private
83
- * @param name - Tool name
84
- * @param args - Tool arguments
85
- * @returns Tool response
86
- */
87
- private handleToolCall;
88
- /**
89
- * Handle errors from tool execution with proper typing.
90
- *
91
- * @private
92
- * @param toolName - Name of the tool that failed
93
- * @param error - The error that occurred
94
- * @returns Formatted error response
95
- */
96
- private handleToolError;
97
- /**
98
- * Ensure API client and services are available and authenticated.
99
- *
100
- * @private
101
- * @throws PodioAuthError if authentication is not available
102
- */
103
- private ensureServicesAvailable;
104
- /** Returns the item service, throwing if not initialized. */
105
- private get items();
106
- /** Returns the task service, throwing if not initialized. */
107
- private get tasks();
108
- /** Returns the app structure service, throwing if not initialized. */
109
- private get appStructures();
110
- /** Returns the project/epic service, throwing if not initialized. */
111
- private get projectEpics();
112
- /** Returns the notification service, throwing if not initialized. */
113
- private get notifications();
114
- /** Returns the search service, throwing if not initialized. */
115
- private get searches();
116
- /** Returns the comment service, throwing if not initialized. */
117
- private get comments();
118
- /** Returns the file service, throwing if not initialized. */
119
- private get files();
120
- /**
121
- * Get the coordinate key for a given set of coordinates.
122
- *
123
- * @private
124
- * @param coordinates - App coordinates
125
- * @returns String key for the coordinates
126
- */
127
- private getCoordinateKey;
128
- /**
129
- * Get the active app structure and field mapper.
130
- *
131
- * @private
132
- * @returns Active app structure and field mapper or null
133
- */
134
- private getActiveApp;
135
- /**
136
- * Get app context for an operation - either from provided coordinates or active app.
137
- * Throws a helpful error if no app context is available.
138
- *
139
- * @private
140
- * @param args - Arguments potentially containing coordinates
141
- * @param operation - Operation name for error message
142
- * @returns App context with structure and field mapper
143
- */
144
- private getAppContextForOperation;
145
- /**
146
- * Ensure app structure is loaded using the app structure service.
147
- * Supports loading multiple apps into memory simultaneously.
148
- *
149
- * @private
150
- * @param args - Arguments with optional coordinates and force_refresh
151
- * @returns The loaded app structure and field mapper
152
- */
153
- private ensureAppStructureLoaded;
154
- /**
155
- * Load and cache the structure of a Podio app.
156
- * Supports loading multiple apps simultaneously.
157
- *
158
- * @private
159
- * @param args - Arguments containing optional org_label, space_label, app_label, force_refresh, set_as_active
160
- * @returns MCP tool response with app structure information
161
- */
162
- private getAppStructure;
163
- /**
164
- * Cache app structure by coordinates.
165
- *
166
- * @private
167
- */
168
- private cacheAppStructure;
169
- /**
170
- * List all cached apps (both in memory and in persistent cache).
171
- *
172
- * @private
173
- */
174
- private listCachedApps;
175
- /**
176
- * Refresh app cache.
177
- *
178
- * @private
179
- */
180
- private refreshAppCache;
181
- /**
182
- * Set the active app for operations that don't specify coordinates.
183
- *
184
- * @private
185
- * @param args - App coordinates to set as active
186
- */
187
- private setActiveApp;
188
- /**
189
- * Clear app cache from both memory and persistent storage.
190
- * Supports clearing a specific app or all apps.
191
- *
192
- * @private
193
- * @param args - Optional app_id or coordinates to clear specific app
194
- */
195
- private clearAppCache;
196
- /**
197
- * List items from the configured Podio app with optional filtering.
198
- * Supports multi-app context by using coordinates or active app.
199
- *
200
- * @private
201
- * @param args - Filter arguments
202
- * @returns MCP tool response with formatted list of items
203
- */
204
- private listItems;
205
- /**
206
- * Create a new item in the Podio app.
207
- * Supports multi-app context by using coordinates or active app.
208
- *
209
- * @private
210
- * @param args - Item data
211
- * @returns MCP tool response with created item information
212
- */
213
- private createItem;
214
- /**
215
- * Update an existing item in the Podio app.
216
- *
217
- * @private
218
- * @param args - Update data
219
- * @returns MCP tool response with update confirmation
220
- */
221
- private updateItem;
222
- /**
223
- * Delete an item from the Podio app.
224
- *
225
- * @private
226
- * @param args - Arguments containing item_id
227
- * @returns MCP tool response with deletion confirmation
228
- */
229
- private deleteItem;
230
- /**
231
- * Get detailed information about a specific item.
232
- *
233
- * @private
234
- * @param args - Arguments containing item_id
235
- * @returns MCP tool response with detailed item information
236
- */
237
- private getItemDetails;
238
- /**
239
- * Get detailed information about a specific item using its app item ID.
240
- *
241
- * @private
242
- * @param args - Arguments containing app_item_id
243
- * @returns MCP tool response with detailed item information
244
- */
245
- private getItemByAppItemId;
246
- /**
247
- * Update an item using its app item ID.
248
- *
249
- * @private
250
- * @param args - Arguments containing app_item_id and update data
251
- * @returns MCP tool response with update confirmation
252
- */
253
- private updateItemByAppItemId;
254
- /**
255
- * Delete an item using its app item ID.
256
- *
257
- * @private
258
- * @param args - Arguments containing app_item_id
259
- * @returns MCP tool response with delete confirmation
260
- */
261
- private deleteItemByAppItemId;
262
- /**
263
- * List Podio tasks with optional filtering.
264
- *
265
- * @private
266
- * @param args - Filter arguments
267
- * @returns MCP tool response with formatted list of tasks
268
- */
269
- private listTasks;
270
- /**
271
- * Create a new task in Podio.
272
- *
273
- * @private
274
- * @param args - Task data
275
- * @returns MCP tool response with created task information
276
- */
277
- private createTask;
278
- /**
279
- * Create a new task attached to a specific Podio item.
280
- *
281
- * @private
282
- * @param args - Task data with item_id
283
- * @returns MCP tool response with created task information
284
- */
285
- private createTaskForItem;
286
- /**
287
- * Update an existing task in Podio.
288
- *
289
- * @private
290
- * @param args - Task update data
291
- * @returns MCP tool response with update confirmation
292
- */
293
- private updateTask;
294
- /**
295
- * Delete a task from Podio.
296
- *
297
- * @private
298
- * @param args - Arguments containing task_id
299
- * @returns MCP tool response with deletion confirmation
300
- */
301
- private deleteTask;
302
- /**
303
- * Get detailed information about a specific task.
304
- *
305
- * @private
306
- * @param args - Arguments containing task_id
307
- * @returns MCP tool response with detailed task information
308
- */
309
- private getTaskDetails;
310
- /**
311
- * List all available projects.
312
- *
313
- * @private
314
- * @param args - Arguments with optional refresh_cache and limit (1-500)
315
- * @returns MCP tool response with formatted list of projects
316
- */
317
- private listProjects;
318
- /**
319
- * List all available epics.
320
- *
321
- * @private
322
- * @param args - Arguments with optional refresh_cache and limit (1-500)
323
- * @returns MCP tool response with formatted list of epics
324
- */
325
- private listEpics;
326
- /**
327
- * Suggest appropriate project and epic based on item details using sophisticated AI-powered matching.
328
- *
329
- * This function implements a comprehensive suggestion system that analyzes input text against
330
- * cached projects and epics using multiple matching strategies and weighted scoring algorithms.
331
- *
332
- * ## Matching Algorithm
333
- *
334
- * The suggestion system uses a hierarchical matching approach with weighted scoring:
335
- *
336
- * ### Scoring Weights
337
- * - **Title matching**: 1.0x (full weight)
338
- * - **Description matching**: 0.5x (reduced weight as descriptions are less precise)
339
- * - **Label matching**: 0.3x (minimal weight as labels are often generic)
340
- *
341
- * ### Matching Hierarchy
342
- * 1. **Exact match**: Perfect string match (score: 1.0)
343
- * 2. **Prefix match**: Input matches start of target (score: 0.9)
344
- * 3. **Contains match**: Target contains input anywhere (score: 0.7)
345
- * 4. **Fuzzy match**: Levenshtein distance-based similarity (score: 0.0-0.6)
346
- *
347
- * ### Levenshtein Distance Fuzzy Matching
348
- * When exact/prefix/contains matching fails, the system uses Levenshtein distance
349
- * to calculate string similarity: `1 - (editDistance / maxStringLength)`
350
- * This enables matching of typos, abbreviations, and related terms.
351
- *
352
- * ## Configuration Parameters
353
- * - **minSimilarityScore**: 0.3 (filters out weak matches)
354
- * - **maxSuggestions**: 10 (limits results for performance)
355
- * - **Cache TTL**: 30 minutes (balances freshness vs performance)
356
- *
357
- * ## Cache Behavior
358
- * - Projects and epics are cached for 30 minutes after first fetch
359
- * - Cache keys are based on app ID for workspace isolation
360
- * - Automatic cache refresh on API structure mismatches
361
- * - Memory-based storage for fast lookups during suggestion scoring
362
- *
363
- * @example
364
- * Input: "API authentication refactor"
365
- * Matches:
366
- * - Project: "Authentication System" (0.85 - title similarity)
367
- * - Epic: "API Improvements" (0.72 - partial title match)
368
- *
369
- * @example
370
- * Input: "database migration task"
371
- * Matches:
372
- * - Project: "Database Modernization" (0.68 - fuzzy title match)
373
- * - Epic: "Data Migration" (0.91 - strong title match)
374
- *
375
- * @private
376
- * @param args - Arguments containing title and optional description
377
- * @param args.title - The title of the item to suggest projects/epics for (required)
378
- * @param args.description - Optional description providing additional context for matching
379
- * @returns MCP tool response with ranked suggestions including:
380
- * - Matched projects with similarity scores and reasons
381
- * - Matched epics with similarity scores and reasons
382
- * - Empty arrays if no matches above similarity threshold found
383
- * @throws {PodioValidationError} If title parameter is missing or empty
384
- * @throws {PodioStructureError} If app structure is not loaded
385
- * @throws {PodioApiError} If project/epic data cannot be fetched from cache or API
386
- */
387
- private suggestProjectEpic;
388
- /**
389
- * Inspect the structure of fields in the app.
390
- *
391
- * @private
392
- * @param args - Arguments with optional field_name
393
- * @returns MCP tool response with field structure information
394
- */
395
- private inspectFieldStructure;
396
- /**
397
- * List all members of the current space.
398
- *
399
- * @private
400
- * @param args - Arguments with optional refresh_cache
401
- * @returns MCP tool response with formatted list of space members
402
- */
403
- private listSpaceMembers;
404
- /**
405
- * List Podio notifications with optional filtering.
406
- *
407
- * @private
408
- * @param args - Filter arguments
409
- * @returns MCP tool response with formatted list of notifications
410
- */
411
- private listNotifications;
412
- /**
413
- * Get detailed information about a specific notification.
414
- *
415
- * @private
416
- * @param args - Arguments containing notification_id
417
- * @returns MCP tool response with detailed notification information
418
- */
419
- private getNotificationDetails;
420
- /**
421
- * Get unread notification count.
422
- *
423
- * @private
424
- * @param args - Empty arguments object
425
- * @returns MCP tool response with unread count information
426
- */
427
- private getUnreadCount;
428
- /**
429
- * Get notification settings for the current user.
430
- *
431
- * @private
432
- * @param args - Empty arguments object
433
- * @returns MCP tool response with notification settings
434
- */
435
- private getNotificationSettings;
436
- /**
437
- * Main search tool with scope selection and filtering
438
- *
439
- * @private
440
- * @param args - Search arguments
441
- * @returns MCP tool response with search results
442
- */
443
- private searchPodio;
444
- /**
445
- * Quick search within a specific app
446
- *
447
- * @private
448
- * @param args - Search arguments
449
- * @returns MCP tool response with search results
450
- */
451
- private searchInApp;
452
- /**
453
- * Quick search within a specific space
454
- *
455
- * @private
456
- * @param args - Search arguments
457
- * @returns MCP tool response with search results
458
- */
459
- private searchInSpace;
460
- /**
461
- * Get search history
462
- *
463
- * @private
464
- * @param args - Arguments with optional limit
465
- * @returns MCP tool response with search history
466
- */
467
- private getSearchHistory;
468
- /**
469
- * Clear search history
470
- *
471
- * @private
472
- * @param args - Empty arguments object
473
- * @returns MCP tool response with success confirmation
474
- */
475
- private clearSearchHistory;
476
- /**
477
- * List all comments for a specific item.
478
- *
479
- * @private
480
- * @param args - Arguments containing item_id
481
- * @returns MCP tool response with list of comments
482
- */
483
- private listItemComments;
484
- /**
485
- * Create a new comment on an item.
486
- *
487
- * @private
488
- * @param args - Arguments containing item_id and text
489
- * @returns MCP tool response with created comment
490
- */
491
- private createItemComment;
492
- /**
493
- * Upload a local file to Podio.
494
- *
495
- * @private
496
- * @param args - Arguments containing file_path and optional filename
497
- * @returns MCP tool response with the new file_id
498
- */
499
- private uploadFile;
500
- /**
501
- * Attach an already-uploaded file to an item.
502
- *
503
- * @private
504
- * @param args - Arguments containing file_id and item_id
505
- * @returns MCP tool response confirming the attachment
506
- */
507
- private attachFile;
508
- /**
509
- * List the files attached to an item and to its comments.
510
- *
511
- * @private
512
- * @param args - Arguments containing item_id
513
- * @returns MCP tool response listing each file with its file_id
514
- */
515
- private listItemFiles;
516
- /**
517
- * Download a file from Podio to a local directory.
518
- *
519
- * @private
520
- * @param args - Arguments containing file_id, directory and optional
521
- * filename and overwrite
522
- * @returns MCP tool response naming the path written
523
- */
524
- private downloadFile;
525
- /**
526
- * Get details of a specific comment.
527
- *
528
- * @private
529
- * @param args - Arguments containing comment_id
530
- * @returns MCP tool response with comment details
531
- */
532
- private getCommentDetails;
533
- /**
534
- * Update an existing comment.
535
- *
536
- * @private
537
- * @param args - Arguments containing comment_id and text
538
- * @returns MCP tool response with success confirmation
539
- */
540
- private updateComment;
541
- /**
542
- * Delete a comment.
543
- *
544
- * @private
545
- * @param args - Arguments containing comment_id
546
- * @returns MCP tool response with deletion confirmation
547
- */
548
- private deleteComment;
549
- /**
550
- * List all activity/revisions for a specific item.
551
- *
552
- * @private
553
- * @param args - Arguments containing item_id
554
- * @returns MCP tool response with item activity
555
- */
556
- private listItemActivity;
557
- /**
558
- * Get details of a specific item revision.
559
- *
560
- * @private
561
- * @param args - Arguments containing item_id and revision_id
562
- * @returns MCP tool response with revision details
563
- */
564
- private getItemRevision;
565
- /**
566
- * Get the difference between two item revisions.
567
- *
568
- * @private
569
- * @param args - Arguments containing item_id, from_revision, and to_revision
570
- * @returns MCP tool response with revision differences
571
- */
572
- private getItemRevisionDiff;
573
- /**
574
- * Execute TypeScript/JavaScript code in a sandboxed Deno environment.
575
- *
576
- * This tool provides 60-95% token reduction for complex multi-step operations
577
- * by processing data in the execution environment instead of passing it
578
- * through the model context.
579
- *
580
- * @private
581
- * @param args - Arguments containing code, timeout, and optional context
582
- * @returns Code execution result
583
- */
584
- private executeCode;
585
- /**
586
- * List all available functions in the filesystem code execution API.
587
- *
588
- * @private
589
- * @returns List of available functions organized by category
590
- */
591
- private listCodeFunctions;
592
- /**
593
- * Run the MCP server.
594
- *
595
- * Starts the server and handles graceful shutdown.
596
- */
597
- run(): Promise<void>;
598
- }
12
+ import { PodioMCPServer } from './podio-mcp-server.js';
599
13
  export { PodioMCPServer };
600
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AA6EH;;;;;;;;;;;;;;;;GAgBG;AACH,cAAM,cAAc;IAClB,yCAAyC;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC,+CAA+C;IAC/C,OAAO,CAAC,WAAW,CAAiC;IAEpD,0CAA0C;IAC1C,OAAO,CAAC,SAAS,CAA+B;IAEhD,4BAA4B;IAC5B,OAAO,CAAC,YAAY,CAAe;IAEnC,yEAAyE;IACzE,OAAO,CAAC,UAAU,CACN;IAEZ,gEAAgE;IAChE,OAAO,CAAC,YAAY,CAAuB;IAE3C,8BAA8B;IAC9B,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,kBAAkB,CAAmC;IAC7D,OAAO,CAAC,mBAAmB,CAAoC;IAC/D,OAAO,CAAC,mBAAmB,CAAoC;IAC/D,OAAO,CAAC,aAAa,CAA8B;IACnD,OAAO,CAAC,cAAc,CAA+B;IACrD,OAAO,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