# Elfsight MCP

```json
{
  "name": "Elfsight MCP",
  "slug": "elfsight_mcp",
  "url": "https://composio.dev/toolkits/elfsight_mcp",
  "markdown_url": "https://composio.dev/toolkits/elfsight_mcp.md",
  "logo_url": "https://logos.composio.dev/api/elfsight",
  "categories": [
    "marketing & social media"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-27T05:42:46.113Z"
}
```

![Elfsight MCP logo](https://logos.composio.dev/api/elfsight)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Elfsight MCP or direct API to create widgets, configure settings, publish updates, embed widgets, and browse projects through natural language.

## Summary

Elfsight MCP is a hosted MCP server for creating, configuring, publishing, and embedding Elfsight widgets.
It gives AI agents a structured way to manage website widgets and browse projects and the widget catalog.

## Categories

- marketing & social media

## Toolkit Details

- Tools: 16

## Images

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

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for Elfsight MCP.
  - Setup:
    - Configure Dcr Oauth credentials for Elfsight MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Browse Elfsight catalog for social media widgets
- Create and publish a website contact form
- List projects and update an existing widget

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ELFSIGHT_MCP_CREATE_WIDGET` | Create widget | Create and publish a new widget from an active template of the given app in the workspace chosen when connecting. Requires appAlias and templatePid. The widget is ACTIVE, or DRAFT when the app widget limit is reached. |
| `ELFSIGHT_MCP_DISCARD_WIDGET_CHANGES` | Discard widget changes | Discard the unpublished widget revision. Not available for widgets shared with the user. |
| `ELFSIGHT_MCP_DUPLICATE_WIDGET` | Duplicate widget | Duplicate an existing widget by widgetPid. Not available for widgets shared with the user. |
| `ELFSIGHT_MCP_GET_INSTALL_CODE` | Get install code | Return the HTML embed code for a widget. |
| `ELFSIGHT_MCP_GET_WIDGET` | Get widget | Get widget details including parsed settings manifest when available. access is MEMBER for a widget of the workspace chosen when connecting, or PROJECT_SHAREE for a widget shared with the user. |
| `ELFSIGHT_MCP_GET_WIDGET_EDIT_LINKS` | Get widget edit links | Return Dashboard edit and publish URLs for a widget. Opening publishUrl (?auto_publish=true) in a signed-in browser immediately publishes the unpublished widget revision. |
| `ELFSIGHT_MCP_GET_WIDGET_LIMIT` | Get widget limit | Get widget usage limits for an app in the workspace chosen when connecting. |
| `ELFSIGHT_MCP_LIST_ACCOUNT_APPS` | List account apps | List apps installed in the workspace chosen when connecting. |
| `ELFSIGHT_MCP_LIST_APP_CATALOG` | List app catalog | List available Elfsight apps. |
| `ELFSIGHT_MCP_LIST_PROJECTS` | List projects | List projects in the workspace chosen when connecting. |
| `ELFSIGHT_MCP_LIST_SHARED_WIDGETS` | List shared widgets | List active widgets from projects that other workspaces shared with the user (Shared with me in the Dashboard). They do not depend on the authorized workspace. Use their widgetPid with get_widget, rename_widget, update_widget_settings, publish_widget, get_install_code and get_widget_edit_links. |
| `ELFSIGHT_MCP_LIST_WIDGETS` | List widgets | List widgets in the workspace chosen when connecting, with optional filters. Widgets shared with the user are listed by list_shared_widgets. |
| `ELFSIGHT_MCP_LIST_WIDGET_TEMPLATES` | List widget templates | List configurator templates for an app. |
| `ELFSIGHT_MCP_PUBLISH_WIDGET` | Publish widget | Publish the unpublished widget revision. |
| `ELFSIGHT_MCP_RENAME_WIDGET` | Rename widget | Rename a widget. |
| `ELFSIGHT_MCP_UPDATE_WIDGET_SETTINGS` | Update widget settings | Apply a JSON Merge Patch (RFC 7396) to unpublished widget settings. Objects merge, so omitted keys stay. null removes a key. Arrays and other values replace the current value, so send the whole array when changing one item. Rejects changes to restricted paths from the settings manifest. Collection items may be reordered, and items that omit restricted fields may be added or removed. Existing restricted values cannot be changed, added, or removed. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

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

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

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

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Elfsight MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["elfsight_mcp"])
tools = session.tools()
```

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

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["elfsight_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Elfsight MCP tools with your agent

Send a request, execute the Elfsight MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Browse the Elfsight widget catalog and create a contact form widget for my website"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Browse the Elfsight widget catalog and create a contact form widget for my website" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

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

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

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

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Elfsight MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["elfsight_mcp"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["elfsight_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Elfsight MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Elfsight MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Browse the Elfsight widget catalog and create a contact form widget for my website")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Browse the Elfsight widget catalog and create a contact form widget for my website",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Elfsight MCP Integration

- Supports both Elfsight MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for reading, writing, and querying your Elfsight MCP data

### 2. Managed Auth

- Built-in OAuth handling with automatic token refresh and rotation
- Central place to manage, scope, and revoke Elfsight MCP access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- 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 Elfsight MCP
- Scoped, least privilege access to Elfsight MCP resources
- Full audit trail of agent actions to support review and compliance

## Use Elfsight MCP with any AI Agent Framework

Choose a framework you want to connect Elfsight MCP with:

- [ChatGPT](https://composio.dev/toolkits/elfsight_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/elfsight_mcp/framework/claude-cowork)

## Related Toolkits

- [Reddit](https://composio.dev/toolkits/reddit) - Reddit is a social news platform with thriving user-driven communities (subreddits). It's the go-to place for discussion, content sharing, and viral marketing.
- [Facebook](https://composio.dev/toolkits/facebook) - Facebook is a social media and advertising platform for businesses and creators. It helps you connect, share, and manage content across your public Facebook Pages.
- [Linkedin](https://composio.dev/toolkits/linkedin) - LinkedIn is a professional networking platform for connecting, sharing content, and engaging with business opportunities. It's the go-to place for building your professional brand and unlocking new career connections.
- [Active campaign](https://composio.dev/toolkits/active_campaign) - ActiveCampaign is a marketing automation and CRM platform for managing email campaigns, sales pipelines, and customer segmentation. It helps businesses engage customers and drive growth through smart automation and targeted outreach.
- [ActiveTrail](https://composio.dev/toolkits/active_trail) - ActiveTrail is a user-friendly email marketing and automation platform. It helps you reach subscribers and automate campaigns with ease.
- [Adobe Marketing Agent MCP](https://composio.dev/toolkits/adobe_marketing_agent_mcp) - Adobe Marketing Agent MCP is Adobe's hosted MCP service that exposes marketing context, preferences, and agent capabilities. Use it to provide agents with campaign, audience, and analytics context via a managed integration.
- [Ahrefs](https://composio.dev/toolkits/ahrefs) - Ahrefs is an SEO and marketing platform for site audits, keyword research, and competitor insights. It helps you improve search rankings and drive organic traffic.
- [AimTell](https://composio.dev/toolkits/aimtell) - AimTell is a web push notification platform for managing websites, subscribers, campaigns, segments, and delivery analytics. Use it to send targeted browser notifications and measure engagement across your web push campaigns.
- [Amcards](https://composio.dev/toolkits/amcards) - AMCards lets you create and mail personalized greeting cards online. Build stronger customer relationships with easy, automated card campaigns.
- [AnnounceKit MCP](https://composio.dev/toolkits/announcekit_mcp) - AnnounceKit is a product communication platform for changelogs, feedback, and roadmaps. It helps teams share updates and organize customer input in one place.
- [AppFollow](https://composio.dev/toolkits/appfollow) - AppFollow is an app-store analytics platform for ratings, reviews, keywords, and app performance. It helps teams improve app visibility, understand user feedback, and manage review workflows.
- [AWeber](https://composio.dev/toolkits/aweber) - AWeber is an email marketing platform for creating campaigns, lists, and landing pages. It helps businesses automate email outreach and measure subscriber engagement.
- [Beamer](https://composio.dev/toolkits/beamer) - Beamer is a news and changelog platform for in-app announcements and feature updates. It helps companies boost user engagement by sharing news where users are most active.
- [Beehiiv](https://composio.dev/toolkits/beehiiv) - Beehiiv is a newsletter platform for creating and managing publications and subscribers. It helps grow audience engagement and monetize your mailing list.
- [beehiiv MCP](https://composio.dev/toolkits/beehiiv_mcp) - beehiiv MCP is a hosted MCP server for managing beehiiv newsletters, posts, subscribers, and analytics. It gives AI assistants structured access to your publication workflows without bespoke integration code.
- [Benchmark email](https://composio.dev/toolkits/benchmark_email) - Benchmark Email is a platform for creating, sending, and tracking email campaigns. It's built to help you engage audiences and analyze results—all in one place.
- [Bigmailer](https://composio.dev/toolkits/bigmailer) - BigMailer is an email marketing platform for managing multiple brands with white-labeling and automation. It helps teams streamline campaigns and simplify integration with Amazon SES.
- [Bitly](https://composio.dev/toolkits/bitly) - Bitly is a link management platform for shortening, customizing, sharing, and tracking links and QR codes. It helps teams create branded links and measure engagement across campaigns.
- [BlueFox Email](https://composio.dev/toolkits/bluefox_email) - BlueFox Email is an email API for managing contacts, subscriber lists, and sending transactional and triggered messages. Use it to reliably send transactional and triggered emails and manage subscribers at scale.
- [Brandfetch](https://composio.dev/toolkits/brandfetch) - Brandfetch is an API that delivers company logos, colors, and visual branding assets. It helps marketers and developers keep brand visuals consistent everywhere.

## Frequently Asked Questions

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

Yes, Elfsight MCP requires you to configure your own DCR OAuth credentials. Once set up, Composio handles secure credential storage and management 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)
