Skip to content

docs: add Discord, Amplitude, Mixpanel, and Stripe connectors - #910

Merged
Pranesh-Raghu merged 3 commits into
mainfrom
docs/discord-connectors-jul28
Jul 28, 2026
Merged

docs: add Discord, Amplitude, Mixpanel, and Stripe connectors#910
Pranesh-Raghu merged 3 commits into
mainfrom
docs/discord-connectors-jul28

Conversation

@Pranesh-Raghu

@Pranesh-Raghu Pranesh-Raghu commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Split out of PR #891 into its own PR for a cleaner review. Includes:

Discord

  • Discord Bot (new, 205 tools) — distinct from discord, with a full Bot Token setup guide
  • Discord — synced 16 → 34 tools, plus documented the bot scope, Bot Permissions bitfield, and related fields

Amplitude

  • Amplitude Analytics (new, 58 tools) — HTTP Basic Auth, setup guide covers US/EU regions
  • Amplitude Experiment Management (new, 57 tools) — Bearer token, setup guide covers US/EU regions

Mixpanel

  • Mixpanel Analytics (new, 37 tools) — Service Account, US/EU/India regions
  • Mixpanel Ingestion (new, 25 tools) — Service Account, US/EU/India regions
  • Mixpanel Compliance (new, 5 tools) — GDPR/CCPA token, US/EU/India regions

Stripe

  • Stripe (new, 110 tools) — excludes stripe_zz_test_echo_probe_dahlia, a test-only tool flagged by CodeRabbit that forwards Stripe Bearer tokens to an external echo service

Test plan

  • pnpm format:check passes
  • pnpm build completes successfully
  • Preview: https://deploy-preview-{PR_NUMBER}--scalekit-starlight.netlify.app/agentkit/connectors/mixpanelanalytics/

Summary by CodeRabbit

  • New Features

    • Added support for Discord bot connections, including a complete quickstart and a substantially expanded bot-scoped tool catalog.
    • Expanded connector tool coverage for Amplitude Analytics and Amplitude Experiment Management, plus added comprehensive Mixpanel (Analytics, Ingestion, Compliance) and Stripe capabilities.
    • Broadened the Discord connector toolset for entitlements, lobbies, application commands, subscriptions, and lobby messaging.
  • Documentation

    • Added/updated setup guides for Discord bot authorization scopes and Discord connector capabilities.
    • Published new quickstarts for the Amplitude, Mixpanel, and Stripe connectors.

…t scope

- Discord Bot (new, 205 tools) with full Bot Token setup guide
- Discord: 16 -> 34 tools, plus documentation of the bot scope, Bot
  Permissions bitfield, guild_id, disable_guild_select, and
  integration_type fields with a permissions calculator screenshot
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The PR adds Amplitude, Discord, Mixpanel, and Stripe connector catalogs, provider metadata, setup guides, quickstarts, connector pages, and generated tool indexes. Discord user and bot capabilities are expanded alongside new analytics, ingestion, compliance, experimentation, and payment tool definitions.

Changes

Amplitude connector expansion

Layer / File(s) Summary
Amplitude tool registries and catalog index
src/data/agent-connectors/amplitude*.ts, src/data/agent-connectors/tools-index.json, public/data/agent-tools-index.json
Adds Amplitude Analytics and Experiment Management tools for taxonomy, DSAR, cohorts, experiments, flags, deployments, variants, holdouts, mutexes, and targeting.
Amplitude setup and quickstart documentation
src/components/templates/agent-connectors/_setup-amplitude*.mdx, src/content/docs/agentkit/connectors/amplitude*.mdx, src/components/templates/agent-connectors/index.ts
Documents regional credentials, connected accounts, API examples, quickstarts, capabilities, and tool lists.

Discord connector expansion

