Skip to main content
Glama

Integration App MCP Server

Official
by membranehq
get-actions-for-all-connected-app.ts844 B
import { getAllActionsForIntegration } from './get-all-actions'; import { getAllConnections } from './get-all-connections'; import { IntegrationAppClient } from '@integration-app/sdk'; export async function getActionsForAllConnectedApp({ membrane, apps, }: { membrane: IntegrationAppClient; apps?: string[]; }) { const connections = await getAllConnections({ apps, membrane, }); const actions = []; for (const connection of connections) { try { if (!connection.integration) { continue; } const allActions = await getAllActionsForIntegration({ integrationId: connection.integration.id, membrane, }); actions.push(...allActions); } catch (error) { console.error(`Error processing connection ${connection.id}:`, error); } } return actions; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/membranehq/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server