integrate-sdk 0.8.28-dev.3 → 0.8.29-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.
Files changed (35) hide show
  1. package/dist/adapters/auto-routes.js +177 -0
  2. package/dist/adapters/index.js +177 -0
  3. package/dist/adapters/nextjs.js +177 -0
  4. package/dist/adapters/node.js +177 -0
  5. package/dist/adapters/svelte-kit.js +177 -0
  6. package/dist/adapters/tanstack-start.js +177 -0
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +194 -1
  10. package/dist/oauth.js +177 -0
  11. package/dist/server.js +181 -0
  12. package/dist/src/client.d.ts +5 -1
  13. package/dist/src/client.d.ts.map +1 -1
  14. package/dist/src/index.d.ts +8 -0
  15. package/dist/src/index.d.ts.map +1 -1
  16. package/dist/src/integrations/linear-client.d.ts +309 -0
  17. package/dist/src/integrations/linear-client.d.ts.map +1 -0
  18. package/dist/src/integrations/linear.d.ts +37 -0
  19. package/dist/src/integrations/linear.d.ts.map +1 -0
  20. package/dist/src/integrations/slack-client.d.ts +271 -0
  21. package/dist/src/integrations/slack-client.d.ts.map +1 -0
  22. package/dist/src/integrations/slack.d.ts +37 -0
  23. package/dist/src/integrations/slack.d.ts.map +1 -0
  24. package/dist/src/integrations/vercel-client.d.ts +278 -0
  25. package/dist/src/integrations/vercel-client.d.ts.map +1 -0
  26. package/dist/src/integrations/vercel.d.ts +37 -0
  27. package/dist/src/integrations/vercel.d.ts.map +1 -0
  28. package/dist/src/integrations/zendesk-client.d.ts +395 -0
  29. package/dist/src/integrations/zendesk-client.d.ts.map +1 -0
  30. package/dist/src/integrations/zendesk.d.ts +39 -0
  31. package/dist/src/integrations/zendesk.d.ts.map +1 -0
  32. package/dist/src/server.d.ts +4 -0
  33. package/dist/src/server.d.ts.map +1 -1
  34. package/index.ts +8 -0
  35. package/package.json +1 -1
@@ -1626,6 +1626,18 @@ class MCPClientBase {
1626
1626
  if (integrationIds.includes("notion")) {
1627
1627
  this.notion = this.createIntegrationProxy("notion");
1628
1628
  }
1629
+ if (integrationIds.includes("slack")) {
1630
+ this.slack = this.createIntegrationProxy("slack");
1631
+ }
1632
+ if (integrationIds.includes("linear")) {
1633
+ this.linear = this.createIntegrationProxy("linear");
1634
+ }
1635
+ if (integrationIds.includes("vercel")) {
1636
+ this.vercel = this.createIntegrationProxy("vercel");
1637
+ }
1638
+ if (integrationIds.includes("zendesk")) {
1639
+ this.zendesk = this.createIntegrationProxy("zendesk");
1640
+ }
1629
1641
  this.server = this.createServerProxy();
1630
1642
  this.initializeIntegrations();
1631
1643
  }
@@ -2300,6 +2312,163 @@ var init_notion = __esm(() => {
2300
2312
  ];
2301
2313
  });
2302
2314
 
