@sweepypanda/wp-elementor-mcp 1.7.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 (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +381 -0
  3. package/client-config.json +13 -0
  4. package/dist/elementor-handler.d.ts +51 -0
  5. package/dist/elementor-handler.d.ts.map +1 -0
  6. package/dist/elementor-handler.js +358 -0
  7. package/dist/elementor-handler.js.map +1 -0
  8. package/dist/helpers.d.ts +24 -0
  9. package/dist/helpers.d.ts.map +1 -0
  10. package/dist/helpers.js +107 -0
  11. package/dist/helpers.js.map +1 -0
  12. package/dist/index-backup.d.ts +3 -0
  13. package/dist/index-backup.d.ts.map +1 -0
  14. package/dist/index-backup.js +3752 -0
  15. package/dist/index-backup.js.map +1 -0
  16. package/dist/index.d.ts +3 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +187 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/server-config.d.ts +80 -0
  21. package/dist/server-config.d.ts.map +1 -0
  22. package/dist/server-config.js +137 -0
  23. package/dist/server-config.js.map +1 -0
  24. package/dist/tool-handlers.d.ts +44 -0
  25. package/dist/tool-handlers.d.ts.map +1 -0
  26. package/dist/tool-handlers.js +1682 -0
  27. package/dist/tool-handlers.js.map +1 -0
  28. package/dist/tool-schemas.d.ts +859 -0
  29. package/dist/tool-schemas.d.ts.map +1 -0
  30. package/dist/tool-schemas.js +870 -0
  31. package/dist/tool-schemas.js.map +1 -0
  32. package/dist/types.d.ts +19 -0
  33. package/dist/types.d.ts.map +1 -0
  34. package/dist/types.js +2 -0
  35. package/dist/types.js.map +1 -0
  36. package/dist/utils.d.ts +10 -0
  37. package/dist/utils.d.ts.map +1 -0
  38. package/dist/utils.js +142 -0
  39. package/dist/utils.js.map +1 -0
  40. package/dist/wordpress-client.d.ts +21 -0
  41. package/dist/wordpress-client.d.ts.map +1 -0
  42. package/dist/wordpress-client.js +151 -0
  43. package/dist/wordpress-client.js.map +1 -0
  44. package/package.json +74 -0
@@ -0,0 +1,859 @@
1
+ export declare const toolSchemas: {
2
+ get_page: {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: string;
7
+ properties: {
8
+ id: {
9
+ type: string;
10
+ description: string;
11
+ };
12
+ };
13
+ required: string[];
14
+ };
15
+ };
16
+ get_elementor_data_smart: {
17
+ name: string;
18
+ description: string;
19
+ inputSchema: {
20
+ type: string;
21
+ properties: {
22
+ post_id: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ element_index: {
27
+ type: string;
28
+ description: string;
29
+ default: number;
30
+ };
31
+ max_depth: {
32
+ type: string;
33
+ description: string;
34
+ default: number;
35
+ };
36
+ include_widget_previews: {
37
+ type: string;
38
+ description: string;
39
+ default: boolean;
40
+ };
41
+ };
42
+ required: string[];
43
+ };
44
+ };
45
+ get_elementor_structure_summary: {
46
+ name: string;
47
+ description: string;
48
+ inputSchema: {
49
+ type: string;
50
+ properties: {
51
+ post_id: {
52
+ type: string;
53
+ description: string;
54
+ };
55
+ max_depth: {
56
+ type: string;
57
+ description: string;
58
+ default: number;
59
+ };
60
+ };
61
+ required: string[];
62
+ };
63
+ };
64
+ get_elementor_data_to_file: {
65
+ name: string;
66
+ description: string;
67
+ inputSchema: {
68
+ type: string;
69
+ properties: {
70
+ post_id: {
71
+ type: string;
72
+ description: string;
73
+ };
74
+ };
75
+ required: string[];
76
+ };
77
+ };
78
+ get_page_structure_to_file: {
79
+ name: string;
80
+ description: string;
81
+ inputSchema: {
82
+ type: string;
83
+ properties: {
84
+ post_id: {
85
+ type: string;
86
+ description: string;
87
+ };
88
+ include_settings: {
89
+ type: string;
90
+ description: string;
91
+ default: boolean;
92
+ };
93
+ };
94
+ required: string[];
95
+ };
96
+ };
97
+ backup_elementor_data_to_file: {
98
+ name: string;
99
+ description: string;
100
+ inputSchema: {
101
+ type: string;
102
+ properties: {
103
+ post_id: {
104
+ type: string;
105
+ description: string;
106
+ };
107
+ backup_name: {
108
+ type: string;
109
+ description: string;
110
+ };
111
+ };
112
+ required: string[];
113
+ };
114
+ };
115
+ get_elementor_data: {
116
+ name: string;
117
+ description: string;
118
+ inputSchema: {
119
+ type: string;
120
+ properties: {
121
+ post_id: {
122
+ type: string;
123
+ description: string;
124
+ };
125
+ };
126
+ required: string[];
127
+ };
128
+ };
129
+ get_page_structure: {
130
+ name: string;
131
+ description: string;
132
+ inputSchema: {
133
+ type: string;
134
+ properties: {
135
+ post_id: {
136
+ type: string;
137
+ description: string;
138
+ };
139
+ include_settings: {
140
+ type: string;
141
+ description: string;
142
+ default: boolean;
143
+ };
144
+ };
145
+ required: string[];
146
+ };
147
+ };
148
+ backup_elementor_data: {
149
+ name: string;
150
+ description: string;
151
+ inputSchema: {
152
+ type: string;
153
+ properties: {
154
+ post_id: {
155
+ type: string;
156
+ description: string;
157
+ };
158
+ backup_name: {
159
+ type: string;
160
+ description: string;
161
+ };
162
+ };
163
+ required: string[];
164
+ };
165
+ };
166
+ get_posts: {
167
+ name: string;
168
+ description: string;
169
+ inputSchema: {
170
+ type: string;
171
+ properties: {
172
+ per_page: {
173
+ type: string;
174
+ description: string;
175
+ default: number;
176
+ };
177
+ status: {
178
+ type: string;
179
+ description: string;
180
+ default: string;
181
+ };
182
+ search: {
183
+ type: string;
184
+ description: string;
185
+ };
186
+ };
187
+ };
188
+ };
189
+ get_post: {
190
+ name: string;
191
+ description: string;
192
+ inputSchema: {
193
+ type: string;
194
+ properties: {
195
+ id: {
196
+ type: string;
197
+ description: string;
198
+ };
199
+ };
200
+ required: string[];
201
+ };
202
+ };
203
+ create_post: {
204
+ name: string;
205
+ description: string;
206
+ inputSchema: {
207
+ type: string;
208
+ properties: {
209
+ title: {
210
+ type: string;
211
+ description: string;
212
+ };
213
+ content: {
214
+ type: string;
215
+ description: string;
216
+ };
217
+ status: {
218
+ type: string;
219
+ description: string;
220
+ default: string;
221
+ };
222
+ excerpt: {
223
+ type: string;
224
+ description: string;
225
+ };
226
+ };
227
+ required: string[];
228
+ };
229
+ };
230
+ update_post: {
231
+ name: string;
232
+ description: string;
233
+ inputSchema: {
234
+ type: string;
235
+ properties: {
236
+ id: {
237
+ type: string;
238
+ description: string;
239
+ };
240
+ title: {
241
+ type: string;
242
+ description: string;
243
+ };
244
+ content: {
245
+ type: string;
246
+ description: string;
247
+ };
248
+ status: {
249
+ type: string;
250
+ description: string;
251
+ };
252
+ excerpt: {
253
+ type: string;
254
+ description: string;
255
+ };
256
+ };
257
+ required: string[];
258
+ };
259
+ };
260
+ get_pages: {
261
+ name: string;
262
+ description: string;
263
+ inputSchema: {
264
+ type: string;
265
+ properties: {
266
+ per_page: {
267
+ type: string;
268
+ description: string;
269
+ default: number;
270
+ };
271
+ status: {
272
+ type: string;
273
+ description: string;
274
+ default: string;
275
+ };
276
+ };
277
+ };
278
+ };
279
+ list_all_content: {
280
+ name: string;
281
+ description: string;
282
+ inputSchema: {
283
+ type: string;
284
+ properties: {
285
+ per_page: {
286
+ type: string;
287
+ description: string;
288
+ default: number;
289
+ };
290
+ include_all_statuses: {
291
+ type: string;
292
+ description: string;
293
+ default: boolean;
294
+ };
295
+ };
296
+ };
297
+ };
298
+ create_page: {
299
+ name: string;
300
+ description: string;
301
+ inputSchema: {
302
+ type: string;
303
+ properties: {
304
+ title: {
305
+ type: string;
306
+ description: string;
307
+ };
308
+ content: {
309
+ type: string;
310
+ description: string;
311
+ };
312
+ status: {
313
+ type: string;
314
+ description: string;
315
+ default: string;
316
+ };
317
+ excerpt: {
318
+ type: string;
319
+ description: string;
320
+ };
321
+ parent: {
322
+ type: string;
323
+ description: string;
324
+ };
325
+ };
326
+ required: string[];
327
+ };
328
+ };
329
+ update_page: {
330
+ name: string;
331
+ description: string;
332
+ inputSchema: {
333
+ type: string;
334
+ properties: {
335
+ id: {
336
+ type: string;
337
+ description: string;
338
+ };
339
+ title: {
340
+ type: string;
341
+ description: string;
342
+ };
343
+ content: {
344
+ type: string;
345
+ description: string;
346
+ };
347
+ status: {
348
+ type: string;
349
+ description: string;
350
+ };
351
+ excerpt: {
352
+ type: string;
353
+ description: string;
354
+ };
355
+ parent: {
356
+ type: string;
357
+ description: string;
358
+ };
359
+ };
360
+ required: string[];
361
+ };
362
+ };
363
+ get_media: {
364
+ name: string;
365
+ description: string;
366
+ inputSchema: {
367
+ type: string;
368
+ properties: {
369
+ per_page: {
370
+ type: string;
371
+ description: string;
372
+ default: number;
373
+ };
374
+ media_type: {
375
+ type: string;
376
+ description: string;
377
+ };
378
+ };
379
+ };
380
+ };
381
+ upload_media: {
382
+ name: string;
383
+ description: string;
384
+ inputSchema: {
385
+ type: string;
386
+ properties: {
387
+ file_path: {
388
+ type: string;
389
+ description: string;
390
+ };
391
+ title: {
392
+ type: string;
393
+ description: string;
394
+ };
395
+ alt_text: {
396
+ type: string;
397
+ description: string;
398
+ };
399
+ };
400
+ required: string[];
401
+ };
402
+ };
403
+ get_elementor_templates: {
404
+ name: string;
405
+ description: string;
406
+ inputSchema: {
407
+ type: string;
408
+ properties: {
409
+ per_page: {
410
+ type: string;
411
+ description: string;
412
+ default: number;
413
+ };
414
+ type: {
415
+ type: string;
416
+ description: string;
417
+ };
418
+ };
419
+ };
420
+ };
421
+ update_elementor_data: {
422
+ name: string;
423
+ description: string;
424
+ inputSchema: {
425
+ type: string;
426
+ properties: {
427
+ post_id: {
428
+ type: string;
429
+ description: string;
430
+ };
431
+ elementor_data: {
432
+ type: string;
433
+ description: string;
434
+ };
435
+ };
436
+ required: string[];
437
+ };
438
+ };
439
+ update_elementor_widget: {
440
+ name: string;
441
+ description: string;
442
+ inputSchema: {
443
+ type: string;
444
+ properties: {
445
+ post_id: {
446
+ type: string;
447
+ description: string;
448
+ };
449
+ widget_id: {
450
+ type: string;
451
+ description: string;
452
+ };
453
+ widget_settings: {
454
+ type: string;
455
+ description: string;
456
+ };
457
+ widget_content: {
458
+ type: string;
459
+ description: string;
460
+ };
461
+ };
462
+ required: string[];
463
+ };
464
+ };
465
+ get_elementor_widget: {
466
+ name: string;
467
+ description: string;
468
+ inputSchema: {
469
+ type: string;
470
+ properties: {
471
+ post_id: {
472
+ type: string;
473
+ description: string;
474
+ };
475
+ widget_id: {
476
+ type: string;
477
+ description: string;
478
+ };
479
+ };
480
+ required: string[];
481
+ };
482
+ };
483
+ get_elementor_elements: {
484
+ name: string;
485
+ description: string;
486
+ inputSchema: {
487
+ type: string;
488
+ properties: {
489
+ post_id: {
490
+ type: string;
491
+ description: string;
492
+ };
493
+ include_content: {
494
+ type: string;
495
+ description: string;
496
+ default: boolean;
497
+ };
498
+ };
499
+ required: string[];
500
+ };
501
+ };
502
+ update_elementor_section: {
503
+ name: string;
504
+ description: string;
505
+ inputSchema: {
506
+ type: string;
507
+ properties: {
508
+ post_id: {
509
+ type: string;
510
+ description: string;
511
+ };
512
+ section_id: {
513
+ type: string;
514
+ description: string;
515
+ };
516
+ widgets_updates: {
517
+ type: string;
518
+ description: string;
519
+ items: {
520
+ type: string;
521
+ properties: {
522
+ widget_id: {
523
+ type: string;
524
+ description: string;
525
+ };
526
+ widget_settings: {
527
+ type: string;
528
+ description: string;
529
+ };
530
+ widget_content: {
531
+ type: string;
532
+ description: string;
533
+ };
534
+ };
535
+ required: string[];
536
+ };
537
+ };
538
+ };
539
+ required: string[];
540
+ };
541
+ };
542
+ create_elementor_section: {
543
+ name: string;
544
+ description: string;
545
+ inputSchema: {
546
+ type: string;
547
+ properties: {
548
+ post_id: {
549
+ type: string;
550
+ description: string;
551
+ };
552
+ position: {
553
+ type: string;
554
+ description: string;
555
+ };
556
+ columns: {
557
+ type: string;
558
+ description: string;
559
+ default: number;
560
+ };
561
+ section_settings: {
562
+ type: string;
563
+ description: string;
564
+ };
565
+ };
566
+ required: string[];
567
+ };
568
+ };
569
+ create_elementor_container: {
570
+ name: string;
571
+ description: string;
572
+ inputSchema: {
573
+ type: string;
574
+ properties: {
575
+ post_id: {
576
+ type: string;
577
+ description: string;
578
+ };
579
+ position: {
580
+ type: string;
581
+ description: string;
582
+ };
583
+ container_settings: {
584
+ type: string;
585
+ description: string;
586
+ };
587
+ };
588
+ required: string[];
589
+ };
590
+ };
591
+ add_column_to_section: {
592
+ name: string;
593
+ description: string;
594
+ inputSchema: {
595
+ type: string;
596
+ properties: {
597
+ post_id: {
598
+ type: string;
599
+ description: string;
600
+ };
601
+ section_id: {
602
+ type: string;
603
+ description: string;
604
+ };
605
+ columns_to_add: {
606
+ type: string;
607
+ description: string;
608
+ default: number;
609
+ };
610
+ };
611
+ required: string[];
612
+ };
613
+ };
614
+ duplicate_section: {
615
+ name: string;
616
+ description: string;
617
+ inputSchema: {
618
+ type: string;
619
+ properties: {
620
+ post_id: {
621
+ type: string;
622
+ description: string;
623
+ };
624
+ section_id: {
625
+ type: string;
626
+ description: string;
627
+ };
628
+ position: {
629
+ type: string;
630
+ description: string;
631
+ };
632
+ };
633
+ required: string[];
634
+ };
635
+ };
636
+ add_widget_to_section: {
637
+ name: string;
638
+ description: string;
639
+ inputSchema: {
640
+ type: string;
641
+ properties: {
642
+ post_id: {
643
+ type: string;
644
+ description: string;
645
+ };
646
+ widget_type: {
647
+ type: string;
648
+ description: string;
649
+ };
650
+ section_id: {
651
+ type: string;
652
+ description: string;
653
+ };
654
+ column_id: {
655
+ type: string;
656
+ description: string;
657
+ };
658
+ position: {
659
+ type: string;
660
+ description: string;
661
+ };
662
+ widget_settings: {
663
+ type: string;
664
+ description: string;
665
+ };
666
+ };
667
+ required: string[];
668
+ };
669
+ };
670
+ insert_widget_at_position: {
671
+ name: string;
672
+ description: string;
673
+ inputSchema: {
674
+ type: string;
675
+ properties: {
676
+ post_id: {
677
+ type: string;
678
+ description: string;
679
+ };
680
+ widget_type: {
681
+ type: string;
682
+ description: string;
683
+ };
684
+ target_element_id: {
685
+ type: string;
686
+ description: string;
687
+ };
688
+ insert_position: {
689
+ type: string;
690
+ description: string;
691
+ default: string;
692
+ };
693
+ widget_settings: {
694
+ type: string;
695
+ description: string;
696
+ };
697
+ };
698
+ required: string[];
699
+ };
700
+ };
701
+ clone_widget: {
702
+ name: string;
703
+ description: string;
704
+ inputSchema: {
705
+ type: string;
706
+ properties: {
707
+ post_id: {
708
+ type: string;
709
+ description: string;
710
+ };
711
+ widget_id: {
712
+ type: string;
713
+ description: string;
714
+ };
715
+ target_element_id: {
716
+ type: string;
717
+ description: string;
718
+ };
719
+ insert_position: {
720
+ type: string;
721
+ description: string;
722
+ default: string;
723
+ };
724
+ };
725
+ required: string[];
726
+ };
727
+ };
728
+ move_widget: {
729
+ name: string;
730
+ description: string;
731
+ inputSchema: {
732
+ type: string;
733
+ properties: {
734
+ post_id: {
735
+ type: string;
736
+ description: string;
737
+ };
738
+ widget_id: {
739
+ type: string;
740
+ description: string;
741
+ };
742
+ target_section_id: {
743
+ type: string;
744
+ description: string;
745
+ };
746
+ target_column_id: {
747
+ type: string;
748
+ description: string;
749
+ };
750
+ position: {
751
+ type: string;
752
+ description: string;
753
+ };
754
+ };
755
+ required: string[];
756
+ };
757
+ };
758
+ delete_elementor_element: {
759
+ name: string;
760
+ description: string;
761
+ inputSchema: {
762
+ type: string;
763
+ properties: {
764
+ post_id: {
765
+ type: string;
766
+ description: string;
767
+ };
768
+ element_id: {
769
+ type: string;
770
+ description: string;
771
+ };
772
+ };
773
+ required: string[];
774
+ };
775
+ };
776
+ reorder_elements: {
777
+ name: string;
778
+ description: string;
779
+ inputSchema: {
780
+ type: string;
781
+ properties: {
782
+ post_id: {
783
+ type: string;
784
+ description: string;
785
+ };
786
+ container_id: {
787
+ type: string;
788
+ description: string;
789
+ };
790
+ element_ids: {
791
+ type: string;
792
+ description: string;
793
+ items: {
794
+ type: string;
795
+ };
796
+ };
797
+ };
798
+ required: string[];
799
+ };
800
+ };
801
+ copy_element_settings: {
802
+ name: string;
803
+ description: string;
804
+ inputSchema: {
805
+ type: string;
806
+ properties: {
807
+ post_id: {
808
+ type: string;
809
+ description: string;
810
+ };
811
+ source_element_id: {
812
+ type: string;
813
+ description: string;
814
+ };
815
+ target_element_id: {
816
+ type: string;
817
+ description: string;
818
+ };
819
+ settings_to_copy: {
820
+ type: string;
821
+ description: string;
822
+ items: {
823
+ type: string;
824
+ };
825
+ };
826
+ };
827
+ required: string[];
828
+ };
829
+ };
830
+ rebuild_page_structure: {
831
+ name: string;
832
+ description: string;
833
+ inputSchema: {
834
+ type: string;
835
+ properties: {
836
+ post_id: {
837
+ type: string;
838
+ description: string;
839
+ };
840
+ };
841
+ required: string[];
842
+ };
843
+ };
844
+ validate_elementor_data: {
845
+ name: string;
846
+ description: string;
847
+ inputSchema: {
848
+ type: string;
849
+ properties: {
850
+ post_id: {
851
+ type: string;
852
+ description: string;
853
+ };
854
+ };
855
+ required: string[];
856
+ };
857
+ };
858
+ };
859
+ //# sourceMappingURL=tool-schemas.d.ts.map