Layer / File(s) Summary
Discord user tool expansion
src/data/agent-connectors/discord.ts, public/data/agent-tools-index.json, src/data/agent-connectors/tools-index.json, src/content/docs/agentkit/connectors/discord.mdx
Adds entitlement, lobby, subscription, permission, channel, messaging, and role-connection tools, with updated pagination and invite guidance.
Discord bot tool catalog
src/data/agent-connectors/discordbot.ts, src/data/agent-connectors/catalog.ts, public/data/agent-tools-index.json, src/data/agent-connectors/tools-index.json
Adds extensive guild, channel, thread, lobby, webhook, moderation, search, and administration operations.
Discord bot setup and quickstart
src/components/templates/agent-connectors/*, src/content/docs/agentkit/connectors/discordbot.mdx
Documents bot creation, token setup, server invitation, connected accounts, SDK usage, quickstart calls, and bot-scope configuration.

Mixpanel connector expansion

Layer / File(s) Summary
Mixpanel tool registries and catalog index
src/data/agent-connectors/mixpanel*.ts, src/data/agent-connectors/tools-index.json, public/data/agent-tools-index.json
Adds analytics, warehouse import, ingestion, profile, identity, event, schema, and GDPR/CCPA compliance tools.
Mixpanel setup and quickstart documentation
src/components/templates/agent-connectors/_setup-mixpanel*.mdx, src/content/docs/agentkit/connectors/mixpanel*.mdx, src/components/templates/agent-connectors/index.ts
Documents regional authentication, connections, connected accounts, SDK/API examples, quickstarts, capabilities, and tool lists.

Stripe connector expansion

Layer / File(s) Summary
Stripe tool registry and catalog index
src/data/agent-connectors/stripe.ts, src/data/agent-connectors/tools-index.json, public/data/agent-tools-index.json, src/data/agent-connectors/catalog.ts
Adds declarative Stripe quote, payment, checkout, customer, invoice, subscription, tax, webhook, transfer, and lifecycle operation definitions.
Stripe setup and quickstart documentation
src/content/docs/agentkit/connectors/stripe.mdx
Adds Stripe connector metadata, SDK setup, credentials, first-call guidance, capabilities, and the rendered tool list.

Estimated code review effort: 5 (Critical) | ~120 minutes

Possibly related PRs

Suggested reviewers: ravibits

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change set by adding Discord, Amplitude, Mixpanel, and Stripe connectors.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/discord-connectors-jul28
  • 🛠️ fix frontmatter
  • 🛠️ fix internal links

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for scalekit-starlight ready!

Name Link
🔨 Latest commit d15794d
🔍 Latest deploy log https://app.netlify.com/projects/scalekit-starlight/deploys/6a6893758591f40008d49b84
😎 Deploy Preview https://deploy-preview-910--scalekit-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 70 (🟢 up 5 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@public/data/agent-tools-index.json`:
- Line 18234: Remove the unnecessary backslash escaping before backticks in the
Discord connector descriptions, including the entries corresponding to the
affected entitlement endpoints, then regenerate the derived tools index so
rendered descriptions contain plain backticks without literal backslashes.

In `@src/components/templates/agent-connectors/_setup-discord.mdx`:
- Line 68: Update the Bot Permissions guidance in the Discord setup
documentation to remove the misleading applications link or replace it with
Discord’s actual permissions reference. Preserve the instruction to generate the
bitfield from the application’s Bot page and retain the recommended default
value.

In `@src/data/agent-connectors/discord.ts`:
- Around line 424-425: Remove “threads” from the description for
discord_list_guild_channels and update the upstream metadata source accordingly,
then regenerate the connector file so the generated description reflects that
this endpoint returns guild channel objects only.

In `@src/data/agent-connectors/tools-index.json`:
- Line 18234: Remove the unnecessary backslash escaping before backticks in the
Discord entitlement descriptions defined in discord.ts, then regenerate the
agent tools indexes so the corresponding entries contain plain backticks without
literal backslashes. Verify all affected entries, including the additional
entitlement descriptions, are updated consistently.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e6962646-f076-47ae-8c92-4db1187bd8a5

📥 Commits

Reviewing files that changed from the base of the PR and between a361808 and 03b9f8f.

⛔ Files ignored due to path filters (2)
  • src/assets/docs/agent-connectors/discord/bot-permissions.png is excluded by !**/*.png
  • src/assets/docs/agent-connectors/discordbot/bot-tab.png is excluded by !**/*.png
📒 Files selected for processing (10)
  • public/data/agent-tools-index.json
  • src/components/templates/agent-connectors/_setup-discord.mdx
  • src/components/templates/agent-connectors/_setup-discordbot.mdx
  • src/components/templates/agent-connectors/index.ts
  • src/content/docs/agentkit/connectors/discord.mdx
  • src/content/docs/agentkit/connectors/discordbot.mdx
  • src/data/agent-connectors/catalog.ts
  • src/data/agent-connectors/discord.ts
  • src/data/agent-connectors/discordbot.ts
  • src/data/agent-connectors/tools-index.json

Comment thread public/data/agent-tools-index.json
Comment thread src/components/templates/agent-connectors/_setup-discord.mdx
Comment thread src/data/agent-connectors/discord.ts
Comment thread src/data/agent-connectors/tools-index.json
…nectors

- Amplitude Analytics — 58 tools, HTTP Basic Auth
- Amplitude Experiment Management — 57 tools, Bearer token

Both setup guides cover US and EU data residency regions.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/templates/agent-connectors/_setup-amplitudeanalytics.mdx`:
- Around line 57-104: The Amplitude credential examples need explicit
server-side-only security warnings. In
src/components/templates/agent-connectors/_setup-amplitudeanalytics.mdx lines
57-104, add a warning before each TypeScript and Python sample covering API Key
and Secret Key exposure, explaining that browser-side exposure lets attackers
reuse them and that the code must run server-side; in
src/components/templates/agent-connectors/_setup-amplitudeexperimentmanagement.mdx
lines 55-98, add equivalent warnings before each language sample for the
Management API key.
- Around line 57-79: The Amplitude connector snippets use upsertConnectedAccount
without initializing the client. Update both
src/components/templates/agent-connectors/_setup-amplitudeanalytics.mdx (lines
57-79) and
src/components/templates/agent-connectors/_setup-amplitudeexperimentmanagement.mdx
(lines 55-75) to include the standard Node.js scalekit and Python
scalekit_client setup, or explicitly label each example as a continuation
snippet.

In `@src/content/docs/agentkit/connectors/amplitudeexperimentmanagement.mdx`:
- Line 6: Shorten the connector’s upstream metadata label from “Amplitude
Experiment Management” to 30 characters or fewer, then re-sync/regenerate the
page so the generated sidebar label reflects the upstream change. Do not
manually patch the generated MDX output.

In `@src/data/agent-connectors/amplitudeexperimentmanagement.ts`:
- Around line 1046-1055: Update the upstream catalog metadata for
amplitudeexperimentmanagement_remove_flag_variant_user so its description
references amplitudeexperimentmanagement_get_flag_variant_users as the available
way to obtain the variant inclusion list, removing the claim that this endpoint
is outside the tool set. Then re-sync the generated connector file while
preserving the tool’s actual behavior and parameter semantics.

In `@src/data/agent-connectors/catalog.ts`:
- Around line 1643-1651: Add a discordbot entry to the connector catalog
alongside the provider metadata, using the authoritative Discord bot icon URL,
bot-specific authentication type, and appropriate category so consumers do not
fall back to defaults.

In `@src/data/agent-connectors/tools-index.json`:
- Around line 3333-3336: Remove the unnecessary backslashes before backticks in
the template-literal descriptions within amplitudeexperimentmanagement.ts,
including the holdout-group and update-flag-variant entries, so generated text
contains plain backticks. Regenerate tools-index.json and the corresponding
public agent-tools index from the source rather than editing generated JSON
directly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: cabd2a4e-6152-48bb-9e07-8b63640beb67

📥 Commits

Reviewing files that changed from the base of the PR and between 03b9f8f and 5e45797.

⛔ Files ignored due to path filters (3)
  • src/assets/docs/agent-connectors/amplitudeanalytics/api-keys.png is excluded by !**/*.png
  • src/assets/docs/agent-connectors/amplitudeanalytics/secret-keys.png is excluded by !**/*.png
  • src/assets/docs/agent-connectors/amplitudeexperimentmanagement/management-api-keys.png is excluded by !**/*.png
