All integrations

Connect AdWhispr to Composio

Register AdWhispr as a Custom MCP toolkit in your Composio project, then hand it to any agent Composio powers.

Setup

Composio’s Custom MCP is API-only for now (their SDKs and dashboard do not expose it yet). You need a Composio API key from your project settings. AdWhispr uses OAuth with dynamic client registration, which Composio calls DCR_OAUTH, so there is nothing to pre-register on the AdWhispr side.

  1. 1

    Register the toolkit once per Composio project with the upsert call below. app_url is the AdWhispr remote MCP URL:

  2. 2

    Create an auth config for the new CUSTOM_ADWHISPR toolkit with is_enabled_for_tool_router set to true, so the Tool Router can search AdWhispr’s tools.

  3. 3

    Connect an account: Composio will send the user through the AdWhispr sign-in (OAuth). Note the connected_account_id it returns.

  4. 4

    Sync the toolkit with that connected_account_id. Composio imports all AdWhispr tools (47 today; Composio allows up to 500).

  5. 5

    Create a session with toolkits: ["CUSTOM_ADWHISPR"] and the connected account, then ask the agent about any brand’s ads.

  6. 6

    app_url and auth_schemes are locked after registration on Composio’s side. To change them you delete the toolkit and register again.

# 1) register the toolkit (once per Composio project)
curl -X POST https://backend.composio.dev/api/v3.1/custom/toolkits/upsert \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "slug": "ADWHISPR",
    "toolkit_config": {
      "name": "AdWhispr",
      "app_url": "https://adwhispr.com/api/mcp",
      "auth_schemes": [{
        "mode": "DCR_OAUTH",
        "discovery_url": "https://adwhispr.com/.well-known/oauth-authorization-server"
      }]
    }
  }'

# 2) auth config, enabled for the Tool Router
curl -X POST https://backend.composio.dev/api/v3.1/auth_configs \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "toolkit": { "slug": "CUSTOM_ADWHISPR" },
    "auth_config": {
      "type": "use_custom_auth",
      "authScheme": "DCR_OAUTH",
      "credentials": {},
      "is_enabled_for_tool_router": true
    }
  }'

# 3) after the user connects (OAuth), sync the tools for that account
curl -X POST https://backend.composio.dev/api/v3.1/custom/toolkits/sync \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{ "slug": "CUSTOM_ADWHISPR", "connected_account_id": "<connected_account_id>" }'

# 4) use it in a session (TypeScript)
const session = await composio.sessions.create("user_123", {
  toolkits: ["CUSTOM_ADWHISPR"],
  connectedAccounts: { CUSTOM_ADWHISPR: ["<connected_account_id>"] },
});
const tools = await session.tools();

Test it works

Once connected, paste this into Composio to confirm the AdWhispr agent is live:

Use AdWhispr to research Gymshark's Meta ads and show me their longest-running winner.

Other assistants