2315
+ // ../integrations/slack.ts
2316
+ function slackIntegration(config = {}) {
2317
+ const oauth = {
2318
+ provider: "slack",
2319
+ clientId: config.clientId ?? getEnv("SLACK_CLIENT_ID"),
2320
+ clientSecret: config.clientSecret ?? getEnv("SLACK_CLIENT_SECRET"),
2321
+ scopes: config.scopes || ["chat:write", "channels:read", "users:read", "search:read", "files:write"],
2322
+ redirectUri: config.redirectUri,
2323
+ config: {
2324
+ ...config
2325
+ }
2326
+ };
2327
+ return {
2328
+ id: "slack",
2329
+ tools: [...SLACK_TOOLS],
2330
+ oauth,
2331
+ async onInit(_client) {
2332
+ console.log("Slack integration initialized");
2333
+ },
2334
+ async onAfterConnect(_client) {
2335
+ console.log("Slack integration connected");
2336
+ }
2337
+ };
2338
+ }
2339
+ var SLACK_TOOLS;
2340
+ var init_slack = __esm(() => {
2341
+ SLACK_TOOLS = [
2342
+ "slack_send_message",
2343
+ "slack_list_channels",
2344
+ "slack_get_channel",
2345
+ "slack_list_users",
2346
+ "slack_get_user",
2347
+ "slack_list_messages",
2348
+ "slack_add_reaction",
2349
+ "slack_search_messages",
2350
+ "slack_upload_file"
2351
+ ];
2352
+ });
2353
+
2354
+ // ../integrations/linear.ts
2355
+ function linearIntegration(config = {}) {
2356
+ const oauth = {
2357
+ provider: "linear",
2358
+ clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
2359
+ clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
2360
+ scopes: config.scopes || ["read", "write", "issues:create"],
2361
+ redirectUri: config.redirectUri,
2362
+ config: {
2363
+ ...config
2364
+ }
2365
+ };
2366
+ return {
2367
+ id: "linear",
2368
+ tools: [...LINEAR_TOOLS],
2369
+ oauth,
2370
+ async onInit(_client) {
2371
+ console.log("Linear integration initialized");
2372
+ },
2373
+ async onAfterConnect(_client) {
2374
+ console.log("Linear integration connected");
2375
+ }
2376
+ };
2377
+ }
2378
+ var LINEAR_TOOLS;
2379
+ var init_linear = __esm(() => {
2380
+ LINEAR_TOOLS = [
2381
+ "linear_create_issue",
2382
+ "linear_list_issues",
2383
+ "linear_get_issue",
2384
+ "linear_update_issue",
2385
+ "linear_list_projects",
2386
+ "linear_list_teams",
2387
+ "linear_add_comment",
2388
+ "linear_list_labels",
2389
+ "linear_search_issues"
2390
+ ];
2391
+ });
2392
+
2393
+ // ../integrations/vercel.ts
2394
+ function vercelIntegration(config = {}) {
2395
+ const oauth = {
2396
+ provider: "vercel",
2397
+ clientId: config.clientId ?? getEnv("VERCEL_CLIENT_ID"),
2398
+ clientSecret: config.clientSecret ?? getEnv("VERCEL_CLIENT_SECRET"),
2399
+ scopes: config.scopes || [],
2400
+ redirectUri: config.redirectUri,
2401
+ config: {
2402
+ ...config
2403
+ }
2404
+ };
2405
+ return {
2406
+ id: "vercel",
2407
+ tools: [...VERCEL_TOOLS],
2408
+ oauth,
2409
+ async onInit(_client) {
2410
+ console.log("Vercel integration initialized");
2411
+ },
2412
+ async onAfterConnect(_client) {
2413
+ console.log("Vercel integration connected");
2414
+ }
2415
+ };
2416
+ }
2417
+ var VERCEL_TOOLS;
2418
+ var init_vercel = __esm(() => {
2419
+ VERCEL_TOOLS = [
2420
+ "vercel_list_projects",
2421
+ "vercel_get_project",
2422
+ "vercel_list_deployments",
2423
+ "vercel_get_deployment",
2424
+ "vercel_create_deployment",
2425
+ "vercel_cancel_deployment",
2426
+ "vercel_list_domains",
2427
+ "vercel_list_env_vars",
2428
+ "vercel_get_deployment_logs"
2429
+ ];
2430
+ });
2431
+
2432
+ // ../integrations/zendesk.ts
2433
+ function zendeskIntegration(config = {}) {
2434
+ const oauth = {
2435
+ provider: "zendesk",
2436
+ clientId: config.clientId ?? getEnv("ZENDESK_CLIENT_ID"),
2437
+ clientSecret: config.clientSecret ?? getEnv("ZENDESK_CLIENT_SECRET"),
2438
+ scopes: config.scopes || ["read", "write"],
2439
+ redirectUri: config.redirectUri,
2440
+ config: {
2441
+ subdomain: config.subdomain ?? getEnv("ZENDESK_SUBDOMAIN"),
2442
+ ...config
2443
+ }
2444
+ };
2445
+ return {
2446
+ id: "zendesk",
2447
+ tools: [...ZENDESK_TOOLS],
2448
+ oauth,
2449
+ async onInit(_client) {
2450
+ console.log("Zendesk integration initialized");
2451
+ },
2452
+ async onAfterConnect(_client) {
2453
+ console.log("Zendesk integration connected");
2454
+ }
2455
+ };
2456
+ }
2457
+ var ZENDESK_TOOLS;
2458
+ var init_zendesk = __esm(() => {
2459
+ ZENDESK_TOOLS = [
2460
+ "zendesk_list_tickets",
2461
+ "zendesk_get_ticket",
2462
+ "zendesk_create_ticket",
2463
+ "zendesk_update_ticket",
2464
+ "zendesk_add_comment",
2465
+ "zendesk_list_users",
2466
+ "zendesk_get_user",
2467
+ "zendesk_search_tickets",
2468
+ "zendesk_list_organizations"
2469
+ ];
2470
+ });
2471
+
2303
2472
  // ../integrations/generic.ts