📒 Files selected for processing (10)
  • public/data/agent-tools-index.json
  • src/components/templates/agent-connectors/_setup-amplitudeanalytics.mdx
  • src/components/templates/agent-connectors/_setup-amplitudeexperimentmanagement.mdx
  • src/components/templates/agent-connectors/index.ts
  • src/content/docs/agentkit/connectors/amplitudeanalytics.mdx
  • src/content/docs/agentkit/connectors/amplitudeexperimentmanagement.mdx
  • src/data/agent-connectors/amplitudeanalytics.ts
  • src/data/agent-connectors/amplitudeexperimentmanagement.ts
  • src/data/agent-connectors/catalog.ts
  • src/data/agent-connectors/tools-index.json

Comment thread src/data/agent-connectors/amplitudeexperimentmanagement.ts
Comment thread src/data/agent-connectors/catalog.ts
Comment thread src/data/agent-connectors/tools-index.json
- Mixpanel Analytics — 37 tools, Service Account (US/EU/India regions)
- Mixpanel Ingestion — 25 tools, Service Account (US/EU/India regions)
- Mixpanel Compliance — 5 tools, GDPR/CCPA token (US/EU/India regions)
- Stripe — 110 tools (excludes stripe_zz_test_echo_probe_dahlia, a
  test-only tool flagged by CodeRabbit that forwards Stripe Bearer
  tokens to an external echo service)
