integrate-sdk 0.8.28 → 0.8.30-dev.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/dist/adapters/auto-routes.js +397 -0
- package/dist/adapters/index.js +397 -0
- package/dist/adapters/nextjs.js +397 -0
- package/dist/adapters/node.js +397 -0
- package/dist/adapters/svelte-kit.js +397 -0
- package/dist/adapters/tanstack-start.js +397 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +434 -1
- package/dist/oauth.js +397 -0
- package/dist/server.js +406 -0
- package/dist/src/client.d.ts +10 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/integrations/airtable-client.d.ts +260 -0
- package/dist/src/integrations/airtable-client.d.ts.map +1 -0
- package/dist/src/integrations/airtable.d.ts +37 -0
- package/dist/src/integrations/airtable.d.ts.map +1 -0
- package/dist/src/integrations/gcal-client.d.ts +370 -0
- package/dist/src/integrations/gcal-client.d.ts.map +1 -0
- package/dist/src/integrations/gcal.d.ts +37 -0
- package/dist/src/integrations/gcal.d.ts.map +1 -0
- package/dist/src/integrations/linear-client.d.ts +309 -0
- package/dist/src/integrations/linear-client.d.ts.map +1 -0
- package/dist/src/integrations/linear.d.ts +37 -0
- package/dist/src/integrations/linear.d.ts.map +1 -0
- package/dist/src/integrations/outlook-client.d.ts +433 -0
- package/dist/src/integrations/outlook-client.d.ts.map +1 -0
- package/dist/src/integrations/outlook.d.ts +37 -0
- package/dist/src/integrations/outlook.d.ts.map +1 -0
- package/dist/src/integrations/slack-client.d.ts +271 -0
- package/dist/src/integrations/slack-client.d.ts.map +1 -0
- package/dist/src/integrations/slack.d.ts +37 -0
- package/dist/src/integrations/slack.d.ts.map +1 -0
- package/dist/src/integrations/stripe-client.d.ts +412 -0
- package/dist/src/integrations/stripe-client.d.ts.map +1 -0
- package/dist/src/integrations/stripe.d.ts +37 -0
- package/dist/src/integrations/stripe.d.ts.map +1 -0
- package/dist/src/integrations/todoist-client.d.ts +253 -0
- package/dist/src/integrations/todoist-client.d.ts.map +1 -0
- package/dist/src/integrations/todoist.d.ts +37 -0
- package/dist/src/integrations/todoist.d.ts.map +1 -0
- package/dist/src/integrations/vercel-client.d.ts +278 -0
- package/dist/src/integrations/vercel-client.d.ts.map +1 -0
- package/dist/src/integrations/vercel.d.ts +37 -0
- package/dist/src/integrations/vercel.d.ts.map +1 -0
- package/dist/src/integrations/zendesk-client.d.ts +395 -0
- package/dist/src/integrations/zendesk-client.d.ts.map +1 -0
- package/dist/src/integrations/zendesk.d.ts +39 -0
- package/dist/src/integrations/zendesk.d.ts.map +1 -0
- package/dist/src/server.d.ts +9 -0
- package/dist/src/server.d.ts.map +1 -1
- package/index.ts +18 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1654,6 +1654,33 @@ class MCPClientBase {
|
|
|
1654
1654
|
if (integrationIds.includes("notion")) {
|
|
1655
1655
|
this.notion = this.createIntegrationProxy("notion");
|
|
1656
1656
|
}
|
|
1657
|
+
if (integrationIds.includes("slack")) {
|
|
1658
|
+
this.slack = this.createIntegrationProxy("slack");
|
|
1659
|
+
}
|
|
1660
|
+
if (integrationIds.includes("linear")) {
|
|
1661
|
+
this.linear = this.createIntegrationProxy("linear");
|
|
1662
|
+
}
|
|
1663
|
+
if (integrationIds.includes("vercel")) {
|
|
1664
|
+
this.vercel = this.createIntegrationProxy("vercel");
|
|
1665
|
+
}
|
|
1666
|
+
if (integrationIds.includes("zendesk")) {
|
|
1667
|
+
this.zendesk = this.createIntegrationProxy("zendesk");
|
|
1668
|
+
}
|
|
1669
|
+
if (integrationIds.includes("stripe")) {
|
|
1670
|
+
this.stripe = this.createIntegrationProxy("stripe");
|
|
1671
|
+
}
|
|
1672
|
+
if (integrationIds.includes("gcal")) {
|
|
1673
|
+
this.gcal = this.createIntegrationProxy("gcal");
|
|
1674
|
+
}
|
|
1675
|
+
if (integrationIds.includes("outlook")) {
|
|
1676
|
+
this.outlook = this.createIntegrationProxy("outlook");
|
|
1677
|
+
}
|
|
1678
|
+
if (integrationIds.includes("airtable")) {
|
|
1679
|
+
this.airtable = this.createIntegrationProxy("airtable");
|
|
1680
|
+
}
|
|
1681
|
+
if (integrationIds.includes("todoist")) {
|
|
1682
|
+
this.todoist = this.createIntegrationProxy("todoist");
|
|
1683
|
+
}
|
|
1657
1684
|
this.server = this.createServerProxy();
|
|
1658
1685
|
this.initializeIntegrations();
|
|
1659
1686
|
}
|
|
@@ -2680,6 +2707,358 @@ var init_notion = __esm(() => {
|
|
|
2680
2707
|
];
|
|
2681
2708
|
});
|
|
2682
2709
|
|
|
2710
|
+
// src/integrations/slack.ts
|
|
2711
|
+
function slackIntegration(config = {}) {
|
|
2712
|
+
const oauth = {
|
|
2713
|
+
provider: "slack",
|
|
2714
|
+
clientId: config.clientId ?? getEnv("SLACK_CLIENT_ID"),
|
|
2715
|
+
clientSecret: config.clientSecret ?? getEnv("SLACK_CLIENT_SECRET"),
|
|
2716
|
+
scopes: config.scopes || ["chat:write", "channels:read", "users:read", "search:read", "files:write"],
|
|
2717
|
+
redirectUri: config.redirectUri,
|
|
2718
|
+
config: {
|
|
2719
|
+
...config
|
|
2720
|
+
}
|
|
2721
|
+
};
|
|
2722
|
+
return {
|
|
2723
|
+
id: "slack",
|
|
2724
|
+
tools: [...SLACK_TOOLS],
|
|
2725
|
+
oauth,
|
|
2726
|
+
async onInit(_client) {
|
|
2727
|
+
console.log("Slack integration initialized");
|
|
2728
|
+
},
|
|
2729
|
+
async onAfterConnect(_client) {
|
|
2730
|
+
console.log("Slack integration connected");
|
|
2731
|
+
}
|
|
2732
|
+
};
|
|
2733
|
+
}
|
|
2734
|
+
var SLACK_TOOLS;
|
|
2735
|
+
var init_slack = __esm(() => {
|
|
2736
|
+
SLACK_TOOLS = [
|
|
2737
|
+
"slack_send_message",
|
|
2738
|
+
"slack_list_channels",
|
|
2739
|
+
"slack_get_channel",
|
|
2740
|
+
"slack_list_users",
|
|
2741
|
+
"slack_get_user",
|
|
2742
|
+
"slack_list_messages",
|
|
2743
|
+
"slack_add_reaction",
|
|
2744
|
+
"slack_search_messages",
|
|
2745
|
+
"slack_upload_file"
|
|
2746
|
+
];
|
|
2747
|
+
});
|
|
2748
|
+
|
|
2749
|
+
// src/integrations/linear.ts
|
|
2750
|
+
function linearIntegration(config = {}) {
|
|
2751
|
+
const oauth = {
|
|
2752
|
+
provider: "linear",
|
|
2753
|
+
clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
|
|
2754
|
+
clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
|
|
2755
|
+
scopes: config.scopes || ["read", "write", "issues:create"],
|
|
2756
|
+
redirectUri: config.redirectUri,
|
|
2757
|
+
config: {
|
|
2758
|
+
...config
|
|
2759
|
+
}
|
|
2760
|
+
};
|
|
2761
|
+
return {
|
|
2762
|
+
id: "linear",
|
|
2763
|
+
tools: [...LINEAR_TOOLS],
|
|
2764
|
+
oauth,
|
|
2765
|
+
async onInit(_client) {
|
|
2766
|
+
console.log("Linear integration initialized");
|
|
2767
|
+
},
|
|
2768
|
+
async onAfterConnect(_client) {
|
|
2769
|
+
console.log("Linear integration connected");
|
|
2770
|
+
}
|
|
2771
|
+
};
|
|
2772
|
+
}
|
|
2773
|
+
var LINEAR_TOOLS;
|
|
2774
|
+
var init_linear = __esm(() => {
|
|
2775
|
+
LINEAR_TOOLS = [
|
|
2776
|
+
"linear_create_issue",
|
|
2777
|
+
"linear_list_issues",
|
|
2778
|
+
"linear_get_issue",
|
|
2779
|
+
"linear_update_issue",
|
|
2780
|
+
"linear_list_projects",
|
|
2781
|
+
"linear_list_teams",
|
|
2782
|
+
"linear_add_comment",
|
|
2783
|
+
"linear_list_labels",
|
|
2784
|
+
"linear_search_issues"
|
|
2785
|
+
];
|
|
2786
|
+
});
|
|
2787
|
+
|
|
2788
|
+
// src/integrations/vercel.ts
|
|
2789
|
+
function vercelIntegration(config = {}) {
|
|
2790
|
+
const oauth = {
|
|
2791
|
+
provider: "vercel",
|
|
2792
|
+
clientId: config.clientId ?? getEnv("VERCEL_CLIENT_ID"),
|
|
2793
|
+
clientSecret: config.clientSecret ?? getEnv("VERCEL_CLIENT_SECRET"),
|
|
2794
|
+
scopes: config.scopes || [],
|
|
2795
|
+
redirectUri: config.redirectUri,
|
|
2796
|
+
config: {
|
|
2797
|
+
...config
|
|
2798
|
+
}
|
|
2799
|
+
};
|
|
2800
|
+
return {
|
|
2801
|
+
id: "vercel",
|
|
2802
|
+
tools: [...VERCEL_TOOLS],
|
|
2803
|
+
oauth,
|
|
2804
|
+
async onInit(_client) {
|
|
2805
|
+
console.log("Vercel integration initialized");
|
|
2806
|
+
},
|
|
2807
|
+
async onAfterConnect(_client) {
|
|
2808
|
+
console.log("Vercel integration connected");
|
|
2809
|
+
}
|
|
2810
|
+
};
|
|
2811
|
+
}
|
|
2812
|
+
var VERCEL_TOOLS;
|
|
2813
|
+
var init_vercel = __esm(() => {
|
|
2814
|
+
VERCEL_TOOLS = [
|
|
2815
|
+
"vercel_list_projects",
|
|
2816
|
+
"vercel_get_project",
|
|
2817
|
+
"vercel_list_deployments",
|
|
2818
|
+
"vercel_get_deployment",
|
|
2819
|
+
"vercel_create_deployment",
|
|
2820
|
+
"vercel_cancel_deployment",
|
|
2821
|
+
"vercel_list_domains",
|
|
2822
|
+
"vercel_list_env_vars",
|
|
2823
|
+
"vercel_get_deployment_logs"
|
|
2824
|
+
];
|
|
2825
|
+
});
|
|
2826
|
+
|
|
2827
|
+
// src/integrations/zendesk.ts
|
|
2828
|
+
function zendeskIntegration(config = {}) {
|
|
2829
|
+
const oauth = {
|
|
2830
|
+
provider: "zendesk",
|
|
2831
|
+
clientId: config.clientId ?? getEnv("ZENDESK_CLIENT_ID"),
|
|
2832
|
+
clientSecret: config.clientSecret ?? getEnv("ZENDESK_CLIENT_SECRET"),
|
|
2833
|
+
scopes: config.scopes || ["read", "write"],
|
|
2834
|
+
redirectUri: config.redirectUri,
|
|
2835
|
+
config: {
|
|
2836
|
+
subdomain: config.subdomain ?? getEnv("ZENDESK_SUBDOMAIN"),
|
|
2837
|
+
...config
|
|
2838
|
+
}
|
|
2839
|
+
};
|
|
2840
|
+
return {
|
|
2841
|
+
id: "zendesk",
|
|
2842
|
+
tools: [...ZENDESK_TOOLS],
|
|
2843
|
+
oauth,
|
|
2844
|
+
async onInit(_client) {
|
|
2845
|
+
console.log("Zendesk integration initialized");
|
|
2846
|
+
},
|
|
2847
|
+
async onAfterConnect(_client) {
|
|
2848
|
+
console.log("Zendesk integration connected");
|
|
2849
|
+
}
|
|
2850
|
+
};
|
|
2851
|
+
}
|
|
2852
|
+
var ZENDESK_TOOLS;
|
|
2853
|
+
var init_zendesk = __esm(() => {
|
|
2854
|
+
ZENDESK_TOOLS = [
|
|
2855
|
+
"zendesk_list_tickets",
|
|
2856
|
+
"zendesk_get_ticket",
|
|
2857
|
+
"zendesk_create_ticket",
|
|
2858
|
+
"zendesk_update_ticket",
|
|
2859
|
+
"zendesk_add_comment",
|
|
2860
|
+
"zendesk_list_users",
|
|
2861
|
+
"zendesk_get_user",
|
|
2862
|
+
"zendesk_search_tickets",
|
|
2863
|
+
"zendesk_list_organizations"
|
|
2864
|
+
];
|
|
2865
|
+
});
|
|
2866
|
+
|
|
2867
|
+
// src/integrations/stripe.ts
|
|
2868
|
+
function stripeIntegration(config = {}) {
|
|
2869
|
+
const oauth = {
|
|
2870
|
+
provider: "stripe",
|
|
2871
|
+
clientId: config.clientId ?? getEnv("STRIPE_CLIENT_ID"),
|
|
2872
|
+
clientSecret: config.clientSecret ?? getEnv("STRIPE_CLIENT_SECRET"),
|
|
2873
|
+
scopes: config.scopes || ["read_write"],
|
|
2874
|
+
redirectUri: config.redirectUri,
|
|
2875
|
+
config: {
|
|
2876
|
+
...config
|
|
2877
|
+
}
|
|
2878
|
+
};
|
|
2879
|
+
return {
|
|
2880
|
+
id: "stripe",
|
|
2881
|
+
tools: [...STRIPE_TOOLS],
|
|
2882
|
+
oauth,
|
|
2883
|
+
async onInit(_client) {
|
|
2884
|
+
console.log("Stripe integration initialized");
|
|
2885
|
+
},
|
|
2886
|
+
async onAfterConnect(_client) {
|
|
2887
|
+
console.log("Stripe integration connected");
|
|
2888
|
+
}
|
|
2889
|
+
};
|
|
2890
|
+
}
|
|
2891
|
+
var STRIPE_TOOLS;
|
|
2892
|
+
var init_stripe = __esm(() => {
|
|
2893
|
+
STRIPE_TOOLS = [
|
|
2894
|
+
"stripe_list_customers",
|
|
2895
|
+
"stripe_get_customer",
|
|
2896
|
+
"stripe_create_customer",
|
|
2897
|
+
"stripe_list_payments",
|
|
2898
|
+
"stripe_get_payment",
|
|
2899
|
+
"stripe_create_payment",
|
|
2900
|
+
"stripe_list_invoices",
|
|
2901
|
+
"stripe_list_subscriptions",
|
|
2902
|
+
"stripe_create_subscription"
|
|
2903
|
+
];
|
|
2904
|
+
});
|
|
2905
|
+
|
|
2906
|
+
// src/integrations/gcal.ts
|
|
2907
|
+
function gcalIntegration(config = {}) {
|
|
2908
|
+
const oauth = {
|
|
2909
|
+
provider: "gcal",
|
|
2910
|
+
clientId: config.clientId ?? getEnv("GCAL_CLIENT_ID"),
|
|
2911
|
+
clientSecret: config.clientSecret ?? getEnv("GCAL_CLIENT_SECRET"),
|
|
2912
|
+
scopes: config.scopes || ["https://www.googleapis.com/auth/calendar"],
|
|
2913
|
+
redirectUri: config.redirectUri,
|
|
2914
|
+
config: {
|
|
2915
|
+
...config
|
|
2916
|
+
}
|
|
2917
|
+
};
|
|
2918
|
+
return {
|
|
2919
|
+
id: "gcal",
|
|
2920
|
+
tools: [...GCAL_TOOLS],
|
|
2921
|
+
oauth,
|
|
2922
|
+
async onInit(_client) {
|
|
2923
|
+
console.log("Google Calendar integration initialized");
|
|
2924
|
+
},
|
|
2925
|
+
async onAfterConnect(_client) {
|
|
2926
|
+
console.log("Google Calendar integration connected");
|
|
2927
|
+
}
|
|
2928
|
+
};
|
|
2929
|
+
}
|
|
2930
|
+
var GCAL_TOOLS;
|
|
2931
|
+
var init_gcal = __esm(() => {
|
|
2932
|
+
GCAL_TOOLS = [
|
|
2933
|
+
"gcal_list_calendars",
|
|
2934
|
+
"gcal_get_calendar",
|
|
2935
|
+
"gcal_list_events",
|
|
2936
|
+
"gcal_get_event",
|
|
2937
|
+
"gcal_create_event",
|
|
2938
|
+
"gcal_update_event",
|
|
2939
|
+
"gcal_delete_event",
|
|
2940
|
+
"gcal_list_attendees",
|
|
2941
|
+
"gcal_quick_add"
|
|
2942
|
+
];
|
|
2943
|
+
});
|
|
2944
|
+
|
|
2945
|
+
// src/integrations/outlook.ts
|
|
2946
|
+
function outlookIntegration(config = {}) {
|
|
2947
|
+
const oauth = {
|
|
2948
|
+
provider: "outlook",
|
|
2949
|
+
clientId: config.clientId ?? getEnv("OUTLOOK_CLIENT_ID"),
|
|
2950
|
+
clientSecret: config.clientSecret ?? getEnv("OUTLOOK_CLIENT_SECRET"),
|
|
2951
|
+
scopes: config.scopes || ["Mail.Read", "Mail.Send", "Calendars.ReadWrite", "Contacts.Read"],
|
|
2952
|
+
redirectUri: config.redirectUri,
|
|
2953
|
+
config: {
|
|
2954
|
+
...config
|
|
2955
|
+
}
|
|
2956
|
+
};
|
|
2957
|
+
return {
|
|
2958
|
+
id: "outlook",
|
|
2959
|
+
tools: [...OUTLOOK_TOOLS],
|
|
2960
|
+
oauth,
|
|
2961
|
+
async onInit(_client) {
|
|
2962
|
+
console.log("Outlook integration initialized");
|
|
2963
|
+
},
|
|
2964
|
+
async onAfterConnect(_client) {
|
|
2965
|
+
console.log("Outlook integration connected");
|
|
2966
|
+
}
|
|
2967
|
+
};
|
|
2968
|
+
}
|
|
2969
|
+
var OUTLOOK_TOOLS;
|
|
2970
|
+
var init_outlook = __esm(() => {
|
|
2971
|
+
OUTLOOK_TOOLS = [
|
|
2972
|
+
"outlook_list_messages",
|
|
2973
|
+
"outlook_get_message",
|
|
2974
|
+
"outlook_send_message",
|
|
2975
|
+
"outlook_list_events",
|
|
2976
|
+
"outlook_get_event",
|
|
2977
|
+
"outlook_create_event",
|
|
2978
|
+
"outlook_list_contacts",
|
|
2979
|
+
"outlook_get_contact",
|
|
2980
|
+
"outlook_search"
|
|
2981
|
+
];
|
|
2982
|
+
});
|
|
2983
|
+
|
|
2984
|
+
// src/integrations/airtable.ts
|
|
2985
|
+
function airtableIntegration(config = {}) {
|
|
2986
|
+
const oauth = {
|
|
2987
|
+
provider: "airtable",
|
|
2988
|
+
clientId: config.clientId ?? getEnv("AIRTABLE_CLIENT_ID"),
|
|
2989
|
+
clientSecret: config.clientSecret ?? getEnv("AIRTABLE_CLIENT_SECRET"),
|
|
2990
|
+
scopes: config.scopes || ["data.records:read", "data.records:write", "schema.bases:read"],
|
|
2991
|
+
redirectUri: config.redirectUri,
|
|
2992
|
+
config: {
|
|
2993
|
+
...config
|
|
2994
|
+
}
|
|
2995
|
+
};
|
|
2996
|
+
return {
|
|
2997
|
+
id: "airtable",
|
|
2998
|
+
tools: [...AIRTABLE_TOOLS],
|
|
2999
|
+
oauth,
|
|
3000
|
+
async onInit(_client) {
|
|
3001
|
+
console.log("Airtable integration initialized");
|
|
3002
|
+
},
|
|
3003
|
+
async onAfterConnect(_client) {
|
|
3004
|
+
console.log("Airtable integration connected");
|
|
3005
|
+
}
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
var AIRTABLE_TOOLS;
|
|
3009
|
+
var init_airtable = __esm(() => {
|
|
3010
|
+
AIRTABLE_TOOLS = [
|
|
3011
|
+
"airtable_list_bases",
|
|
3012
|
+
"airtable_get_base",
|
|
3013
|
+
"airtable_list_tables",
|
|
3014
|
+
"airtable_get_table",
|
|
3015
|
+
"airtable_list_records",
|
|
3016
|
+
"airtable_get_record",
|
|
3017
|
+
"airtable_create_record",
|
|
3018
|
+
"airtable_update_record",
|
|
3019
|
+
"airtable_search_records"
|
|
3020
|
+
];
|
|
3021
|
+
});
|
|
3022
|
+
|
|
3023
|
+
// src/integrations/todoist.ts
|
|
3024
|
+
function todoistIntegration(config = {}) {
|
|
3025
|
+
const oauth = {
|
|
3026
|
+
provider: "todoist",
|
|
3027
|
+
clientId: config.clientId ?? getEnv("TODOIST_CLIENT_ID"),
|
|
3028
|
+
clientSecret: config.clientSecret ?? getEnv("TODOIST_CLIENT_SECRET"),
|
|
3029
|
+
scopes: config.scopes || ["data:read_write"],
|
|
3030
|
+
redirectUri: config.redirectUri,
|
|
3031
|
+
config: {
|
|
3032
|
+
...config
|
|
3033
|
+
}
|
|
3034
|
+
};
|
|
3035
|
+
return {
|
|
3036
|
+
id: "todoist",
|
|
3037
|
+
tools: [...TODOIST_TOOLS],
|
|
3038
|
+
oauth,
|
|
3039
|
+
async onInit(_client) {
|
|
3040
|
+
console.log("Todoist integration initialized");
|
|
3041
|
+
},
|
|
3042
|
+
async onAfterConnect(_client) {
|
|
3043
|
+
console.log("Todoist integration connected");
|
|
3044
|
+
}
|
|
3045
|
+
};
|
|
3046
|
+
}
|
|
3047
|
+
var TODOIST_TOOLS;
|
|
3048
|
+
var init_todoist = __esm(() => {
|
|
3049
|
+
TODOIST_TOOLS = [
|
|
3050
|
+
"todoist_list_projects",
|
|
3051
|
+
"todoist_get_project",
|
|
3052
|
+
"todoist_create_project",
|
|
3053
|
+
"todoist_list_tasks",
|
|
3054
|
+
"todoist_get_task",
|
|
3055
|
+
"todoist_create_task",
|
|
3056
|
+
"todoist_complete_task",
|
|
3057
|
+
"todoist_list_labels",
|
|
3058
|
+
"todoist_create_label"
|
|
3059
|
+
];
|
|
3060
|
+
});
|
|
3061
|
+
|
|
2683
3062
|
// src/integrations/generic.ts
|
|
2684
3063
|
function genericOAuthIntegration(config) {
|
|
2685
3064
|
const providerUpper = config.provider.toUpperCase().replace(/[^A-Z0-9]/g, "_");
|
|
@@ -7177,11 +7556,18 @@ var init_ai = __esm(() => {
|
|
|
7177
7556
|
// src/server.ts
|
|
7178
7557
|
var exports_server = {};
|
|
7179
7558
|
__export(exports_server, {
|
|
7559
|
+
zendeskIntegration: () => zendeskIntegration,
|
|
7560
|
+
vercelIntegration: () => vercelIntegration,
|
|
7561
|
+
todoistIntegration: () => todoistIntegration,
|
|
7180
7562
|
toSvelteKitHandler: () => toSvelteKitHandler,
|
|
7181
7563
|
toSolidStartHandler: () => toSolidStartHandler,
|
|
7182
7564
|
toNextJsHandler: () => toNextJsHandler,
|
|
7565
|
+
stripeIntegration: () => stripeIntegration,
|
|
7183
7566
|
storeCodeVerifier: () => storeCodeVerifier,
|
|
7567
|
+
slackIntegration: () => slackIntegration,
|
|
7568
|
+
outlookIntegration: () => outlookIntegration,
|
|
7184
7569
|
notionIntegration: () => notionIntegration,
|
|
7570
|
+
linearIntegration: () => linearIntegration,
|
|
7185
7571
|
handleOpenAIResponse: () => handleOpenAIResponse,
|
|
7186
7572
|
handleAnthropicMessage: () => handleAnthropicMessage,
|
|
7187
7573
|
gmailIntegration: () => gmailIntegration,
|
|
@@ -7192,9 +7578,11 @@ __export(exports_server, {
|
|
|
7192
7578
|
getCodeVerifier: () => getCodeVerifier,
|
|
7193
7579
|
getAnthropicTools: () => getAnthropicTools,
|
|
7194
7580
|
genericOAuthIntegration: () => genericOAuthIntegration,
|
|
7581
|
+
gcalIntegration: () => gcalIntegration,
|
|
7195
7582
|
executeGoogleFunctionCalls: () => executeGoogleFunctionCalls,
|
|
7196
7583
|
createSimpleIntegration: () => createSimpleIntegration,
|
|
7197
7584
|
createMCPServer: () => createMCPServer,
|
|
7585
|
+
airtableIntegration: () => airtableIntegration,
|
|
7198
7586
|
POST: () => POST,
|
|
7199
7587
|
GET: () => GET
|
|
7200
7588
|
});
|
|
@@ -7712,6 +8100,15 @@ var init_server = __esm(() => {
|
|
|
7712
8100
|
init_github();
|
|
7713
8101
|
init_gmail();
|
|
7714
8102
|
init_notion();
|
|
8103
|
+
init_slack();
|
|
8104
|
+
init_linear();
|
|
8105
|
+
init_vercel();
|
|
8106
|
+
init_zendesk();
|
|
8107
|
+
init_stripe();
|
|
8108
|
+
init_gcal();
|
|
8109
|
+
init_outlook();
|
|
8110
|
+
init_airtable();
|
|
8111
|
+
init_todoist();
|
|
7715
8112
|
init_generic();
|
|
7716
8113
|
init_vercel_ai();
|
|
7717
8114
|
init_openai();
|
|
@@ -8360,6 +8757,15 @@ init_errors();
|
|
|
8360
8757
|
init_github();
|
|
8361
8758
|
init_gmail();
|
|
8362
8759
|
init_notion();
|
|
8760
|
+
init_slack();
|
|
8761
|
+
init_linear();
|
|
8762
|
+
init_vercel();
|
|
8763
|
+
init_zendesk();
|
|
8764
|
+
init_stripe();
|
|
8765
|
+
init_gcal();
|
|
8766
|
+
init_outlook();
|
|
8767
|
+
init_airtable();
|
|
8768
|
+
init_todoist();
|
|
8363
8769
|
init_generic();
|
|
8364
8770
|
init_messages();
|
|
8365
8771
|
init_http_session();
|
|
@@ -8369,23 +8775,48 @@ init_client();
|
|
|
8369
8775
|
init_github();
|
|
8370
8776
|
init_gmail();
|
|
8371
8777
|
init_notion();
|
|
8778
|
+
init_slack();
|
|
8779
|
+
init_linear();
|
|
8780
|
+
init_vercel();
|
|
8781
|
+
init_zendesk();
|
|
8782
|
+
init_stripe();
|
|
8783
|
+
init_gcal();
|
|
8784
|
+
init_outlook();
|
|
8785
|
+
init_airtable();
|
|
8786
|
+
init_todoist();
|
|
8372
8787
|
var client = createMCPClient({
|
|
8373
8788
|
integrations: [
|
|
8374
8789
|
githubIntegration(),
|
|
8375
8790
|
gmailIntegration(),
|
|
8376
|
-
notionIntegration()
|
|
8791
|
+
notionIntegration(),
|
|
8792
|
+
slackIntegration(),
|
|
8793
|
+
linearIntegration(),
|
|
8794
|
+
vercelIntegration(),
|
|
8795
|
+
zendeskIntegration(),
|
|
8796
|
+
stripeIntegration(),
|
|
8797
|
+
gcalIntegration(),
|
|
8798
|
+
outlookIntegration(),
|
|
8799
|
+
airtableIntegration(),
|
|
8800
|
+
todoistIntegration()
|
|
8377
8801
|
]
|
|
8378
8802
|
});
|
|
8379
8803
|
export {
|
|
8804
|
+
zendeskIntegration,
|
|
8805
|
+
vercelIntegration,
|
|
8806
|
+
todoistIntegration,
|
|
8380
8807
|
toWebRequest,
|
|
8381
8808
|
toTanStackStartHandler,
|
|
8382
8809
|
toSvelteKitHandler,
|
|
8383
8810
|
toSolidStartHandler,
|
|
8384
8811
|
svelteKitHandler,
|
|
8812
|
+
stripeIntegration,
|
|
8813
|
+
slackIntegration,
|
|
8385
8814
|
sendCallbackToOpener,
|
|
8386
8815
|
parseState,
|
|
8387
8816
|
parseServerError,
|
|
8817
|
+
outlookIntegration,
|
|
8388
8818
|
notionIntegration,
|
|
8819
|
+
linearIntegration,
|
|
8389
8820
|
isTokenExpiredError,
|
|
8390
8821
|
isAuthorizationError,
|
|
8391
8822
|
isAuthError,
|
|
@@ -8396,6 +8827,7 @@ export {
|
|
|
8396
8827
|
generateState,
|
|
8397
8828
|
generateCodeVerifier,
|
|
8398
8829
|
generateCodeChallenge,
|
|
8830
|
+
gcalIntegration,
|
|
8399
8831
|
fromNodeHeaders,
|
|
8400
8832
|
createTanStackOAuthHandler,
|
|
8401
8833
|
createSimpleIntegration,
|
|
@@ -8404,6 +8836,7 @@ export {
|
|
|
8404
8836
|
createMCPClient,
|
|
8405
8837
|
client,
|
|
8406
8838
|
clearClientCache,
|
|
8839
|
+
airtableIntegration,
|
|
8407
8840
|
ToolCallError,
|
|
8408
8841
|
TokenExpiredError,
|
|
8409
8842
|
OAuthWindowManager,
|