2304
2473
  function genericOAuthIntegration(config) {
2305
2474
  const providerUpper = config.provider.toUpperCase().replace(/[^A-Z0-9]/g, "_");
@@ -6797,11 +6966,15 @@ var init_ai = __esm(() => {
6797
6966
  // ../server.ts
6798
6967
  var exports_server = {};
6799
6968
  __export(exports_server, {
6969
+ zendeskIntegration: () => zendeskIntegration,
6970
+ vercelIntegration: () => vercelIntegration,
6800
6971
  toSvelteKitHandler: () => toSvelteKitHandler,
6801
6972
  toSolidStartHandler: () => toSolidStartHandler,
6802
6973
  toNextJsHandler: () => toNextJsHandler,
6803
6974
  storeCodeVerifier: () => storeCodeVerifier,
6975
+ slackIntegration: () => slackIntegration,
6804
6976
  notionIntegration: () => notionIntegration,
6977
+ linearIntegration: () => linearIntegration,
6805
6978
  handleOpenAIResponse: () => handleOpenAIResponse,
6806
6979
  handleAnthropicMessage: () => handleAnthropicMessage,
6807
6980
  gmailIntegration: () => gmailIntegration,
@@ -7332,6 +7505,10 @@ var init_server = __esm(() => {
7332
7505
  init_github();
7333
7506
  init_gmail();
7334
7507
  init_notion();
7508
+ init_slack();
7509
+ init_linear();
7510
+ init_vercel();
7511
+ init_zendesk();
7335
7512
  init_generic();
7336
7513
  init_vercel_ai();
7337
7514
  init_openai();
@@ -1626,6 +1626,18 @@ class MCPClientBase {
1626
1626
  if (integrationIds.includes("notion")) {
1627
1627
  this.notion = this.createIntegrationProxy("notion");
1628
1628
  }
1629
+ if (integrationIds.includes("slack")) {
1630
+ this.slack = this.createIntegrationProxy("slack");
1631
+ }
1632
+ if (integrationIds.includes("linear")) {
1633
+ this.linear = this.createIntegrationProxy("linear");
1634
+ }
1635
+ if (integrationIds.includes("vercel")) {
1636
+ this.vercel = this.createIntegrationProxy("vercel");
1637
+ }
1638
+ if (integrationIds.includes("zendesk")) {
1639
+ this.zendesk = this.createIntegrationProxy("zendesk");
1640
+ }
1629
1641
  this.server = this.createServerProxy();
1630
1642
  this.initializeIntegrations();
1631
1643
  }
@@ -2300,6 +2312,163 @@ var init_notion = __esm(() => {
2300
2312
  ];
2301
2313
  });
2302
2314
 
2315
+ // ../integrations/slack.ts
2316
+ function slackIntegration(config = {}) {
2317
+ const oauth = {
2318
+ provider: "slack",
2319
+ clientId: config.clientId ?? getEnv("SLACK_CLIENT_ID"),
2320
+ clientSecret: config.clientSecret ?? getEnv("SLACK_CLIENT_SECRET"),
2321
+ scopes: config.scopes || ["chat:write", "channels:read", "users:read", "search:read", "files:write"],
2322
+ redirectUri: config.redirectUri,
2323
+ config: {
2324
+ ...config
2325
+ }
2326
+ };
2327
+ return {
2328
+ id: "slack",
2329
+ tools: [...SLACK_TOOLS],
2330
+ oauth,
2331
+ async onInit(_client) {
2332
+ console.log("Slack integration initialized");
2333
+ },
2334
+ async onAfterConnect(_client) {
2335
+ console.log("Slack integration connected");
2336
+ }
2337
+ };
2338
+ }
2339
+ var SLACK_TOOLS;
2340
+ var init_slack = __esm(() => {
2341
+ SLACK_TOOLS = [
2342
+ "slack_send_message",
2343
+ "slack_list_channels",
2344
+ "slack_get_channel",
2345
+ "slack_list_users",
2346
+ "slack_get_user",
2347
+ "slack_list_messages",
2348
+ "slack_add_reaction",
2349
+ "slack_search_messages",
2350
+ "slack_upload_file"
2351
+ ];
2352
+ });
2353
+
2354
+ // ../integrations/linear.ts
2355
+ function linearIntegration(config = {}) {
2356
+ const oauth = {
2357
+ provider: "linear",
2358
+ clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
2359
+ clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
2360
+ scopes: config.scopes || ["read", "write", "issues:create"],
2361
+ redirectUri: config.redirectUri,
2362
+ config: {
2363
+ ...config
2364
+ }
2365
+ };
2366
+ return {
2367
+ id: "linear",
2368
+ tools: [...LINEAR_TOOLS],
2369
+ oauth,
2370
+ async onInit(_client) {
2371
+ console.log("Linear integration initialized");
2372
+ },
2373
+ async onAfterConnect(_client) {
2374
+ console.log("Linear integration connected");
2375
+ }
2376
+ };
2377
+ }
2378
+ var LINEAR_TOOLS;
2379
+ var init_linear = __esm(() => {
2380
+ LINEAR_TOOLS = [
2381
+ "linear_create_issue",
2382
+ "linear_list_issues",
2383
+ "linear_get_issue",
2384
+ "linear_update_issue",
2385
+ "linear_list_projects",
2386
+ "linear_list_teams",
2387
+ "linear_add_comment",
2388
+ "linear_list_labels",
2389
+ "linear_search_issues"
2390
+ ];
2391
+ });
2392
+
2393
+ // ../integrations/vercel.ts
2394
+ function vercelIntegration(config = {}) {
2395
+ const oauth = {
2396
+ provider: "vercel",
2397
+ clientId: config.clientId ?? getEnv("VERCEL_CLIENT_ID"),
2398
+ clientSecret: config.clientSecret ?? getEnv("VERCEL_CLIENT_SECRET"),
2399
+ scopes: config.scopes || [],
2400
+ redirectUri: config.redirectUri,
2401
+ config: {
2402
+ ...config
2403
+ }
2404
+ };
2405
+ return {
2406
+ id: "vercel",
2407
+ tools: [...VERCEL_TOOLS],
2408
+ oauth,
2409
+ async onInit(_client) {
2410
+ console.log("Vercel integration initialized");
2411
+ },
2412
+ async onAfterConnect(_client) {
2413
+ console.log("Vercel integration connected");
2414
+ }
2415
+ };
2416
+ }
2417
+ var VERCEL_TOOLS;
2418
+ var init_vercel = __esm(() => {
2419
+ VERCEL_TOOLS = [
2420
+ "vercel_list_projects",
2421
+ "vercel_get_project",
2422
+ "vercel_list_deployments",
2423
+ "vercel_get_deployment",
2424
+ "vercel_create_deployment",
2425
+ "vercel_cancel_deployment",
2426
+ "vercel_list_domains",
2427
+ "vercel_list_env_vars",
2428
+ "vercel_get_deployment_logs"
2429
+ ];
2430
+ });
2431
+
2432
+ // ../integrations/zendesk.ts
2433
+ function zendeskIntegration(config = {}) {
2434
+ const oauth = {
2435
+ provider: "zendesk",
2436
+ clientId: config.clientId ?? getEnv("ZENDESK_CLIENT_ID"),
2437
+ clientSecret: config.clientSecret ?? getEnv("ZENDESK_CLIENT_SECRET"),
2438
+ scopes: config.scopes || ["read", "write"],
2439
+ redirectUri: config.redirectUri,
2440
+ config: {
2441
+ subdomain: config.subdomain ?? getEnv("ZENDESK_SUBDOMAIN"),
2442
+ ...config
2443
+ }
2444
+ };
2445
+ return {
2446
+ id: "zendesk",
2447
+ tools: [...ZENDESK_TOOLS],
2448
+ oauth,
2449
+ async onInit(_client) {
2450
+ console.log("Zendesk integration initialized");
2451
+ },
2452
+ async onAfterConnect(_client) {
2453
+ console.log("Zendesk integration connected");
2454
+ }
2455
+ };
2456
+ }
2457
+ var ZENDESK_TOOLS;
2458
+ var init_zendesk = __esm(() => {
2459
+ ZENDESK_TOOLS = [
2460
+ "zendesk_list_tickets",
2461
+ "zendesk_get_ticket",
2462
+ "zendesk_create_ticket",
2463
+ "zendesk_update_ticket",
2464
+ "zendesk_add_comment",
2465
+ "zendesk_list_users",
2466
+ "zendesk_get_user",
2467
+ "zendesk_search_tickets",
2468
+ "zendesk_list_organizations"
2469
+ ];
2470
+ });
2471
+
2303
2472
  // ../integrations/generic.ts
2304
2473
  function genericOAuthIntegration(config) {
2305
2474
  const providerUpper = config.provider.toUpperCase().replace(/[^A-Z0-9]/g, "_");
@@ -6797,11 +6966,15 @@ var init_ai = __esm(() => {
6797
6966
  // ../server.ts
6798
6967
  var exports_server = {};
6799
6968
  __export(exports_server, {
6969
+ zendeskIntegration: () => zendeskIntegration,
6970
+ vercelIntegration: () => vercelIntegration,
6800
6971
  toSvelteKitHandler: () => toSvelteKitHandler,
6801
6972
  toSolidStartHandler: () => toSolidStartHandler,
6802
6973
  toNextJsHandler: () => toNextJsHandler,
6803
6974
  storeCodeVerifier: () => storeCodeVerifier,
6975
+ slackIntegration: () => slackIntegration,
6804
6976
  notionIntegration: () => notionIntegration,
6977
+ linearIntegration: () => linearIntegration,
6805
6978
  handleOpenAIResponse: () => handleOpenAIResponse,
6806
6979
  handleAnthropicMessage: () => handleAnthropicMessage,
6807
6980
  gmailIntegration: () => gmailIntegration,
@@ -7332,6 +7505,10 @@ var init_server = __esm(() => {
7332
7505
  init_github();
7333
7506
  init_gmail();
7334
7507
  init_notion();
7508
+ init_slack();
7509
+ init_linear();
7510
+ init_vercel();
7511
+ init_zendesk();
7335
7512
  init_generic();
7336
7513
  init_vercel_ai();
7337
7514
  init_openai();
@@ -1626,6 +1626,18 @@ class MCPClientBase {
1626
1626
  if (integrationIds.includes("notion")) {
1627
1627
  this.notion = this.createIntegrationProxy("notion");
1628
1628
  }
1629
+ if (integrationIds.includes("slack")) {
1630
+ this.slack = this.createIntegrationProxy("slack");
1631
+ }
1632
+ if (integrationIds.includes("linear")) {
1633
+ this.linear = this.createIntegrationProxy("linear");
1634
+ }
1635
+ if (integrationIds.includes("vercel")) {
1636
+ this.vercel = this.createIntegrationProxy("vercel");
1637
+ }
1638
+ if (integrationIds.includes("zendesk")) {
1639
+ this.zendesk = this.createIntegrationProxy("zendesk");
1640
+ }
1629
1641
  this.server = this.createServerProxy();
1630
1642
  this.initializeIntegrations();
1631
1643
  }
@@ -2300,6 +2312,163 @@ var init_notion = __esm(() => {
2300
2312
  ];
2301
2313
  });
2302
2314
 
2315
+ // ../integrations/slack.ts
2316
+ function slackIntegration(config = {}) {
2317
+ const oauth = {
2318
+ provider: "slack",
2319
+ clientId: config.clientId ?? getEnv("SLACK_CLIENT_ID"),
2320
+ clientSecret: config.clientSecret ?? getEnv("SLACK_CLIENT_SECRET"),
2321
+ scopes: config.scopes || ["chat:write", "channels:read", "users:read", "search:read", "files:write"],
2322
+ redirectUri: config.redirectUri,
2323
+ config: {
2324
+ ...config
2325
+ }
2326
+ };
2327
+ return {
2328
+ id: "slack",
2329
+ tools: [...SLACK_TOOLS],
2330
+ oauth,
2331
+ async onInit(_client) {
2332
+ console.log("Slack integration initialized");
2333
+ },
2334
+ async onAfterConnect(_client) {
2335
+ console.log("Slack integration connected");
2336
+ }
2337
+ };
2338
+ }
2339
+ var SLACK_TOOLS;
2340
+ var init_slack = __esm(() => {
2341
+ SLACK_TOOLS = [
2342
+ "slack_send_message",
2343
+ "slack_list_channels",
2344
+ "slack_get_channel",
2345
+ "slack_list_users",
2346
+ "slack_get_user",
2347
+ "slack_list_messages",
2348
+ "slack_add_reaction",
2349
+ "slack_search_messages",
2350
+ "slack_upload_file"
2351
+ ];
2352
+ });
2353
+
2354
+ // ../integrations/linear.ts
2355
+ function linearIntegration(config = {}) {
2356
+ const oauth = {
2357
+ provider: "linear",
2358
+ clientId: config.clientId ?? getEnv("LINEAR_CLIENT_ID"),
2359
+ clientSecret: config.clientSecret ?? getEnv("LINEAR_CLIENT_SECRET"),
2360
+ scopes: config.scopes || ["read", "write", "issues:create"],
2361
+ redirectUri: config.redirectUri,
2362
+ config: {
2363
+ ...config
2364
+ }
2365
+ };
2366
+ return {
2367
+ id: "linear",
2368
+ tools: [...LINEAR_TOOLS],
2369
+ oauth,
2370
+ async onInit(_client) {
2371
+ console.log("Linear integration initialized");
2372
+ },
2373
+ async onAfterConnect(_client) {
2374
+ console.log("Linear integration connected");
2375
+ }
2376
+ };
2377
+ }
2378
+ var LINEAR_TOOLS;
2379
+ var init_linear = __esm(() => {
2380
+ LINEAR_TOOLS = [
2381
+ "linear_create_issue",
2382
+ "linear_list_issues",
2383
+ "linear_get_issue",
2384
+ "linear_update_issue",
2385
+ "linear_list_projects",
2386
+ "linear_list_teams",
2387
+ "linear_add_comment",
2388
+ "linear_list_labels",
2389
+ "linear_search_issues"
2390
+ ];
2391
+ });
2392
+
2393
+ // ../integrations/vercel.ts
2394
+ function vercelIntegration(config = {}) {
2395
+ const oauth = {
2396
+ provider: "vercel",
2397
+ clientId: config.clientId ?? getEnv("VERCEL_CLIENT_ID"),
2398
+ clientSecret: config.clientSecret ?? getEnv("VERCEL_CLIENT_SECRET"),
2399
+ scopes: config.scopes || [],
2400
+ redirectUri: config.redirectUri,
2401
+ config: {
2402
+ ...config
2403
+ }
2404
+ };
2405
+ return {
2406
+ id: "vercel",
2407
+ tools: [...VERCEL_TOOLS],
2408
+ oauth,
2409
+ async onInit(_client) {
2410
+ console.log("Vercel integration initialized");
2411
+ },
2412
+ async onAfterConnect(_client) {
2413
+ console.log("Vercel integration connected");
2414
+ }
2415
+ };
2416
+ }
2417
+ var VERCEL_TOOLS;
2418
+ var init_vercel = __esm(() => {
2419
+ VERCEL_TOOLS = [
2420
+ "vercel_list_projects",
2421
+ "vercel_get_project",
2422
+ "vercel_list_deployments",
2423
+ "vercel_get_deployment",
2424
+ "vercel_create_deployment",
2425
+ "vercel_cancel_deployment",
2426
+ "vercel_list_domains",
2427
+ "vercel_list_env_vars",
2428
+ "vercel_get_deployment_logs"
2429
+ ];
2430
+ });
2431
+
2432
+ // ../integrations/zendesk.ts
2433
+ function zendeskIntegration(config = {}) {
2434
+ const oauth = {
2435
+ provider: "zendesk",
2436
+ clientId: config.clientId ?? getEnv("ZENDESK_CLIENT_ID"),
2437
+ clientSecret: config.clientSecret ?? getEnv("ZENDESK_CLIENT_SECRET"),
2438
+ scopes: config.scopes || ["read", "write"],
2439
+ redirectUri: config.redirectUri,
2440
+ config: {
2441
+ subdomain: config.subdomain ?? getEnv("ZENDESK_SUBDOMAIN"),
2442
+ ...config
2443
+ }
2444
+ };
2445
+ return {
2446
+ id: "zendesk",
2447
+ tools: [...ZENDESK_TOOLS],
2448
+ oauth,
2449
+ async onInit(_client) {
2450
+ console.log("Zendesk integration initialized");
2451
+ },
2452
+ async onAfterConnect(_client) {
2453
+ console.log("Zendesk integration connected");
2454
+ }
2455
+ };
2456
+ }
2457
+ var ZENDESK_TOOLS;
2458
+ var init_zendesk = __esm(() => {
2459
+ ZENDESK_TOOLS = [
2460
+ "zendesk_list_tickets",
2461
+ "zendesk_get_ticket",
2462
+ "zendesk_create_ticket",
2463
+ "zendesk_update_ticket",
2464
+ "zendesk_add_comment",
2465
+ "zendesk_list_users",
2466
+ "zendesk_get_user",
2467
+ "zendesk_search_tickets",
2468
+ "zendesk_list_organizations"
2469
+ ];
2470
+ });
2471
+
2303
2472
  // ../integrations/generic.ts
2304
2473
  function genericOAuthIntegration(config) {
2305
2474
  const providerUpper = config.provider.toUpperCase().replace(/[^A-Z0-9]/g, "_");
@@ -6797,11 +6966,15 @@ var init_ai = __esm(() => {
6797
6966
  // ../server.ts
6798
6967
  var exports_server = {};
6799
6968
  __export(exports_server, {
6969
+ zendeskIntegration: () => zendeskIntegration,
6970
+ vercelIntegration: () => vercelIntegration,
6800
6971
  toSvelteKitHandler: () => toSvelteKitHandler,
6801
6972
  toSolidStartHandler: () => toSolidStartHandler,
6802
6973
  toNextJsHandler: () => toNextJsHandler,
6803
6974
  storeCodeVerifier: () => storeCodeVerifier,
6975
+ slackIntegration: () => slackIntegration,
6804
6976
  notionIntegration: () => notionIntegration,
6977
+ linearIntegration: () => linearIntegration,
6805
6978
  handleOpenAIResponse: () => handleOpenAIResponse,
6806
6979
  handleAnthropicMessage: () => handleAnthropicMessage,
6807
6980
  gmailIntegration: () => gmailIntegration,
@@ -7332,6 +7505,10 @@ var init_server = __esm(() => {
7332
7505
  init_github();
7333
7506
  init_gmail();
7334
7507
  init_notion();
7508
+ init_slack();
7509
+ init_linear();
7510
+ init_vercel();
7511
+ init_zendesk();
7335
7512
  init_generic();
7336
7513
  init_vercel_ai();
7337
7514
  init_openai();
package/dist/index.d.ts CHANGED
@@ -63,5 +63,5 @@ export * from './src/index.js';
63
63
  * });
64
64
  * ```
65
65
  */
66
- export declare const client: import("./index.js").MCPClient<(import("./index.js").MCPIntegration<"github"> | import("./index.js").MCPIntegration<"gmail"> | import("./index.js").MCPIntegration<"notion">)[]>;
66
+ export declare const client: import("./index.js").MCPClient<(import("./index.js").MCPIntegration<"github"> | import("./index.js").MCPIntegration<"gmail"> | import("./index.js").MCPIntegration<"notion"> | import("./index.js").MCPIntegration<"slack"> | import("./index.js").MCPIntegration<"linear"> | import("./index.js").MCPIntegration<"vercel"> | import("./index.js").MCPIntegration<"zendesk">)[]>;
67
67
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,cAAc,gBAAgB,CAAC;AAQ/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,MAAM,kLAMjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,cAAc,gBAAgB,CAAC;AAY/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,MAAM,kXAUjB,CAAC"}