@Pranesh-Raghu Pranesh-Raghu changed the title docs: add Discord Bot connector, sync Discord tools docs: add Discord, Amplitude, Mixpanel, and Stripe connectors Jul 28, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/templates/agent-connectors/_setup-mixpanelanalytics.mdx`:
- Around line 52-99: Initialize the SDK clients before the connection examples
so the snippets are runnable: add the appropriate Node.js import and client
setup, and the corresponding Python import and client setup, before the calls
using scalekit or scalekit_client. Apply this to
src/components/templates/agent-connectors/_setup-mixpanelanalytics.mdx lines
52-99, src/components/templates/agent-connectors/_setup-mixpanelcompliance.mdx
lines 55-98, and
src/components/templates/agent-connectors/_setup-mixpanelingestion.mdx lines
52-99.

In `@src/components/templates/agent-connectors/_setup-mixpanelcompliance.mdx`:
- Around line 24-29: Update the Mixpanel compliance setup instructions near the
GDPR token step to explain how to locate the Mixpanel project_token and
distinguish it from the GDPR OAuth token. State that the project_token must be
provided in the input for every compliance tool, and replace or clarify the
unexplained YOUR_PROJECT_TOKEN quickstart placeholder accordingly.

In `@src/data/agent-connectors/tools-index.json`:
- Around line 40631-40968: Fix the source descriptions or generator responsible
for connector metadata truncation, ensuring complete Mixpanel and Stripe
descriptions are preserved rather than cut off mid-word. Regenerate
tools-index.json from the corrected source and verify the affected entries,
including mixpanelanalytics_* and mixpanelingestion_* connectors, contain their
full descriptions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d11ff2d8-65cc-48df-bea2-57e6dc903add

📥 Commits

Reviewing files that changed from the base of the PR and between 5e45797 and d15794d.

⛔ Files ignored due to path filters (3)
  • src/assets/docs/agent-connectors/mixpanelanalytics/add-service-account.png is excluded by !**/*.png
  • src/assets/docs/agent-connectors/mixpanelcompliance/gdpr-token.png is excluded by !**/*.png
  • src/assets/docs/agent-connectors/mixpanelingestion/add-service-account.png is excluded by !**/*.png
📒 Files selected for processing (15)
  • public/data/agent-tools-index.json
  • src/components/templates/agent-connectors/_setup-mixpanelanalytics.mdx
  • src/components/templates/agent-connectors/_setup-mixpanelcompliance.mdx
  • src/components/templates/agent-connectors/_setup-mixpanelingestion.mdx
  • src/components/templates/agent-connectors/index.ts
  • src/content/docs/agentkit/connectors/mixpanelanalytics.mdx
  • src/content/docs/agentkit/connectors/mixpanelcompliance.mdx
  • src/content/docs/agentkit/connectors/mixpanelingestion.mdx
  • src/content/docs/agentkit/connectors/stripe.mdx
  • src/data/agent-connectors/catalog.ts
  • src/data/agent-connectors/mixpanelanalytics.ts
  • src/data/agent-connectors/mixpanelcompliance.ts
  • src/data/agent-connectors/mixpanelingestion.ts
  • src/data/agent-connectors/stripe.ts
  • src/data/agent-connectors/tools-index.json

Comment thread src/data/agent-connectors/tools-index.json
@Pranesh-Raghu
Pranesh-Raghu merged commit f96b469 into main Jul 28, 2026
4 checks passed
@Pranesh-Raghu
Pranesh-Raghu deleted the docs/discord-connectors-jul28 branch July 28, 2026 11:55
Pranesh-Raghu added a commit that referenced this pull request Jul 28, 2026
…910)

These connectors now ship via PR #910, which has merged into main.
PR #891 keeps only Apollo (API Key), Momentum, and Zoom Revenue
Accelerator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants