@@ -71,10 +71,7 @@ export interface GraphFilters {
7171 offset ?: number ;
7272}
7373
74- // Neo4j response types
75- export interface Neo4jInteger {
76- toNumber ( ) : number ;
77- }
74+ // Neo4j response types (using imported Neo4jInteger from driver)
7875
7976export interface Neo4jDateTime {
8077 toString ( ) : string ;
@@ -96,6 +93,7 @@ export interface MCPContent {
9693
9794export interface MCPResponse {
9895 content : MCPContent [ ] ;
96+ isError ?: boolean ;
9997}
10098
10199// Neo4j parameter types - using Neo4jValue for type safety
@@ -204,4 +202,120 @@ export interface WorkloadPredictions {
204202 completion_trends ?: string ;
205203 bottleneck_predictions ?: unknown [ ] ;
206204 capacity_recommendations ?: unknown [ ] ;
205+ }
206+
207+ // MCP Interface Args - exported for index.ts
208+ export interface UpdatePrioritiesArgs {
209+ node_id : string ;
210+ priority_executive ?: number ;
211+ priority_individual ?: number ;
212+ priority_community ?: number ;
213+ recalculate_computed ?: boolean ;
214+ }
215+
216+ export interface BulkUpdatePrioritiesArgs {
217+ updates : Array < {
218+ node_id : string ;
219+ priority_executive ?: number ;
220+ priority_individual ?: number ;
221+ priority_community ?: number ;
222+ } > ;
223+ recalculate_all ?: boolean ;
224+ }
225+
226+ export interface GetPriorityInsightsArgs {
227+ filters ?: {
228+ min_priority ?: number ;
229+ priority_type ?: 'executive' | 'individual' | 'community' | 'computed' ;
230+ node_types ?: string [ ] ;
231+ status ?: string [ ] ;
232+ } ;
233+ include_statistics ?: boolean ;
234+ include_trends ?: boolean ;
235+ }
236+
237+ export interface GetContributorPrioritiesArgs {
238+ contributor_id : string ;
239+ priority_type ?: 'all' | 'executive' | 'individual' | 'community' | 'composite' ;
240+ status_filter ?: NodeStatus [ ] ;
241+ limit ?: number ;
242+ include_dependencies ?: boolean ;
243+ }
244+
245+ export interface GetContributorWorkloadArgs {
246+ contributor_id : string ;
247+ include_type_distribution ?: boolean ;
248+ include_priority_distribution ?: boolean ;
249+ include_projects ?: boolean ;
250+ include_timeline ?: boolean ;
251+ time_window_days ?: number ;
252+ }
253+
254+ export interface GetCollaborationNetworkArgs {
255+ focus_contributor ?: string ;
256+ project_scope ?: string ;
257+ time_window_days ?: number ;
258+ collaboration_strength ?: 'all' | 'strong' | 'moderate' | 'weak' ;
259+ include_network_metrics ?: boolean ;
260+ include_recommendations ?: boolean ;
261+ }
262+
263+ export interface BulkOperationsArgs {
264+ operations : Array < {
265+ type : 'create_node' | 'update_node' | 'create_edge' | 'delete_edge' ;
266+ params : Record < string , unknown > ;
267+ } > ;
268+ transaction ?: boolean ;
269+ rollback_on_error ?: boolean ;
270+ }
271+
272+ export interface CreateGraphArgs {
273+ name : string ;
274+ description ?: string ;
275+ type ?: GraphType ;
276+ settings ?: GraphSettings ;
277+ parentGraphId ?: string ;
278+ teamId ?: string ;
279+ isShared ?: boolean ;
280+ }
281+
282+ export interface ListGraphsArgs {
283+ type ?: GraphType ;
284+ status ?: GraphStatus ;
285+ teamId ?: string ;
286+ isShared ?: boolean ;
287+ limit ?: number ;
288+ offset ?: number ;
289+ }
290+
291+ export interface GetGraphDetailsArgs {
292+ graphId : string ;
293+ }
294+
295+ export interface UpdateGraphArgs {
296+ graphId : string ;
297+ name ?: string ;
298+ description ?: string ;
299+ type ?: GraphType ;
300+ settings ?: GraphSettings ;
301+ isShared ?: boolean ;
302+ status ?: GraphStatus ;
303+ }
304+
305+ export interface DeleteGraphArgs {
306+ graphId : string ;
307+ force ?: boolean ;
308+ }
309+
310+ export interface ArchiveGraphArgs {
311+ graphId : string ;
312+ reason ?: string ;
313+ }
314+
315+ export interface CloneGraphArgs {
316+ sourceGraphId : string ;
317+ newName : string ;
318+ includeNodes ?: boolean ;
319+ includeEdges ?: boolean ;
320+ newTeamId ?: string ;
207321}
0 commit comments