MULTI-APP TOOLKIT
Build with Google reCAPTCHA + MailerLite
- Multi-app
- One MCP session
- 7 actions
- 3 triggers
- Managed auth
MCP
One MCP session, both toolsets
One session gives your product or agent every Google reCAPTCHA and MailerLite tool at once — connect once, list tools, and call them like any single-app session.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "google_recaptcha,mailerlite",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// One list, both toolsets: Google reCAPTCHA and MailerLite tools arrive
// together, each keyed by its own app's slug.
// e.g. run Validate reCAPTCHA Response:
const result = await mcp.callTool({
name: "google_recaptcha-validate-recaptcha",
arguments: {
remote_ip: "Remote IP Address",
token: "Token",
},
})import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const externalUserId = "{external_user_id}" // any stable ID for this user in your system
const [googleRecaptchaTools, mailerliteTools] =
await Promise.all([
pd.components.list({ app: "google_recaptcha" }),
pd.components.list({ app: "mailerlite" }),
])
// One external user owns both connected accounts, so either app's tools
// run on their behalf with the same externalUserId.curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=google_recaptcha" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=mailerlite" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
# Connect both accounts to the same external_user_id, then
# configure and invoke either app's tools on that user's behalf.ARCHITECTURE
One user, two connected accounts
Your user connects each account once, under whatever ID they already have in your product. The two stay independent — either can be revoked on its own — and your code reaches both through that one user.
Your product
external_user_id
{external_user_id}Pipedream Connect
Managed identity
Auth · tools · routing
Google reCAPTCHA
Connected account
MailerLite
Connected account
TOOLS
Google reCAPTCHA tools
The Google reCAPTCHA tools this pairing puts in reach, each one running on your user's own connected account.
Triggers
No Google reCAPTCHA triggers are available yet.
TOOLS
MailerLite tools
The MailerLite tools this pairing puts in reach, each one running on your user's own connected account.
Actions
-
Create Subscriber
actionCreate a new subscriber. See the documentationWritev0.0.5 -
List Fields Options
actionRetrieves available options for the Fields field.Read-onlyv0.0.1 -
List Subscribers
actionLists all subscribers in a group. See the documentationRead-onlyv0.0.5 -
Remove Subscriber From Group
actionRemoves single subscriber from specified group. See the documentationWritev0.0.6 -
Subscribe to MailerLite Group
actionAdd a subscriber to a group. See the documentationWritev0.3.4 -
Update Subscriber
actionUpdates single active subscriber. See the documentationWritev0.0.6
Triggers
-
New Subscriber Added To Group (Instant)
triggerEmit new event when a new subscriber is added to a group.Instantv0.0.2 -
New Subscriber Created (Instant)
triggerEmit new event when a new subscriber is created.Instantv0.0.2 -
New Subscriber Unsubscribed (Instant)
triggerEmit new event when a subscriber is unsubscribed.Instantv0.0.2
MULTI-APP
Works with more apps
The combinations customers connect alongside these two — nothing here is limited to a pair.
REFERENCE
Toolkit details
- x-pd-app-slug
- google_recaptcha,mailerlite
- Primary app
- Google reCAPTCHA (google_recaptcha)
- Second app
- MailerLite (mailerlite)
- Authentication
- API key + API key
- Available actions
- 7
- Available triggers
- 3