mcpscraper-memory-sdk 0.2.0 → 0.3.0
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.
- package/README.md +14 -4
- package/dist/index.cjs +1533 -0
- package/dist/index.d.cts +13812 -286
- package/dist/index.d.ts +13812 -286
- package/dist/index.js +1528 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -446,13 +446,1541 @@ var MemoryClient = class {
|
|
|
446
446
|
return parsed;
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
|
+
|
|
450
|
+
// src/generated/mcp/methods.ts
|
|
451
|
+
var MCP_TOOL_BINDINGS = [
|
|
452
|
+
{
|
|
453
|
+
"name": "harvest_paa",
|
|
454
|
+
"category": "search",
|
|
455
|
+
"methodName": "harvestPaa"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "search_serp",
|
|
459
|
+
"category": "search",
|
|
460
|
+
"methodName": "searchSerp"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "extract_url",
|
|
464
|
+
"category": "web",
|
|
465
|
+
"methodName": "extractUrl"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "diff_page",
|
|
469
|
+
"category": "web",
|
|
470
|
+
"methodName": "diffPage"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "map_site_urls",
|
|
474
|
+
"category": "web",
|
|
475
|
+
"methodName": "mapSiteUrls"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "extract_site",
|
|
479
|
+
"category": "web",
|
|
480
|
+
"methodName": "extractSite"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "audit_site",
|
|
484
|
+
"category": "web",
|
|
485
|
+
"methodName": "auditSite"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "youtube_harvest",
|
|
489
|
+
"category": "youtube",
|
|
490
|
+
"methodName": "harvest"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "youtube_transcribe",
|
|
494
|
+
"category": "youtube",
|
|
495
|
+
"methodName": "transcribe"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "facebook_page_intel",
|
|
499
|
+
"category": "facebook",
|
|
500
|
+
"methodName": "pageIntel"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "facebook_ad_search",
|
|
504
|
+
"category": "facebook",
|
|
505
|
+
"methodName": "adSearch"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "reddit_thread",
|
|
509
|
+
"category": "reddit",
|
|
510
|
+
"methodName": "thread"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "video_frame_analysis",
|
|
514
|
+
"category": "video",
|
|
515
|
+
"methodName": "frameAnalysis"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"name": "video_frame_analysis_status",
|
|
519
|
+
"category": "video",
|
|
520
|
+
"methodName": "frameAnalysisStatus"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "facebook_ad_transcribe",
|
|
524
|
+
"category": "facebook",
|
|
525
|
+
"methodName": "adTranscribe"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "google_ads_search",
|
|
529
|
+
"category": "googleAds",
|
|
530
|
+
"methodName": "search"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "google_ads_page_intel",
|
|
534
|
+
"category": "googleAds",
|
|
535
|
+
"methodName": "pageIntel"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "google_ads_transcribe",
|
|
539
|
+
"category": "googleAds",
|
|
540
|
+
"methodName": "transcribe"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "facebook_video_transcribe",
|
|
544
|
+
"category": "facebook",
|
|
545
|
+
"methodName": "videoTranscribe"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "instagram_profile_content",
|
|
549
|
+
"category": "instagram",
|
|
550
|
+
"methodName": "profileContent"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "instagram_media_download",
|
|
554
|
+
"category": "instagram",
|
|
555
|
+
"methodName": "mediaDownload"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "maps_place_intel",
|
|
559
|
+
"category": "maps",
|
|
560
|
+
"methodName": "placeIntel"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "maps_search",
|
|
564
|
+
"category": "maps",
|
|
565
|
+
"methodName": "search"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "trustpilot_reviews",
|
|
569
|
+
"category": "reviews",
|
|
570
|
+
"methodName": "trustpilotReviews"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "g2_reviews",
|
|
574
|
+
"category": "reviews",
|
|
575
|
+
"methodName": "g2Reviews"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "directory_workflow",
|
|
579
|
+
"category": "directory",
|
|
580
|
+
"methodName": "run"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "workflow_list",
|
|
584
|
+
"category": "workflows",
|
|
585
|
+
"methodName": "list"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "workflow_suggest",
|
|
589
|
+
"category": "workflows",
|
|
590
|
+
"methodName": "suggest"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "workflow_run",
|
|
594
|
+
"category": "workflows",
|
|
595
|
+
"methodName": "run"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "workflow_step",
|
|
599
|
+
"category": "workflows",
|
|
600
|
+
"methodName": "step"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "workflow_status",
|
|
604
|
+
"category": "workflows",
|
|
605
|
+
"methodName": "status"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "workflow_artifact_read",
|
|
609
|
+
"category": "workflows",
|
|
610
|
+
"methodName": "artifactRead"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "report_artifact_read",
|
|
614
|
+
"category": "artifacts",
|
|
615
|
+
"methodName": "read"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "rank_tracker_workflow",
|
|
619
|
+
"category": "workflows",
|
|
620
|
+
"methodName": "rankTracker"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "credits_info",
|
|
624
|
+
"category": "billing",
|
|
625
|
+
"methodName": "creditsInfo"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "capture_serp_snapshot",
|
|
629
|
+
"category": "serpIntelligence",
|
|
630
|
+
"methodName": "snapshot"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "capture_serp_page_snapshots",
|
|
634
|
+
"category": "serpIntelligence",
|
|
635
|
+
"methodName": "pageSnapshots"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "browser_profile_connect",
|
|
639
|
+
"category": "browser",
|
|
640
|
+
"methodName": "profileConnect"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "browser_profile_list",
|
|
644
|
+
"category": "browser",
|
|
645
|
+
"methodName": "profileList"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "browser_extension_import",
|
|
649
|
+
"category": "browser",
|
|
650
|
+
"methodName": "extensionImport"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "browser_extension_list",
|
|
654
|
+
"category": "browser",
|
|
655
|
+
"methodName": "extensionList"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "browser_extension_delete",
|
|
659
|
+
"category": "browser",
|
|
660
|
+
"methodName": "extensionDelete"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "browser_open",
|
|
664
|
+
"category": "browser",
|
|
665
|
+
"methodName": "open"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "browser_screenshot",
|
|
669
|
+
"category": "browser",
|
|
670
|
+
"methodName": "screenshot"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "browser_read",
|
|
674
|
+
"category": "browser",
|
|
675
|
+
"methodName": "read"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "browser_locate",
|
|
679
|
+
"category": "browser",
|
|
680
|
+
"methodName": "locate"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "browser_goto",
|
|
684
|
+
"category": "browser",
|
|
685
|
+
"methodName": "goto"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "browser_click",
|
|
689
|
+
"category": "browser",
|
|
690
|
+
"methodName": "click"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "browser_type",
|
|
694
|
+
"category": "browser",
|
|
695
|
+
"methodName": "type"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "browser_scroll",
|
|
699
|
+
"category": "browser",
|
|
700
|
+
"methodName": "scroll"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"name": "browser_press",
|
|
704
|
+
"category": "browser",
|
|
705
|
+
"methodName": "press"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "browser_replay_start",
|
|
709
|
+
"category": "browser",
|
|
710
|
+
"methodName": "replayStart"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "browser_replay_stop",
|
|
714
|
+
"category": "browser",
|
|
715
|
+
"methodName": "replayStop"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "browser_list_replays",
|
|
719
|
+
"category": "browser",
|
|
720
|
+
"methodName": "listReplays"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "browser_replay_download",
|
|
724
|
+
"category": "browser",
|
|
725
|
+
"methodName": "replayDownload"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "browser_replay_mark",
|
|
729
|
+
"category": "browser",
|
|
730
|
+
"methodName": "replayMark"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "browser_replay_annotate",
|
|
734
|
+
"category": "browser",
|
|
735
|
+
"methodName": "replayAnnotate"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "browser_close",
|
|
739
|
+
"category": "browser",
|
|
740
|
+
"methodName": "close"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "browser_list_sessions",
|
|
744
|
+
"category": "browser",
|
|
745
|
+
"methodName": "listSessions"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"name": "query_fanout_workflow",
|
|
749
|
+
"category": "workflows",
|
|
750
|
+
"methodName": "queryFanout"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "access-accept-share",
|
|
754
|
+
"category": "access",
|
|
755
|
+
"methodName": "acceptShare"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "access-approve-sender",
|
|
759
|
+
"category": "access",
|
|
760
|
+
"methodName": "approveSender"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "access-decline-share",
|
|
764
|
+
"category": "access",
|
|
765
|
+
"methodName": "declineShare"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "get-chat-link",
|
|
769
|
+
"category": "access",
|
|
770
|
+
"methodName": "getChatLink"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "access-inbox-settings",
|
|
774
|
+
"category": "access",
|
|
775
|
+
"methodName": "inboxSettings"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"name": "access-invite-account",
|
|
779
|
+
"category": "access",
|
|
780
|
+
"methodName": "inviteAccount"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "access-issue-key",
|
|
784
|
+
"category": "access",
|
|
785
|
+
"methodName": "issueKey"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "access-list-approved-senders",
|
|
789
|
+
"category": "access",
|
|
790
|
+
"methodName": "listApprovedSenders"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "access-list-keys",
|
|
794
|
+
"category": "access",
|
|
795
|
+
"methodName": "listKeys"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"name": "access-note-inbox",
|
|
799
|
+
"category": "access",
|
|
800
|
+
"methodName": "noteInbox"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "access-remove-approved-sender",
|
|
804
|
+
"category": "access",
|
|
805
|
+
"methodName": "removeApprovedSender"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "revoke-chat-link",
|
|
809
|
+
"category": "access",
|
|
810
|
+
"methodName": "revokeChatLink"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "access-revoke-key",
|
|
814
|
+
"category": "access",
|
|
815
|
+
"methodName": "revokeKey"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "access-revoke-share",
|
|
819
|
+
"category": "access",
|
|
820
|
+
"methodName": "revokeShare"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "set-agent-identity",
|
|
824
|
+
"category": "access",
|
|
825
|
+
"methodName": "setAgentIdentity"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "access-set-scope",
|
|
829
|
+
"category": "access",
|
|
830
|
+
"methodName": "setScope"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "access-share-note",
|
|
834
|
+
"category": "access",
|
|
835
|
+
"methodName": "shareNote"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "access-share-vault",
|
|
839
|
+
"category": "access",
|
|
840
|
+
"methodName": "shareVault"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "access-swap-vault",
|
|
844
|
+
"category": "access",
|
|
845
|
+
"methodName": "swapVault"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "access-switch-account",
|
|
849
|
+
"category": "access",
|
|
850
|
+
"methodName": "switchAccount"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "access-unlink-share",
|
|
854
|
+
"category": "access",
|
|
855
|
+
"methodName": "unlinkShare"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "memory-capture",
|
|
859
|
+
"category": "capture",
|
|
860
|
+
"methodName": "memoryCapture"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "memory-questions",
|
|
864
|
+
"category": "capture",
|
|
865
|
+
"methodName": "memoryQuestions"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "prepare-memory-write",
|
|
869
|
+
"category": "capture",
|
|
870
|
+
"methodName": "prepareMemoryWrite"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "validate-memory-write",
|
|
874
|
+
"category": "capture",
|
|
875
|
+
"methodName": "validateMemoryWrite"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "create-channel",
|
|
879
|
+
"category": "channels",
|
|
880
|
+
"methodName": "createChannel"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "get-message-note",
|
|
884
|
+
"category": "channels",
|
|
885
|
+
"methodName": "getMessageNote"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "list-channel-members",
|
|
889
|
+
"category": "channels",
|
|
890
|
+
"methodName": "listChannelMembers"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "list-channel-messages",
|
|
894
|
+
"category": "channels",
|
|
895
|
+
"methodName": "listChannelMessages"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "my-mentions",
|
|
899
|
+
"category": "channels",
|
|
900
|
+
"methodName": "myMentions"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "poll-channel",
|
|
904
|
+
"category": "channels",
|
|
905
|
+
"methodName": "pollChannel"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "post-message",
|
|
909
|
+
"category": "channels",
|
|
910
|
+
"methodName": "postMessage"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "react-message",
|
|
914
|
+
"category": "channels",
|
|
915
|
+
"methodName": "reactMessage"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"name": "remove-channel-member",
|
|
919
|
+
"category": "channels",
|
|
920
|
+
"methodName": "removeChannelMember"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "reply-message",
|
|
924
|
+
"category": "channels",
|
|
925
|
+
"methodName": "replyMessage"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "fact-history",
|
|
929
|
+
"category": "facts",
|
|
930
|
+
"methodName": "history"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "record-fact",
|
|
934
|
+
"category": "facts",
|
|
935
|
+
"methodName": "recordFact"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "memory-backlinks",
|
|
939
|
+
"category": "graph",
|
|
940
|
+
"methodName": "memoryBacklinks"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "memory-graph-path",
|
|
944
|
+
"category": "graph",
|
|
945
|
+
"methodName": "memoryGraphPath"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "memory-graph-universe",
|
|
949
|
+
"category": "graph",
|
|
950
|
+
"methodName": "memoryGraphUniverse"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "library-ingest",
|
|
954
|
+
"category": "library",
|
|
955
|
+
"methodName": "ingest"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "delete-note",
|
|
959
|
+
"category": "memory",
|
|
960
|
+
"methodName": "deleteNote"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "memory-export",
|
|
964
|
+
"category": "memory",
|
|
965
|
+
"methodName": "export"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"name": "memory-get",
|
|
969
|
+
"category": "memory",
|
|
970
|
+
"methodName": "get"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "memory-list",
|
|
974
|
+
"category": "memory",
|
|
975
|
+
"methodName": "list"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "memory-put",
|
|
979
|
+
"category": "memory",
|
|
980
|
+
"methodName": "put"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "memory-search",
|
|
984
|
+
"category": "memory",
|
|
985
|
+
"methodName": "search"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "memory-suggest",
|
|
989
|
+
"category": "memory",
|
|
990
|
+
"methodName": "suggest"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "memory-upload",
|
|
994
|
+
"category": "memory",
|
|
995
|
+
"methodName": "upload"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "temporal-recall",
|
|
999
|
+
"category": "recall",
|
|
1000
|
+
"methodName": "temporalRecall"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "create-scheduled-action",
|
|
1004
|
+
"category": "schedule",
|
|
1005
|
+
"methodName": "createScheduledAction"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "delete-scheduled-action",
|
|
1009
|
+
"category": "schedule",
|
|
1010
|
+
"methodName": "deleteScheduledAction"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "get-schedule-link",
|
|
1014
|
+
"category": "schedule",
|
|
1015
|
+
"methodName": "getScheduleLink"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "get-schedule-status",
|
|
1019
|
+
"category": "schedule",
|
|
1020
|
+
"methodName": "getScheduleStatus"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "list-scheduled-actions",
|
|
1024
|
+
"category": "schedule",
|
|
1025
|
+
"methodName": "listScheduledActions"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "pause-scheduled-action",
|
|
1029
|
+
"category": "schedule",
|
|
1030
|
+
"methodName": "pauseScheduledAction"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "propose-scheduled-action",
|
|
1034
|
+
"category": "schedule",
|
|
1035
|
+
"methodName": "proposeScheduledAction"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "resume-scheduled-action",
|
|
1039
|
+
"category": "schedule",
|
|
1040
|
+
"methodName": "resumeScheduledAction"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "revoke-schedule-link",
|
|
1044
|
+
"category": "schedule",
|
|
1045
|
+
"methodName": "revokeScheduleLink"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"name": "set-schedule-entitlement",
|
|
1049
|
+
"category": "schedule",
|
|
1050
|
+
"methodName": "setScheduleEntitlement"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "cost-usage",
|
|
1054
|
+
"category": "storage",
|
|
1055
|
+
"methodName": "costUsage"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "storage-usage",
|
|
1059
|
+
"category": "storage",
|
|
1060
|
+
"methodName": "usage"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "table-create",
|
|
1064
|
+
"category": "tables",
|
|
1065
|
+
"methodName": "create"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "table-delete-rows",
|
|
1069
|
+
"category": "tables",
|
|
1070
|
+
"methodName": "deleteRows"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "table-describe",
|
|
1074
|
+
"category": "tables",
|
|
1075
|
+
"methodName": "describe"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "table-drop",
|
|
1079
|
+
"category": "tables",
|
|
1080
|
+
"methodName": "drop"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "table-insert-rows",
|
|
1084
|
+
"category": "tables",
|
|
1085
|
+
"methodName": "insertRows"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "table-list",
|
|
1089
|
+
"category": "tables",
|
|
1090
|
+
"methodName": "list"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "table-query",
|
|
1094
|
+
"category": "tables",
|
|
1095
|
+
"methodName": "query"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "list-memory-tags",
|
|
1099
|
+
"category": "tags",
|
|
1100
|
+
"methodName": "listMemoryTags"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "resolve-memory-tags",
|
|
1104
|
+
"category": "tags",
|
|
1105
|
+
"methodName": "resolveMemoryTags"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "upsert-memory-tag",
|
|
1109
|
+
"category": "tags",
|
|
1110
|
+
"methodName": "upsertMemoryTag"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "add-vault",
|
|
1114
|
+
"category": "vaults",
|
|
1115
|
+
"methodName": "addVault"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "create-secure-vault",
|
|
1119
|
+
"category": "vaults",
|
|
1120
|
+
"methodName": "createSecureVault"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"name": "delete-vault",
|
|
1124
|
+
"category": "vaults",
|
|
1125
|
+
"methodName": "deleteVault"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "get-vault-contract",
|
|
1129
|
+
"category": "vaults",
|
|
1130
|
+
"methodName": "getVaultContract"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"name": "list-shared-with-me",
|
|
1134
|
+
"category": "vaults",
|
|
1135
|
+
"methodName": "listSharedWithMe"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "list-vaults",
|
|
1139
|
+
"category": "vaults",
|
|
1140
|
+
"methodName": "listVaults"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "provision-defaults",
|
|
1144
|
+
"category": "vaults",
|
|
1145
|
+
"methodName": "provisionDefaults"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "route-memory",
|
|
1149
|
+
"category": "vaults",
|
|
1150
|
+
"methodName": "routeMemory"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"name": "video-analyze-start",
|
|
1154
|
+
"category": "video",
|
|
1155
|
+
"methodName": "analyzeStart"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "video-analyze-status",
|
|
1159
|
+
"category": "video",
|
|
1160
|
+
"methodName": "analyzeStatus"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "create-webhook",
|
|
1164
|
+
"category": "webhooks",
|
|
1165
|
+
"methodName": "createWebhook"
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"name": "list-webhooks",
|
|
1169
|
+
"category": "webhooks",
|
|
1170
|
+
"methodName": "listWebhooks"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"name": "revoke-webhook",
|
|
1174
|
+
"category": "webhooks",
|
|
1175
|
+
"methodName": "revokeWebhook"
|
|
1176
|
+
}
|
|
1177
|
+
];
|
|
1178
|
+
var MCP_TOOL_COUNT = MCP_TOOL_BINDINGS.length;
|
|
1179
|
+
var SearchNamespace = class {
|
|
1180
|
+
constructor(callTool) {
|
|
1181
|
+
this.callTool = callTool;
|
|
1182
|
+
}
|
|
1183
|
+
callTool;
|
|
1184
|
+
async harvestPaa(input) {
|
|
1185
|
+
return this.callTool("harvest_paa", input);
|
|
1186
|
+
}
|
|
1187
|
+
async searchSerp(input) {
|
|
1188
|
+
return this.callTool("search_serp", input);
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
var WebNamespace = class {
|
|
1192
|
+
constructor(callTool) {
|
|
1193
|
+
this.callTool = callTool;
|
|
1194
|
+
}
|
|
1195
|
+
callTool;
|
|
1196
|
+
async extractUrl(input) {
|
|
1197
|
+
return this.callTool("extract_url", input);
|
|
1198
|
+
}
|
|
1199
|
+
async diffPage(input) {
|
|
1200
|
+
return this.callTool("diff_page", input);
|
|
1201
|
+
}
|
|
1202
|
+
async mapSiteUrls(input) {
|
|
1203
|
+
return this.callTool("map_site_urls", input);
|
|
1204
|
+
}
|
|
1205
|
+
async extractSite(input) {
|
|
1206
|
+
return this.callTool("extract_site", input);
|
|
1207
|
+
}
|
|
1208
|
+
async auditSite(input) {
|
|
1209
|
+
return this.callTool("audit_site", input);
|
|
1210
|
+
}
|
|
1211
|
+
};
|
|
1212
|
+
var YoutubeNamespace = class {
|
|
1213
|
+
constructor(callTool) {
|
|
1214
|
+
this.callTool = callTool;
|
|
1215
|
+
}
|
|
1216
|
+
callTool;
|
|
1217
|
+
async harvest(input) {
|
|
1218
|
+
return this.callTool("youtube_harvest", input);
|
|
1219
|
+
}
|
|
1220
|
+
async transcribe(input = {}) {
|
|
1221
|
+
return this.callTool("youtube_transcribe", input);
|
|
1222
|
+
}
|
|
1223
|
+
};
|
|
1224
|
+
var FacebookNamespace = class {
|
|
1225
|
+
constructor(callTool) {
|
|
1226
|
+
this.callTool = callTool;
|
|
1227
|
+
}
|
|
1228
|
+
callTool;
|
|
1229
|
+
async pageIntel(input = {}) {
|
|
1230
|
+
return this.callTool("facebook_page_intel", input);
|
|
1231
|
+
}
|
|
1232
|
+
async adSearch(input) {
|
|
1233
|
+
return this.callTool("facebook_ad_search", input);
|
|
1234
|
+
}
|
|
1235
|
+
async adTranscribe(input) {
|
|
1236
|
+
return this.callTool("facebook_ad_transcribe", input);
|
|
1237
|
+
}
|
|
1238
|
+
async videoTranscribe(input) {
|
|
1239
|
+
return this.callTool("facebook_video_transcribe", input);
|
|
1240
|
+
}
|
|
1241
|
+
};
|
|
1242
|
+
var RedditNamespace = class {
|
|
1243
|
+
constructor(callTool) {
|
|
1244
|
+
this.callTool = callTool;
|
|
1245
|
+
}
|
|
1246
|
+
callTool;
|
|
1247
|
+
async thread(input) {
|
|
1248
|
+
return this.callTool("reddit_thread", input);
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
var VideoNamespace2 = class {
|
|
1252
|
+
constructor(callTool) {
|
|
1253
|
+
this.callTool = callTool;
|
|
1254
|
+
}
|
|
1255
|
+
callTool;
|
|
1256
|
+
async frameAnalysis(input) {
|
|
1257
|
+
return this.callTool("video_frame_analysis", input);
|
|
1258
|
+
}
|
|
1259
|
+
async frameAnalysisStatus(input) {
|
|
1260
|
+
return this.callTool("video_frame_analysis_status", input);
|
|
1261
|
+
}
|
|
1262
|
+
async analyzeStart(input) {
|
|
1263
|
+
return this.callTool("video-analyze-start", input);
|
|
1264
|
+
}
|
|
1265
|
+
async analyzeStatus(input) {
|
|
1266
|
+
return this.callTool("video-analyze-status", input);
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
var GoogleAdsNamespace = class {
|
|
1270
|
+
constructor(callTool) {
|
|
1271
|
+
this.callTool = callTool;
|
|
1272
|
+
}
|
|
1273
|
+
callTool;
|
|
1274
|
+
async search(input) {
|
|
1275
|
+
return this.callTool("google_ads_search", input);
|
|
1276
|
+
}
|
|
1277
|
+
async pageIntel(input = {}) {
|
|
1278
|
+
return this.callTool("google_ads_page_intel", input);
|
|
1279
|
+
}
|
|
1280
|
+
async transcribe(input) {
|
|
1281
|
+
return this.callTool("google_ads_transcribe", input);
|
|
1282
|
+
}
|
|
1283
|
+
};
|
|
1284
|
+
var InstagramNamespace = class {
|
|
1285
|
+
constructor(callTool) {
|
|
1286
|
+
this.callTool = callTool;
|
|
1287
|
+
}
|
|
1288
|
+
callTool;
|
|
1289
|
+
async profileContent(input = {}) {
|
|
1290
|
+
return this.callTool("instagram_profile_content", input);
|
|
1291
|
+
}
|
|
1292
|
+
async mediaDownload(input) {
|
|
1293
|
+
return this.callTool("instagram_media_download", input);
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
var MapsNamespace = class {
|
|
1297
|
+
constructor(callTool) {
|
|
1298
|
+
this.callTool = callTool;
|
|
1299
|
+
}
|
|
1300
|
+
callTool;
|
|
1301
|
+
async placeIntel(input) {
|
|
1302
|
+
return this.callTool("maps_place_intel", input);
|
|
1303
|
+
}
|
|
1304
|
+
async search(input) {
|
|
1305
|
+
return this.callTool("maps_search", input);
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
var ReviewsNamespace = class {
|
|
1309
|
+
constructor(callTool) {
|
|
1310
|
+
this.callTool = callTool;
|
|
1311
|
+
}
|
|
1312
|
+
callTool;
|
|
1313
|
+
async trustpilotReviews(input) {
|
|
1314
|
+
return this.callTool("trustpilot_reviews", input);
|
|
1315
|
+
}
|
|
1316
|
+
async g2Reviews(input) {
|
|
1317
|
+
return this.callTool("g2_reviews", input);
|
|
1318
|
+
}
|
|
1319
|
+
};
|
|
1320
|
+
var DirectoryNamespace = class {
|
|
1321
|
+
constructor(callTool) {
|
|
1322
|
+
this.callTool = callTool;
|
|
1323
|
+
}
|
|
1324
|
+
callTool;
|
|
1325
|
+
async run(input) {
|
|
1326
|
+
return this.callTool("directory_workflow", input);
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1329
|
+
var WorkflowsNamespace = class {
|
|
1330
|
+
constructor(callTool) {
|
|
1331
|
+
this.callTool = callTool;
|
|
1332
|
+
}
|
|
1333
|
+
callTool;
|
|
1334
|
+
async list(input = {}) {
|
|
1335
|
+
return this.callTool("workflow_list", input);
|
|
1336
|
+
}
|
|
1337
|
+
async suggest(input) {
|
|
1338
|
+
return this.callTool("workflow_suggest", input);
|
|
1339
|
+
}
|
|
1340
|
+
async run(input) {
|
|
1341
|
+
return this.callTool("workflow_run", input);
|
|
1342
|
+
}
|
|
1343
|
+
async step(input) {
|
|
1344
|
+
return this.callTool("workflow_step", input);
|
|
1345
|
+
}
|
|
1346
|
+
async status(input) {
|
|
1347
|
+
return this.callTool("workflow_status", input);
|
|
1348
|
+
}
|
|
1349
|
+
async artifactRead(input) {
|
|
1350
|
+
return this.callTool("workflow_artifact_read", input);
|
|
1351
|
+
}
|
|
1352
|
+
async rankTracker(input = {}) {
|
|
1353
|
+
return this.callTool("rank_tracker_workflow", input);
|
|
1354
|
+
}
|
|
1355
|
+
async queryFanout(input) {
|
|
1356
|
+
return this.callTool("query_fanout_workflow", input);
|
|
1357
|
+
}
|
|
1358
|
+
};
|
|
1359
|
+
var ArtifactsNamespace = class {
|
|
1360
|
+
constructor(callTool) {
|
|
1361
|
+
this.callTool = callTool;
|
|
1362
|
+
}
|
|
1363
|
+
callTool;
|
|
1364
|
+
async read(input) {
|
|
1365
|
+
return this.callTool("report_artifact_read", input);
|
|
1366
|
+
}
|
|
1367
|
+
};
|
|
1368
|
+
var BillingNamespace = class {
|
|
1369
|
+
constructor(callTool) {
|
|
1370
|
+
this.callTool = callTool;
|
|
1371
|
+
}
|
|
1372
|
+
callTool;
|
|
1373
|
+
async creditsInfo(input = {}) {
|
|
1374
|
+
return this.callTool("credits_info", input);
|
|
1375
|
+
}
|
|
1376
|
+
};
|
|
1377
|
+
var SerpIntelligenceNamespace = class {
|
|
1378
|
+
constructor(callTool) {
|
|
1379
|
+
this.callTool = callTool;
|
|
1380
|
+
}
|
|
1381
|
+
callTool;
|
|
1382
|
+
async snapshot(input) {
|
|
1383
|
+
return this.callTool("capture_serp_snapshot", input);
|
|
1384
|
+
}
|
|
1385
|
+
async pageSnapshots(input) {
|
|
1386
|
+
return this.callTool("capture_serp_page_snapshots", input);
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
var BrowserNamespace = class {
|
|
1390
|
+
constructor(callTool) {
|
|
1391
|
+
this.callTool = callTool;
|
|
1392
|
+
}
|
|
1393
|
+
callTool;
|
|
1394
|
+
async profileConnect(input = {}) {
|
|
1395
|
+
return this.callTool("browser_profile_connect", input);
|
|
1396
|
+
}
|
|
1397
|
+
async profileList(input = {}) {
|
|
1398
|
+
return this.callTool("browser_profile_list", input);
|
|
1399
|
+
}
|
|
1400
|
+
async extensionImport(input) {
|
|
1401
|
+
return this.callTool("browser_extension_import", input);
|
|
1402
|
+
}
|
|
1403
|
+
async extensionList(input = {}) {
|
|
1404
|
+
return this.callTool("browser_extension_list", input);
|
|
1405
|
+
}
|
|
1406
|
+
async extensionDelete(input) {
|
|
1407
|
+
return this.callTool("browser_extension_delete", input);
|
|
1408
|
+
}
|
|
1409
|
+
async open(input = {}) {
|
|
1410
|
+
return this.callTool("browser_open", input);
|
|
1411
|
+
}
|
|
1412
|
+
async screenshot(input) {
|
|
1413
|
+
return this.callTool("browser_screenshot", input);
|
|
1414
|
+
}
|
|
1415
|
+
async read(input) {
|
|
1416
|
+
return this.callTool("browser_read", input);
|
|
1417
|
+
}
|
|
1418
|
+
async locate(input) {
|
|
1419
|
+
return this.callTool("browser_locate", input);
|
|
1420
|
+
}
|
|
1421
|
+
async goto(input) {
|
|
1422
|
+
return this.callTool("browser_goto", input);
|
|
1423
|
+
}
|
|
1424
|
+
async click(input) {
|
|
1425
|
+
return this.callTool("browser_click", input);
|
|
1426
|
+
}
|
|
1427
|
+
async type(input) {
|
|
1428
|
+
return this.callTool("browser_type", input);
|
|
1429
|
+
}
|
|
1430
|
+
async scroll(input) {
|
|
1431
|
+
return this.callTool("browser_scroll", input);
|
|
1432
|
+
}
|
|
1433
|
+
async press(input) {
|
|
1434
|
+
return this.callTool("browser_press", input);
|
|
1435
|
+
}
|
|
1436
|
+
async replayStart(input) {
|
|
1437
|
+
return this.callTool("browser_replay_start", input);
|
|
1438
|
+
}
|
|
1439
|
+
async replayStop(input) {
|
|
1440
|
+
return this.callTool("browser_replay_stop", input);
|
|
1441
|
+
}
|
|
1442
|
+
async listReplays(input) {
|
|
1443
|
+
return this.callTool("browser_list_replays", input);
|
|
1444
|
+
}
|
|
1445
|
+
async replayDownload(input) {
|
|
1446
|
+
return this.callTool("browser_replay_download", input);
|
|
1447
|
+
}
|
|
1448
|
+
async replayMark(input) {
|
|
1449
|
+
return this.callTool("browser_replay_mark", input);
|
|
1450
|
+
}
|
|
1451
|
+
async replayAnnotate(input) {
|
|
1452
|
+
return this.callTool("browser_replay_annotate", input);
|
|
1453
|
+
}
|
|
1454
|
+
async close(input) {
|
|
1455
|
+
return this.callTool("browser_close", input);
|
|
1456
|
+
}
|
|
1457
|
+
async listSessions(input = {}) {
|
|
1458
|
+
return this.callTool("browser_list_sessions", input);
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
var AccessNamespace2 = class {
|
|
1462
|
+
constructor(callTool) {
|
|
1463
|
+
this.callTool = callTool;
|
|
1464
|
+
}
|
|
1465
|
+
callTool;
|
|
1466
|
+
async acceptShare(input) {
|
|
1467
|
+
return this.callTool("access-accept-share", input);
|
|
1468
|
+
}
|
|
1469
|
+
async approveSender(input) {
|
|
1470
|
+
return this.callTool("access-approve-sender", input);
|
|
1471
|
+
}
|
|
1472
|
+
async declineShare(input) {
|
|
1473
|
+
return this.callTool("access-decline-share", input);
|
|
1474
|
+
}
|
|
1475
|
+
async getChatLink(input = {}) {
|
|
1476
|
+
return this.callTool("get-chat-link", input);
|
|
1477
|
+
}
|
|
1478
|
+
async inboxSettings(input) {
|
|
1479
|
+
return this.callTool("access-inbox-settings", input);
|
|
1480
|
+
}
|
|
1481
|
+
async inviteAccount(input) {
|
|
1482
|
+
return this.callTool("access-invite-account", input);
|
|
1483
|
+
}
|
|
1484
|
+
async issueKey(input) {
|
|
1485
|
+
return this.callTool("access-issue-key", input);
|
|
1486
|
+
}
|
|
1487
|
+
async listApprovedSenders(input = {}) {
|
|
1488
|
+
return this.callTool("access-list-approved-senders", input);
|
|
1489
|
+
}
|
|
1490
|
+
async listKeys(input = {}) {
|
|
1491
|
+
return this.callTool("access-list-keys", input);
|
|
1492
|
+
}
|
|
1493
|
+
async noteInbox(input = {}) {
|
|
1494
|
+
return this.callTool("access-note-inbox", input);
|
|
1495
|
+
}
|
|
1496
|
+
async removeApprovedSender(input) {
|
|
1497
|
+
return this.callTool("access-remove-approved-sender", input);
|
|
1498
|
+
}
|
|
1499
|
+
async revokeChatLink(input = {}) {
|
|
1500
|
+
return this.callTool("revoke-chat-link", input);
|
|
1501
|
+
}
|
|
1502
|
+
async revokeKey(input) {
|
|
1503
|
+
return this.callTool("access-revoke-key", input);
|
|
1504
|
+
}
|
|
1505
|
+
async revokeShare(input) {
|
|
1506
|
+
return this.callTool("access-revoke-share", input);
|
|
1507
|
+
}
|
|
1508
|
+
async setAgentIdentity(input) {
|
|
1509
|
+
return this.callTool("set-agent-identity", input);
|
|
1510
|
+
}
|
|
1511
|
+
async setScope(input) {
|
|
1512
|
+
return this.callTool("access-set-scope", input);
|
|
1513
|
+
}
|
|
1514
|
+
async shareNote(input) {
|
|
1515
|
+
return this.callTool("access-share-note", input);
|
|
1516
|
+
}
|
|
1517
|
+
async shareVault(input) {
|
|
1518
|
+
return this.callTool("access-share-vault", input);
|
|
1519
|
+
}
|
|
1520
|
+
async swapVault(input) {
|
|
1521
|
+
return this.callTool("access-swap-vault", input);
|
|
1522
|
+
}
|
|
1523
|
+
async switchAccount(input = {}) {
|
|
1524
|
+
return this.callTool("access-switch-account", input);
|
|
1525
|
+
}
|
|
1526
|
+
async unlinkShare(input) {
|
|
1527
|
+
return this.callTool("access-unlink-share", input);
|
|
1528
|
+
}
|
|
1529
|
+
};
|
|
1530
|
+
var CaptureNamespace2 = class {
|
|
1531
|
+
constructor(callTool) {
|
|
1532
|
+
this.callTool = callTool;
|
|
1533
|
+
}
|
|
1534
|
+
callTool;
|
|
1535
|
+
async memoryCapture(input) {
|
|
1536
|
+
return this.callTool("memory-capture", input);
|
|
1537
|
+
}
|
|
1538
|
+
async memoryQuestions(input = {}) {
|
|
1539
|
+
return this.callTool("memory-questions", input);
|
|
1540
|
+
}
|
|
1541
|
+
async prepareMemoryWrite(input) {
|
|
1542
|
+
return this.callTool("prepare-memory-write", input);
|
|
1543
|
+
}
|
|
1544
|
+
async validateMemoryWrite(input) {
|
|
1545
|
+
return this.callTool("validate-memory-write", input);
|
|
1546
|
+
}
|
|
1547
|
+
};
|
|
1548
|
+
var ChannelsNamespace2 = class {
|
|
1549
|
+
constructor(callTool) {
|
|
1550
|
+
this.callTool = callTool;
|
|
1551
|
+
}
|
|
1552
|
+
callTool;
|
|
1553
|
+
async createChannel(input) {
|
|
1554
|
+
return this.callTool("create-channel", input);
|
|
1555
|
+
}
|
|
1556
|
+
async getMessageNote(input) {
|
|
1557
|
+
return this.callTool("get-message-note", input);
|
|
1558
|
+
}
|
|
1559
|
+
async listChannelMembers(input) {
|
|
1560
|
+
return this.callTool("list-channel-members", input);
|
|
1561
|
+
}
|
|
1562
|
+
async listChannelMessages(input) {
|
|
1563
|
+
return this.callTool("list-channel-messages", input);
|
|
1564
|
+
}
|
|
1565
|
+
async myMentions(input = {}) {
|
|
1566
|
+
return this.callTool("my-mentions", input);
|
|
1567
|
+
}
|
|
1568
|
+
async pollChannel(input) {
|
|
1569
|
+
return this.callTool("poll-channel", input);
|
|
1570
|
+
}
|
|
1571
|
+
async postMessage(input) {
|
|
1572
|
+
return this.callTool("post-message", input);
|
|
1573
|
+
}
|
|
1574
|
+
async reactMessage(input) {
|
|
1575
|
+
return this.callTool("react-message", input);
|
|
1576
|
+
}
|
|
1577
|
+
async removeChannelMember(input) {
|
|
1578
|
+
return this.callTool("remove-channel-member", input);
|
|
1579
|
+
}
|
|
1580
|
+
async replyMessage(input) {
|
|
1581
|
+
return this.callTool("reply-message", input);
|
|
1582
|
+
}
|
|
1583
|
+
};
|
|
1584
|
+
var FactsNamespace2 = class {
|
|
1585
|
+
constructor(callTool) {
|
|
1586
|
+
this.callTool = callTool;
|
|
1587
|
+
}
|
|
1588
|
+
callTool;
|
|
1589
|
+
async history(input) {
|
|
1590
|
+
return this.callTool("fact-history", input);
|
|
1591
|
+
}
|
|
1592
|
+
async recordFact(input) {
|
|
1593
|
+
return this.callTool("record-fact", input);
|
|
1594
|
+
}
|
|
1595
|
+
};
|
|
1596
|
+
var GraphNamespace2 = class {
|
|
1597
|
+
constructor(callTool) {
|
|
1598
|
+
this.callTool = callTool;
|
|
1599
|
+
}
|
|
1600
|
+
callTool;
|
|
1601
|
+
async memoryBacklinks(input) {
|
|
1602
|
+
return this.callTool("memory-backlinks", input);
|
|
1603
|
+
}
|
|
1604
|
+
async memoryGraphPath(input) {
|
|
1605
|
+
return this.callTool("memory-graph-path", input);
|
|
1606
|
+
}
|
|
1607
|
+
async memoryGraphUniverse(input) {
|
|
1608
|
+
return this.callTool("memory-graph-universe", input);
|
|
1609
|
+
}
|
|
1610
|
+
};
|
|
1611
|
+
var LibraryNamespace2 = class {
|
|
1612
|
+
constructor(callTool) {
|
|
1613
|
+
this.callTool = callTool;
|
|
1614
|
+
}
|
|
1615
|
+
callTool;
|
|
1616
|
+
async ingest(input) {
|
|
1617
|
+
return this.callTool("library-ingest", input);
|
|
1618
|
+
}
|
|
1619
|
+
};
|
|
1620
|
+
var MemoryNamespace2 = class {
|
|
1621
|
+
constructor(callTool) {
|
|
1622
|
+
this.callTool = callTool;
|
|
1623
|
+
}
|
|
1624
|
+
callTool;
|
|
1625
|
+
async deleteNote(input = {}) {
|
|
1626
|
+
return this.callTool("delete-note", input);
|
|
1627
|
+
}
|
|
1628
|
+
async export(input = {}) {
|
|
1629
|
+
return this.callTool("memory-export", input);
|
|
1630
|
+
}
|
|
1631
|
+
async get(input = {}) {
|
|
1632
|
+
return this.callTool("memory-get", input);
|
|
1633
|
+
}
|
|
1634
|
+
async list(input = {}) {
|
|
1635
|
+
return this.callTool("memory-list", input);
|
|
1636
|
+
}
|
|
1637
|
+
async put(input) {
|
|
1638
|
+
return this.callTool("memory-put", input);
|
|
1639
|
+
}
|
|
1640
|
+
async search(input) {
|
|
1641
|
+
return this.callTool("memory-search", input);
|
|
1642
|
+
}
|
|
1643
|
+
async suggest(input) {
|
|
1644
|
+
return this.callTool("memory-suggest", input);
|
|
1645
|
+
}
|
|
1646
|
+
async upload(input) {
|
|
1647
|
+
return this.callTool("memory-upload", input);
|
|
1648
|
+
}
|
|
1649
|
+
};
|
|
1650
|
+
var RecallNamespace2 = class {
|
|
1651
|
+
constructor(callTool) {
|
|
1652
|
+
this.callTool = callTool;
|
|
1653
|
+
}
|
|
1654
|
+
callTool;
|
|
1655
|
+
async temporalRecall(input = {}) {
|
|
1656
|
+
return this.callTool("temporal-recall", input);
|
|
1657
|
+
}
|
|
1658
|
+
};
|
|
1659
|
+
var ScheduleNamespace2 = class {
|
|
1660
|
+
constructor(callTool) {
|
|
1661
|
+
this.callTool = callTool;
|
|
1662
|
+
}
|
|
1663
|
+
callTool;
|
|
1664
|
+
async createScheduledAction(input) {
|
|
1665
|
+
return this.callTool("create-scheduled-action", input);
|
|
1666
|
+
}
|
|
1667
|
+
async deleteScheduledAction(input) {
|
|
1668
|
+
return this.callTool("delete-scheduled-action", input);
|
|
1669
|
+
}
|
|
1670
|
+
async getScheduleLink(input = {}) {
|
|
1671
|
+
return this.callTool("get-schedule-link", input);
|
|
1672
|
+
}
|
|
1673
|
+
async getScheduleStatus(input = {}) {
|
|
1674
|
+
return this.callTool("get-schedule-status", input);
|
|
1675
|
+
}
|
|
1676
|
+
async listScheduledActions(input = {}) {
|
|
1677
|
+
return this.callTool("list-scheduled-actions", input);
|
|
1678
|
+
}
|
|
1679
|
+
async pauseScheduledAction(input) {
|
|
1680
|
+
return this.callTool("pause-scheduled-action", input);
|
|
1681
|
+
}
|
|
1682
|
+
async proposeScheduledAction(input) {
|
|
1683
|
+
return this.callTool("propose-scheduled-action", input);
|
|
1684
|
+
}
|
|
1685
|
+
async resumeScheduledAction(input) {
|
|
1686
|
+
return this.callTool("resume-scheduled-action", input);
|
|
1687
|
+
}
|
|
1688
|
+
async revokeScheduleLink(input = {}) {
|
|
1689
|
+
return this.callTool("revoke-schedule-link", input);
|
|
1690
|
+
}
|
|
1691
|
+
async setScheduleEntitlement(input) {
|
|
1692
|
+
return this.callTool("set-schedule-entitlement", input);
|
|
1693
|
+
}
|
|
1694
|
+
};
|
|
1695
|
+
var StorageNamespace2 = class {
|
|
1696
|
+
constructor(callTool) {
|
|
1697
|
+
this.callTool = callTool;
|
|
1698
|
+
}
|
|
1699
|
+
callTool;
|
|
1700
|
+
async costUsage(input = {}) {
|
|
1701
|
+
return this.callTool("cost-usage", input);
|
|
1702
|
+
}
|
|
1703
|
+
async usage(input = {}) {
|
|
1704
|
+
return this.callTool("storage-usage", input);
|
|
1705
|
+
}
|
|
1706
|
+
};
|
|
1707
|
+
var TablesNamespace2 = class {
|
|
1708
|
+
constructor(callTool) {
|
|
1709
|
+
this.callTool = callTool;
|
|
1710
|
+
}
|
|
1711
|
+
callTool;
|
|
1712
|
+
async create(input) {
|
|
1713
|
+
return this.callTool("table-create", input);
|
|
1714
|
+
}
|
|
1715
|
+
async deleteRows(input) {
|
|
1716
|
+
return this.callTool("table-delete-rows", input);
|
|
1717
|
+
}
|
|
1718
|
+
async describe(input) {
|
|
1719
|
+
return this.callTool("table-describe", input);
|
|
1720
|
+
}
|
|
1721
|
+
async drop(input) {
|
|
1722
|
+
return this.callTool("table-drop", input);
|
|
1723
|
+
}
|
|
1724
|
+
async insertRows(input) {
|
|
1725
|
+
return this.callTool("table-insert-rows", input);
|
|
1726
|
+
}
|
|
1727
|
+
async list(input = {}) {
|
|
1728
|
+
return this.callTool("table-list", input);
|
|
1729
|
+
}
|
|
1730
|
+
async query(input) {
|
|
1731
|
+
return this.callTool("table-query", input);
|
|
1732
|
+
}
|
|
1733
|
+
};
|
|
1734
|
+
var TagsNamespace2 = class {
|
|
1735
|
+
constructor(callTool) {
|
|
1736
|
+
this.callTool = callTool;
|
|
1737
|
+
}
|
|
1738
|
+
callTool;
|
|
1739
|
+
async listMemoryTags(input = {}) {
|
|
1740
|
+
return this.callTool("list-memory-tags", input);
|
|
1741
|
+
}
|
|
1742
|
+
async resolveMemoryTags(input) {
|
|
1743
|
+
return this.callTool("resolve-memory-tags", input);
|
|
1744
|
+
}
|
|
1745
|
+
async upsertMemoryTag(input) {
|
|
1746
|
+
return this.callTool("upsert-memory-tag", input);
|
|
1747
|
+
}
|
|
1748
|
+
};
|
|
1749
|
+
var VaultsNamespace2 = class {
|
|
1750
|
+
constructor(callTool) {
|
|
1751
|
+
this.callTool = callTool;
|
|
1752
|
+
}
|
|
1753
|
+
callTool;
|
|
1754
|
+
async addVault(input) {
|
|
1755
|
+
return this.callTool("add-vault", input);
|
|
1756
|
+
}
|
|
1757
|
+
async createSecureVault(input) {
|
|
1758
|
+
return this.callTool("create-secure-vault", input);
|
|
1759
|
+
}
|
|
1760
|
+
async deleteVault(input) {
|
|
1761
|
+
return this.callTool("delete-vault", input);
|
|
1762
|
+
}
|
|
1763
|
+
async getVaultContract(input) {
|
|
1764
|
+
return this.callTool("get-vault-contract", input);
|
|
1765
|
+
}
|
|
1766
|
+
async listSharedWithMe(input = {}) {
|
|
1767
|
+
return this.callTool("list-shared-with-me", input);
|
|
1768
|
+
}
|
|
1769
|
+
async listVaults(input = {}) {
|
|
1770
|
+
return this.callTool("list-vaults", input);
|
|
1771
|
+
}
|
|
1772
|
+
async provisionDefaults(input) {
|
|
1773
|
+
return this.callTool("provision-defaults", input);
|
|
1774
|
+
}
|
|
1775
|
+
async routeMemory(input) {
|
|
1776
|
+
return this.callTool("route-memory", input);
|
|
1777
|
+
}
|
|
1778
|
+
};
|
|
1779
|
+
var WebhooksNamespace2 = class {
|
|
1780
|
+
constructor(callTool) {
|
|
1781
|
+
this.callTool = callTool;
|
|
1782
|
+
}
|
|
1783
|
+
callTool;
|
|
1784
|
+
async createWebhook(input = {}) {
|
|
1785
|
+
return this.callTool("create-webhook", input);
|
|
1786
|
+
}
|
|
1787
|
+
async listWebhooks(input = {}) {
|
|
1788
|
+
return this.callTool("list-webhooks", input);
|
|
1789
|
+
}
|
|
1790
|
+
async revokeWebhook(input) {
|
|
1791
|
+
return this.callTool("revoke-webhook", input);
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1794
|
+
var GeneratedMcpToolsClient = class {
|
|
1795
|
+
search;
|
|
1796
|
+
web;
|
|
1797
|
+
youtube;
|
|
1798
|
+
facebook;
|
|
1799
|
+
reddit;
|
|
1800
|
+
video;
|
|
1801
|
+
googleAds;
|
|
1802
|
+
instagram;
|
|
1803
|
+
maps;
|
|
1804
|
+
reviews;
|
|
1805
|
+
directory;
|
|
1806
|
+
workflows;
|
|
1807
|
+
artifacts;
|
|
1808
|
+
billing;
|
|
1809
|
+
serpIntelligence;
|
|
1810
|
+
browser;
|
|
1811
|
+
access;
|
|
1812
|
+
capture;
|
|
1813
|
+
channels;
|
|
1814
|
+
facts;
|
|
1815
|
+
graph;
|
|
1816
|
+
library;
|
|
1817
|
+
memory;
|
|
1818
|
+
recall;
|
|
1819
|
+
schedule;
|
|
1820
|
+
storage;
|
|
1821
|
+
tables;
|
|
1822
|
+
tags;
|
|
1823
|
+
vaults;
|
|
1824
|
+
webhooks;
|
|
1825
|
+
constructor(callTool) {
|
|
1826
|
+
this.search = new SearchNamespace(callTool);
|
|
1827
|
+
this.web = new WebNamespace(callTool);
|
|
1828
|
+
this.youtube = new YoutubeNamespace(callTool);
|
|
1829
|
+
this.facebook = new FacebookNamespace(callTool);
|
|
1830
|
+
this.reddit = new RedditNamespace(callTool);
|
|
1831
|
+
this.video = new VideoNamespace2(callTool);
|
|
1832
|
+
this.googleAds = new GoogleAdsNamespace(callTool);
|
|
1833
|
+
this.instagram = new InstagramNamespace(callTool);
|
|
1834
|
+
this.maps = new MapsNamespace(callTool);
|
|
1835
|
+
this.reviews = new ReviewsNamespace(callTool);
|
|
1836
|
+
this.directory = new DirectoryNamespace(callTool);
|
|
1837
|
+
this.workflows = new WorkflowsNamespace(callTool);
|
|
1838
|
+
this.artifacts = new ArtifactsNamespace(callTool);
|
|
1839
|
+
this.billing = new BillingNamespace(callTool);
|
|
1840
|
+
this.serpIntelligence = new SerpIntelligenceNamespace(callTool);
|
|
1841
|
+
this.browser = new BrowserNamespace(callTool);
|
|
1842
|
+
this.access = new AccessNamespace2(callTool);
|
|
1843
|
+
this.capture = new CaptureNamespace2(callTool);
|
|
1844
|
+
this.channels = new ChannelsNamespace2(callTool);
|
|
1845
|
+
this.facts = new FactsNamespace2(callTool);
|
|
1846
|
+
this.graph = new GraphNamespace2(callTool);
|
|
1847
|
+
this.library = new LibraryNamespace2(callTool);
|
|
1848
|
+
this.memory = new MemoryNamespace2(callTool);
|
|
1849
|
+
this.recall = new RecallNamespace2(callTool);
|
|
1850
|
+
this.schedule = new ScheduleNamespace2(callTool);
|
|
1851
|
+
this.storage = new StorageNamespace2(callTool);
|
|
1852
|
+
this.tables = new TablesNamespace2(callTool);
|
|
1853
|
+
this.tags = new TagsNamespace2(callTool);
|
|
1854
|
+
this.vaults = new VaultsNamespace2(callTool);
|
|
1855
|
+
this.webhooks = new WebhooksNamespace2(callTool);
|
|
1856
|
+
}
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
// src/mcp-client.ts
|
|
1860
|
+
var McpToolError = class extends Error {
|
|
1861
|
+
httpStatus;
|
|
1862
|
+
rpcCode;
|
|
1863
|
+
data;
|
|
1864
|
+
toolError;
|
|
1865
|
+
constructor(message, details = {}) {
|
|
1866
|
+
super(message);
|
|
1867
|
+
this.name = "McpToolError";
|
|
1868
|
+
this.httpStatus = details.httpStatus;
|
|
1869
|
+
this.rpcCode = details.rpcCode;
|
|
1870
|
+
this.data = details.data;
|
|
1871
|
+
this.toolError = details.toolError;
|
|
1872
|
+
}
|
|
1873
|
+
};
|
|
1874
|
+
var McpJsonRpcTransport = class {
|
|
1875
|
+
apiKey;
|
|
1876
|
+
baseUrl;
|
|
1877
|
+
fetchImpl;
|
|
1878
|
+
listRetries;
|
|
1879
|
+
retryDelayMs;
|
|
1880
|
+
rpcId = 0;
|
|
1881
|
+
constructor(options) {
|
|
1882
|
+
this.apiKey = options.apiKey;
|
|
1883
|
+
this.baseUrl = (options.baseUrl ?? "https://mcpscraper.dev").replace(/\/$/, "");
|
|
1884
|
+
this.fetchImpl = options.fetch ?? globalThis.fetch;
|
|
1885
|
+
this.listRetries = options.listRetries ?? 2;
|
|
1886
|
+
this.retryDelayMs = options.retryDelayMs ?? 250;
|
|
1887
|
+
}
|
|
1888
|
+
async request(method, params) {
|
|
1889
|
+
const attempts = method === "tools/list" ? this.listRetries + 1 : 1;
|
|
1890
|
+
let response;
|
|
1891
|
+
for (let attempt = 0; attempt < attempts; attempt += 1) {
|
|
1892
|
+
response = await this.fetchImpl(`${this.baseUrl}/mcp`, {
|
|
1893
|
+
method: "POST",
|
|
1894
|
+
headers: {
|
|
1895
|
+
"x-api-key": this.apiKey,
|
|
1896
|
+
"content-type": "application/json",
|
|
1897
|
+
accept: "application/json, text/event-stream"
|
|
1898
|
+
},
|
|
1899
|
+
body: JSON.stringify({
|
|
1900
|
+
jsonrpc: "2.0",
|
|
1901
|
+
id: ++this.rpcId,
|
|
1902
|
+
method,
|
|
1903
|
+
...params ? { params } : {}
|
|
1904
|
+
})
|
|
1905
|
+
});
|
|
1906
|
+
const transientDiscoveryFailure = method === "tools/list" && [502, 503, 504].includes(response.status);
|
|
1907
|
+
if (!transientDiscoveryFailure || attempt === attempts - 1) break;
|
|
1908
|
+
await new Promise((resolve) => setTimeout(resolve, this.retryDelayMs * (attempt + 1)));
|
|
1909
|
+
}
|
|
1910
|
+
if (!response) throw new McpToolError(`MCP method "${method}" produced no HTTP response`);
|
|
1911
|
+
if (!response.ok) {
|
|
1912
|
+
const data = await response.text().catch(() => void 0);
|
|
1913
|
+
throw new McpToolError(`HTTP ${response.status} calling MCP method "${method}"`, {
|
|
1914
|
+
httpStatus: response.status,
|
|
1915
|
+
data
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
const payload = await response.json();
|
|
1919
|
+
if (payload.error) {
|
|
1920
|
+
throw new McpToolError(payload.error.message, {
|
|
1921
|
+
rpcCode: payload.error.code,
|
|
1922
|
+
data: payload.error.data
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
if (payload.result === void 0) throw new McpToolError(`MCP method "${method}" returned no result`);
|
|
1926
|
+
return payload.result;
|
|
1927
|
+
}
|
|
1928
|
+
async listTools() {
|
|
1929
|
+
const result = await this.request("tools/list");
|
|
1930
|
+
return result.tools ?? [];
|
|
1931
|
+
}
|
|
1932
|
+
async callTool(name, args = {}) {
|
|
1933
|
+
const result = await this.request("tools/call", {
|
|
1934
|
+
name,
|
|
1935
|
+
arguments: args ?? {}
|
|
1936
|
+
});
|
|
1937
|
+
const textBlock = result.content?.find((block) => block.type === "text")?.text;
|
|
1938
|
+
let parsed = textBlock;
|
|
1939
|
+
if (typeof textBlock === "string") {
|
|
1940
|
+
try {
|
|
1941
|
+
parsed = JSON.parse(textBlock);
|
|
1942
|
+
} catch {
|
|
1943
|
+
parsed = textBlock;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
if (result.structuredContent !== void 0) parsed = result.structuredContent;
|
|
1947
|
+
if (result.isError) {
|
|
1948
|
+
const message = parsed && typeof parsed === "object" && "message" in parsed ? String(parsed.message) : typeof parsed === "string" ? parsed : `Tool "${name}" failed`;
|
|
1949
|
+
throw new McpToolError(message, { toolError: parsed });
|
|
1950
|
+
}
|
|
1951
|
+
return parsed;
|
|
1952
|
+
}
|
|
1953
|
+
};
|
|
1954
|
+
var McpToolsClient = class extends GeneratedMcpToolsClient {
|
|
1955
|
+
transport;
|
|
1956
|
+
constructor(options) {
|
|
1957
|
+
const transport = new McpJsonRpcTransport(options);
|
|
1958
|
+
super(transport.callTool.bind(transport));
|
|
1959
|
+
this.transport = transport;
|
|
1960
|
+
}
|
|
1961
|
+
listTools() {
|
|
1962
|
+
return this.transport.listTools();
|
|
1963
|
+
}
|
|
1964
|
+
async describeTool(name) {
|
|
1965
|
+
const tools = await this.listTools();
|
|
1966
|
+
return tools.find((tool) => tool.name === name);
|
|
1967
|
+
}
|
|
1968
|
+
callTool(name, args = {}) {
|
|
1969
|
+
return this.transport.callTool(name, args);
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
449
1972
|
export {
|
|
450
1973
|
AccessNamespace,
|
|
451
1974
|
CaptureNamespace,
|
|
452
1975
|
ChannelsNamespace,
|
|
453
1976
|
FactsNamespace,
|
|
1977
|
+
GeneratedMcpToolsClient,
|
|
454
1978
|
GraphNamespace,
|
|
455
1979
|
LibraryNamespace,
|
|
1980
|
+
MCP_TOOL_BINDINGS,
|
|
1981
|
+
MCP_TOOL_COUNT,
|
|
1982
|
+
McpToolError,
|
|
1983
|
+
McpToolsClient,
|
|
456
1984
|
MemoryApiError,
|
|
457
1985
|
MemoryClient,
|
|
458
1986
|
MemoryNamespace,
|