# CardClan

```json
{
  "name": "CardClan",
  "slug": "cardclan",
  "url": "https://composio.dev/toolkits/cardclan",
  "markdown_url": "https://composio.dev/toolkits/cardclan.md",
  "logo_url": "https://logos.composio.dev/api/cardclan",
  "categories": [
    "collaboration & communication"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-08-20T15:35:27.851Z"
}
```

![CardClan logo](https://logos.composio.dev/api/cardclan)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with CardClan MCP or direct API to create personalized cards, generate card links, send digital cards, and manage card integration workflows through natural language.

## Summary

CardClan is a digital card platform for creating and sending personalized team cards.
Use it to celebrate moments, share card links, and manage card workflows without extra coordination.

## Categories

- collaboration & communication

## Toolkit Details

- Tools: 9

## Images

- Logo: https://logos.composio.dev/api/cardclan

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for CardClan.
  - Setup:
    - Configure Api Key credentials for CardClan.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Create birthday card link for Sarah
- Send team farewell card to Alex
- Generate anniversary card for marketing team

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `CARDCLAN_CREATE_INTEGRATION_CONFIG` | Create Integration Configuration | Create a persistent CardClan integration configuration linking a card to its workspace. The connected user's ID is resolved automatically. |
| `CARDCLAN_GENERATE_CARD_URL` | Generate Personalized Card URL | Generate a personalized CardClan viewing URL without sending an email. This may create recipient-specific CardClan state but does not deliver a message. |
| `CARDCLAN_GET_CARD_DETAILS` | Get Card Details | Get a CardClan card's title, merge-tag requirements, and owning workspace details by card ID. |
| `CARDCLAN_GET_INTEGRATION_CONFIG` | Get Integration Configuration | Get a CardClan integration configuration by either integration ID or card ID. |
| `CARDCLAN_LIST_CARDS` | List Cards | List cards in a CardClan workspace, including card IDs needed for details, integration configuration, personalized links, and sending. |
| `CARDCLAN_LIST_EMAIL_ACCOUNTS` | List Email Accounts | List configured CardClan sender accounts that can be selected when sending a card. |
| `CARDCLAN_LIST_WORKFLOW_CARDS` | List Workflow Cards | List cards with active CardClan integration workflows and return their integration, card, and workspace IDs. |
| `CARDCLAN_LIST_WORKSPACES` | List Workspaces | List CardClan workspaces accessible to the connected account, including the workspace IDs needed to find cards and create integration configurations. |
| `CARDCLAN_SEND_CARD` | Send Card | Immediately personalize and send a CardClan card by email to one or more recipients. This externally side-effecting operation is irreversible; use GENERATE_CARD_URL when delivery is not intended. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute CardClan Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute CardClan actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Create a personalized birthday card link for Alex from the Product team'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Create a personalized birthday card link for Alex from the Product team'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for CardClan
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to CardClan tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Create a personalized birthday card link for Alex from the Product team')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Create a personalized birthday card link for Alex from the Product team'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native CardClan Integration

- Supports both CardClan MCP and direct API based integrations
- Structured, LLM-friendly schemas so agents can create cards and links with fewer mistakes
- Rich coverage for sending digital cards, generating shareable links, and managing CardClan workflows

### 2. Managed Auth

- Secure API key handling so you don't have to hard-code CardClan credentials in agent code
- Central place to manage, scope, and revoke CardClan access
- Per user and per environment credentials for safer testing and production use

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Clear schemas help agents understand when to create a card, generate a link, or send it
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access CardClan
- Scoped, least privilege access to CardClan card creation and sending workflows
- Full audit trail of agent actions to support review and compliance

## Use CardClan with any AI Agent Framework

Choose a framework you want to connect CardClan with:

None listed.

## Related Toolkits

- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Slack](https://composio.dev/toolkits/slack) - Slack is a channel-based messaging platform for teams and organizations. It helps people collaborate in real time, share files, and connect all their tools in one place.
- [Gong](https://composio.dev/toolkits/gong) - Gong is a platform for video meetings, call recording, and team collaboration. It helps teams capture conversations, analyze calls, and turn insights into action.
- [Microsoft teams](https://composio.dev/toolkits/microsoft_teams) - Microsoft Teams is a collaboration platform that combines chat, meetings, and file sharing within Microsoft 365. It keeps distributed teams connected and productive through seamless virtual communication.
- [Slackbot](https://composio.dev/toolkits/slackbot) - Slackbot is a conversational automation tool for Slack that handles reminders, notifications, and automated responses. It boosts team productivity by streamlining onboarding, answering FAQs, and managing timely alerts—all right inside Slack.
- [2chat](https://composio.dev/toolkits/_2chat) - 2chat is an API platform for WhatsApp and multichannel text messaging. It streamlines chat automation, group management, and real-time messaging for developers.
- [Agent mail](https://composio.dev/toolkits/agent_mail) - Agent mail provides AI agents with dedicated email inboxes for sending, receiving, and managing emails. It empowers agents to communicate autonomously with people, services, and other agents—no human intervention needed.
- [Android Texter](https://composio.dev/toolkits/android_texter) - Android Texter is an API service that connects Android phones to SMS, MMS, contacts, and device data. Use it to automate mobile messaging without building your own phone-to-API bridge.
- [Basecamp](https://composio.dev/toolkits/basecamp) - Basecamp is a project management and team collaboration tool by 37signals. It helps teams organize tasks, share files, and communicate efficiently in one place.
- [Blooio](https://composio.dev/toolkits/blooio) - Blooio is a stable v2 API platform for messaging, chats, contacts, groups, phone numbers, and account analytics. It gives teams a clean way to build reliable communication workflows without stitching together fragile custom APIs.
- [Chatwork](https://composio.dev/toolkits/chatwork) - Chatwork is a team communication platform with group chats, file sharing, and task management. It helps businesses boost collaboration and streamline productivity.
- [Clickmeeting](https://composio.dev/toolkits/clickmeeting) - ClickMeeting is a cloud-based platform for running online meetings and webinars. It helps businesses and individuals host, manage, and engage virtual audiences with ease.
- [Confluence](https://composio.dev/toolkits/confluence) - Confluence is Atlassian's team collaboration and knowledge management platform. It helps your team organize, share, and update documents and project content in one secure workspace.
- [Daily](https://composio.dev/toolkits/daily) - Daily is a WebRTC video and audio API platform for building rooms, meetings, recordings, live streams, transcriptions, and telephony. It gives developers reliable real-time media infrastructure without managing complex conferencing stacks.
- [Dailybot](https://composio.dev/toolkits/dailybot) - DailyBot streamlines team collaboration with chat-based standups, reminders, and polls. It keeps work flowing smoothly in your favorite messaging platforms.
- [Dialmycalls](https://composio.dev/toolkits/dialmycalls) - Dialmycalls is a mass notification service for sending voice and text messages to contacts. It helps teams and organizations quickly broadcast urgent alerts and updates.
- [Dialpad](https://composio.dev/toolkits/dialpad) - Dialpad is a cloud-based business phone and contact center system for teams. It unifies voice, video, messaging, and meetings across your devices.
- [Discord](https://composio.dev/toolkits/discord) - Discord is a real-time messaging and VoIP platform for communities and teams. It lets users chat, share media, and collaborate across public and private channels.
- [Discordbot](https://composio.dev/toolkits/discordbot) - Discordbot is an automation tool for Discord servers that handles moderation, messaging, and user engagement. It helps communities run smoothly by automating routine and complex tasks.

## Frequently Asked Questions

### Do I need my own developer credentials to use CardClan with Composio?

Yes, CardClan requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
