Skip to main content
Glama
YaparAI MCP Server

YaparAI MCP Server

by ilhankilic

YaparAI MCP 服务器

一体化 AI 内容创作 + 企业社交媒体、CRM 和竞争对手情报 — 直接从 Claude Desktop、Cursor、Windsurf 以及其他兼容 MCP 的 AI 助手中使用。

PyPI License Python Tests

什么是 YaparAI?

YaparAI 是一个一体化 AI 平台,拥有 43 种工具,涵盖内容生成、电子商务和企业运营:

  • 图像生成 — Flux、SDXL、Imagen 4(文生图、图生图)

  • 视频生成 — Veo 3.1、Kling(文生视频、图生视频)

  • 音乐生成 — Suno v4(包含人声和伴奏的完整歌曲)

  • 图像编辑 — 背景移除、换脸、风格迁移

  • 电子商务 — 虚拟试穿、产品照片 AI 模特

  • 448+ 模板 — 预构建的 ComfyUI 工作流(Logo、广告、产品照片等)

  • AI 文本与视觉 — 基于 Gemini 的文本生成和图像分析

  • 聊天机器人 — 通过 API 与 AI 聊天机器人交互

  • 社交媒体 — 发布、文案、标签、收件箱、AI 自动回复、配额(企业版)

  • CRM — 客户管理、AI 信息提取、发货、群发消息(企业版)

  • 竞争对手分析 — 追踪竞争对手、对比 KPI、SWOT 快照(企业版,v0.5.0)

  • 产品目录 — 组织产品 CRUD、库存管理(企业版,v0.5.0)

Related MCP server: social-neuron

快速入门

1. 安装

pip install yaparai

2. 获取 API Key

  1. 在 yaparai.com 注册(赠送 100 免费积分)

  2. 前往 Settings > API Anahtarları

  3. 选择范围:

    • 个人 (Personal) — 使用您的积分和数据(默认)

    • 企业 (Enterprise) — 如果您是某个组织的成员,请选择此项以启用针对该组织的竞争对手/产品/收件箱/CRM 工具

  4. 创建密钥并复制(仅显示一次!)

3. 配置 Claude Desktop

编辑您的 Claude Desktop 配置文件 (Settings > Developer > Edit Config):

{
  "mcpServers": {
    "yaparai": {
      "command": "yaparai",
      "env": {
        "YAPARAI_API_KEY": "yap_live_your_key_here"
      }
    }
  }
}

组织绑定密钥 (v0.5.0+) — 如果您的密钥在创建时绑定到了某个组织,企业工具(竞争对手、产品、收件箱、CRM)将自动使用该组织。旧的 YAPARAI_ORG_ID 环境变量是可选的 — 仅在您想要覆盖绑定的组织或使用个人密钥进行企业操作时才需要。

4. 开始使用!

> "Generate an image of a sunset over Istanbul"
> "List available templates for logo design"
> "Which competitors have the lowest PageSpeed score?"
> "Add a new product to our catalog: Summer T-Shirt, 149 TL"
> "Show me unread DMs on Instagram"
> "Send shipping info to customer #123 — Yurtiçi, tracking ABC456"

可用工具 (43)

内容生成 (4)

工具

描述

成本

generate_image

Flux / SDXL / Imagen 4 (model="auto" 或显式指定)

~6 积分

generate_video

Veo 3.1 或 Kling (文生视频、图生视频)

~350 积分

generate_music

Suno v4 (人声或伴奏)

~14 积分

generate_music_video

音乐 + 视频组合

~364 积分

图像编辑 (3)

工具

描述

成本

transform_image

图生图风格迁移

~6 积分

remove_background

output_format="transparent" 或 "white"

~2 积分

swap_face

换脸 — image_url (目标) + face_url (源)

~6 积分

电子商务 (2)

工具

描述

成本

virtual_try_on

虚拟服装试穿

~6 积分

generate_mannequin

用于产品照片的 AI 模特

~6 积分

头像 (1)

工具

描述

成本

lip_sync

从照片生成说话头像

~14 积分

模板 (3)

工具

描述

成本

list_templates

浏览 448+ 个模板

免费

get_template_detail

获取模板输入/详情

免费

execute_template

运行模板 (支持 extra_inputs 用于特定模板字段)

不定

AI 工具 (2)

工具

描述

成本

generate_text

Gemini 文本生成 (脚本、歌词、故事板)

~2 积分

analyze_image

Gemini Vision 图像分析

~2 积分

聊天机器人 (2)

工具

描述

成本

list_chatbots

列出可用聊天机器人

免费

chat_with_bot

与 YaparAI 聊天机器人对话

不定

企业:社交媒体 (10)

需要企业 API 密钥(组织绑定)或 YAPARAI_ORG_ID。

工具

描述

成本

list_social_accounts

列出已连接的社交账号

免费

create_social_post

发布到 Instagram/Facebook/TikTok/X (支持 scheduled_at)

免费

list_social_posts

v0.4.0 — 列出已发布和已计划的帖子

免费

get_social_quota

v0.4.0 — 检查平台配额和使用情况

免费

generate_caption

AI 生成帖子文案

免费

generate_hashtags

AI 生成标签

免费

list_inbox

读取社交媒体收件箱/私信

免费

read_conversation

读取对话消息

免费

reply_to_message

回复私信/消息

免费

ai_reply_suggestion

获取 AI 回复建议

免费

企业:CRM (6)

工具

描述

成本

list_customers

浏览 CRM 客户 (按平台/标签过滤)

免费

get_customer

获取客户详情

免费

extract_customer_info

从对话中 AI 提取信息

免费

send_shipping_info

发送物流通知

免费

bulk_message

群发消息 — 支持 tag/platform 过滤 (v0.4.0)

免费

sync_customers_from_inbox

从收件箱导入客户

免费

企业:竞争对手分析 — v0.5.0 (3)

工具

描述

成本

list_competitors

列出追踪的竞争对手 (PageSpeed、粉丝数、产品数)

免费

get_competitor

获取详细竞争对手信息

免费

compare_competitors

对比 2–4 个竞争对手 — 用于 SWOT 分析的 KPI 快照

免费

企业:产品目录 — v0.5.0 (3)

工具

描述

成本

list_org_products

列出组织产品 (SKU、价格、类别、库存)

免费

create_org_product

添加新产品到目录

免费

update_product_stock

切换 in_stock / out_of_stock / preorder

免费

实用工具 (4)

工具

描述

成本

list_organizations

列出您的组织

免费

check_balance

检查积分余额

免费

list_models

列出模型和成本

免费

get_job_status

检查任务状态

免费

配置

环境变量

描述

默认值

YAPARAI_API_KEY

您的 API 密钥 (必需)

—

YAPARAI_ORG_ID

组织 ID — 如果您的密钥已绑定组织,则为可选

—

YAPARAI_BASE_URL

API 基础 URL

https://api.yaparai.com

我应该创建哪种密钥?

场景

范围

仅个人使用,用于生成/编辑

个人 (Personal) — 默认

我是 YaparAI 企业成员,需要企业工具

企业 (Enterprise) — 创建密钥时选择组织

多个组织,一个密钥

使用个人密钥 + 每次调用传递 org_id 参数,或依赖 YAPARAI_ORG_ID 环境变量

Cursor / Windsurf / Claude Code

MCP 设置中的配置格式相同:

{
  "yaparai": {
    "command": "yaparai",
    "env": {
      "YAPARAI_API_KEY": "yap_live_your_key_here"
    }
  }
}

Python SDK 使用

import asyncio
from yaparai.client import YaparAIClient

async def main():
    client = YaparAIClient(api_key="yap_live_your_key_here")

    # Generate an image
    job = await client.generate({"type": "image", "prompt": "A futuristic city"})
    result = await client.wait_for_result(job["job_id"])
    print(result["result_url"])

    # Compare competitors (v0.5.0 — org-bound API key)
    comparison = await client.enterprise_compare_competitors(
        ["uuid-1", "uuid-2", "uuid-3"]
    )
    print(comparison)

    # Add a product (v0.5.0)
    product = await client.enterprise_create_org_product({
        "name": "Summer T-Shirt",
        "price": 149,
        "stock_status": "in_stock",
        "category": "apparel",
    })
    print(product)

asyncio.run(main())

可靠性 (v0.4.0+)

  • 指数退避重试 — 网络错误时重试 3 次 (1s → 2s → 4s + 抖动),感知速率限制 (429 → 5s/10s/15s)

  • 字面类型注解 — platform、model、style、output_format 具有字面类型注解,IDE 自动补全可提前捕获错误值

  • 结构化日志 — 使用 logging.getLogger("yaparai") 进行调试追踪

  • 32 个单元测试 — 涵盖 HTTP 客户端、生成、编辑、社交、CRM、组织解析

  • CI 支持 Python 3.10 / 3.11 / 3.12 + ruff lint

定价

  • 注册赠送 100 免费积分 (无需信用卡)

  • 图像:6 积分 ($0.50)

  • 视频:350 积分 ($3–5)

  • 音乐:14 积分 ($1)

  • 企业功能:包含在订阅中

  • 积分永不过期

查看定价

链接

发布说明

  • v0.5.0 (2026-04-21) — 6 个新的企业工具(竞争对手分析 + 产品目录),组织绑定 API 密钥

  • v0.4.0 (2026-04-21) — 2 个新工具,重试 + 日志记录,字面类型,完整测试套件。由 @enis1998 贡献

  • v0.3.1 — FastMCP 3.x 兼容性

  • v0.3.0 — 30 种工具,全平台覆盖

  • v0.2.0 — 13 种工具,支持 PyPI

完整历史: CHANGELOG.md

贡献者

感谢所有为 YaparAI MCP 做出贡献的人!

  • @ilhankilic — 创建者与维护者

  • @enis1998 — v0.4.0: 2 个新工具,重试机制,类型安全,测试套件

想要贡献?请查看 CONTRIBUTING.md。

许可证

Apache 2.0 — 参见 LICENSE

Available Tools

43 tools
ai_reply_suggestionA

Get an AI-generated reply suggestion for a social media conversation.

The AI reads the conversation context and suggests an appropriate reply. You can customize the AI behavior with a system prompt.

Inputs: conversation_id (required), account_id (required), system_prompt, org_id. Returns: object

analyze_imageA

Analyze an image using Gemini Vision AI.

Upload an image and ask questions about it. Can identify objects, read text, describe scenes, analyze compositions, and more. Cost: ~2 credits.

Inputs: image_url (required), prompt. Returns: object

bulk_messageA

Send a message to multiple customers at once.

Broadcast promotions, announcements, or updates to a list of customers via their respective social platforms. You can target by specific IDs, a customer tag, or a platform.

Inputs: message (required), customer_ids, tag, platform, +2 more. Returns: object

chat_with_botA

Send a message to a YaparAI chatbot and get a response.

Each chatbot is specialized for different tasks (customer support, product recommendations, etc.). Use list_chatbots() to discover available bots. Provide conversation_id to continue a conversation.

Inputs: slug (required), message (required), conversation_id. Returns: object

check_balanceA

Check your YaparAI credit balance.

Returns your current credit balance, total credits used, and the currency (credits).

No credits are charged for this operation.

Inputs: no named parameters. Returns: object

compare_competitorsA

Compare 2–4 competitors on key metrics.

Returns latest metric snapshots for each competitor including PageSpeed score, total followers, posts in last 30 days, and product count. Use this as the basis for SWOT analysis or positioning decisions.

Inputs: competitor_ids (required), org_id. Returns: object

create_org_productB

Create a new product in your organization's catalog.

Inputs: name (required), sku, price, currency, +5 more. Returns: object

create_social_postA

Create and publish a social media post.

Post to Instagram, Facebook, TikTok, Twitter/X and other platforms. Supports text, images, and videos. Requires enterprise subscription.

Inputs: text (required), platform (required), account_id (required), media_urls, +2 more. Returns: object

execute_templateA

Execute a ComfyUI template to generate content.

Runs a pre-built AI workflow with your inputs. Each template has different capabilities — use get_template_detail() first to see what inputs are accepted. Credits are deducted based on the template.

Inputs: slug (required), prompt (required), image_url, width, +2 more. Returns: object

extract_customer_infoA

Extract contact information from conversation history using AI.

The AI reads through all messages with this customer and extracts their name, phone number, email address, and physical address. Great for auto-filling CRM records from chat conversations.

Inputs: customer_id (required), org_id. Returns: object

generate_captionA

Generate an AI-powered social media caption.

Creates engaging, platform-optimized captions using AI. Supports multiple languages and tones.

Inputs: topic (required), platform, language, tone, +1 more. Returns: object

generate_hashtagsB

Generate AI-optimized hashtags for a social media post.

Creates relevant, trending hashtags based on your caption content.

Inputs: caption (required), platform, language, org_id. Returns: object

generate_imageA

Generate an image using AI.

Supports 3 AI models: Flux, SDXL, Imagen 4. Smart routing automatically picks the best model for your prompt. Cost: ~6 credits per image.

Inputs: prompt (required), model, negative_prompt, width, +2 more. Returns: object

generate_mannequinA

Generate an AI mannequin / model photo for products.

Upload a product image (clothing, accessory) and the AI will generate a realistic mannequin/model wearing or displaying it. Great for e-commerce product listings. Cost: ~6 credits.

Inputs: prompt (required), image_url (required). Returns: object

generate_musicC

Generate music using AI (powered by Suno v4).

Create full songs with vocals or instrumental tracks from text descriptions. Supports Turkish and English lyrics. Cost: ~14 credits per track.

Inputs: prompt (required), style, instrumental. Returns: object

generate_music_videoA

Generate a music video — AI music + video combined.

Creates both an original music track and a matching video in one go. The AI composes music and generates visuals that match the mood. Cost: ~364 credits (music + video).

Inputs: prompt (required), style. Returns: object

generate_textB

Generate text content using Gemini AI.

Create scripts, storyboards, song lyrics, marketing copy, and more. Powered by Google Gemini. Cost: ~2 credits.

Inputs: prompt (required), sub_mode, temperature, max_tokens. Returns: object

generate_videoA

Generate a video using AI.

Text-to-video or image-to-video. Models: Veo 3.1, Kling. Cost: ~350 credits per video.

Inputs: prompt (required), image_url, model, style. Returns: object

get_competitorB

Get detailed info for a single competitor.

Inputs: competitor_id (required), org_id. Returns: object

get_customerA

Get detailed customer information.

Returns full customer profile including contact details, tags, notes, conversation history, and order info.

Inputs: customer_id (required), org_id. Returns: object

get_job_statusA

Check the status of a generation job.

Use this to check on long-running jobs (especially video and music) or to retrieve the result URL of a completed job. No credits charged.

Inputs: job_id (required). Returns: object

get_social_quotaA

Get social media quota and usage limits.

Returns remaining post quota, message limits, and billing period info. Useful to check before running bulk operations.

Inputs: org_id. Returns: object

get_template_detailA

Get full details of a template including its input parameters.

Returns the template's input fields (what you need to provide), output format, description, and credit cost. Use this before executing a template to understand its requirements. No credits charged.

Inputs: slug (required). Returns: object

lip_syncA

Create a talking avatar from a photo using AI lip sync.

Upload a face photo and provide the text/speech description. The AI will animate the face to appear as if it's speaking. Great for presentations, social media, and content creation. Cost: ~14 credits.

Inputs: prompt (required), image_url (required). Returns: object

list_chatbotsA

List all available chatbots on YaparAI.

Returns active chatbots with their slug, name, description, and configuration. Use the slug to chat with a specific bot. No credits charged.

Returns: List of chatbot configs with slug, name, description, avatar_url.

Inputs: no named parameters. Returns: object

list_competitorsA

List competitors tracked under your organization.

Competitor tracking includes website crawling (PageSpeed, SEO), social media metrics (followers, engagement), and marketplace product prices (Hepsiburada, Trendyol).

Requires enterprise subscription with an org-bound API key.

Inputs: limit, offset, org_id. Returns: object

list_customersA

List CRM customers with optional filtering.

Browse your customer database built from social media conversations. Supports search, platform filtering, and tag-based filtering. Requires enterprise subscription. No credits charged.

Inputs: search, platform, tag, org_id. Returns: object

list_inboxA

List social media inbox conversations (DMs, comments).

Shows all incoming messages from Instagram, Facebook, WhatsApp, etc. Requires enterprise subscription. No credits charged.

Inputs: org_id. Returns: object

list_modelsA

List all available AI generation models and their credit costs.

Returns a list of models with their mode identifier, description, credit cost, and type (image/video/music).

Useful for understanding what you can generate and how much it costs. No credits are charged for this operation.

Inputs: no named parameters. Returns: object

list_organizationsA

List your organizations on YaparAI.

Returns organizations you're a member of, with their IDs, names, and your role. Use the org ID for enterprise tools (social media, CRM, chatbots). You can set YAPARAI_ORG_ID env var to skip passing org_id to every call. No credits charged.

Returns: List of organizations with id, name, role, and member count.

Inputs: no named parameters. Returns: object

list_org_productsA

List product catalog for your organization.

Returns org's product list with SKU, price, category, image, stock status (in_stock / out_of_stock / preorder). Used for automated social media posts, chatbot product lookup, or inventory management from AI assistants.

Inputs: limit, offset, org_id. Returns: object

list_social_accountsA

List connected social media accounts (Instagram, Facebook, TikTok, etc.).

Shows all social accounts linked to your organization. Requires enterprise subscription. No credits charged.

Inputs: org_id. Returns: object

list_social_postsA

List published and scheduled social media posts.

Returns all posts for the organization, with optional filtering by platform or specific account. Requires enterprise subscription.

Inputs: platform, account_id, org_id. Returns: object

list_templatesA

Browse 448+ ready-made AI templates.

Discover pre-built workflows for common tasks: logo creation, product photography, portrait retouching, ad generation, and more. Each template has predefined inputs — just fill in prompts and images. No credits charged for browsing.

Inputs: category, media_type, search, featured. Returns: object

read_conversationA

Read messages in a social media conversation.

Get the full message history of a DM or comment thread.

Inputs: conversation_id (required), account_id (required), org_id. Returns: object

remove_backgroundA

Remove the background from an image using AI.

Upload an image and get back a version with the background removed. Works great for product photos, portraits, and any image where you need a clean cutout. Cost: ~2 credits.

Inputs: image_url (required), output_format. Returns: object

reply_to_messageA

Reply to a social media message/DM.

Send a reply in an existing conversation on Instagram, Facebook, WhatsApp, or other connected platforms.

Inputs: conversation_id (required), account_id (required), message (required), org_id. Returns: object

send_shipping_infoA

Send shipping/tracking information to a customer via social media.

Automatically sends a tracking message through the same social platform the customer contacted you on.

Inputs: customer_id (required), carrier (required), tracking_code (required), org_id. Returns: object

swap_faceA

Swap a face in an image using AI.

Provide a target image and a source face image. The AI replaces the face in the target image with the face from the source image while keeping the rest of the image intact. Cost: ~6 credits.

Inputs: image_url (required), face_url (required), prompt. Returns: object

sync_customers_from_inboxA

Import customers from social media inbox conversations.

Scans all inbox conversations and creates CRM customer records for anyone who has messaged you. New customers are auto-tagged by platform. Existing customers are not duplicated.

Inputs: org_id. Returns: object

transform_imageA

Transform an existing image using AI (image-to-image).

Uses the source image as a reference and applies the prompt to create a new variation. Great for style transfer, modifications, and enhancements. Cost: ~6 credits.

Inputs: prompt (required), image_url (required), negative_prompt, width, +2 more. Returns: object

update_product_stockA

Update a product's stock status.

Use this to quickly mark products as out of stock when inventory runs out, or to flip back to in_stock after restocking. For variant-level stock counts, see v0.6.0 roadmap.

Inputs: product_id (required), stock_status (required), org_id. Returns: object

virtual_try_onA

Virtual clothing try-on using AI.

Upload a photo of a person and describe the clothing to try on. The AI will generate a realistic image of the person wearing the described outfit. Perfect for e-commerce and fashion. Cost: ~6 credits.

Inputs: prompt (required), image_url (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 43 tools

    Disambiguation5/5

    Each tool targets a specific functionality with clear descriptions that distinguish overlapping areas (e.g., generate_caption vs generate_text, ai_reply_suggestion vs chat_with_bot). No two tools serve the same purpose, making selection unambiguous.

    Naming Consistency5/5

    The vast majority of tools follow a consistent verb_noun pattern (e.g., generate_image, list_customers, remove_background). Only a few minor exceptions (ai_reply_suggestion, lip_sync, virtual_try_on) exist, but they are still intuitive and do not break the overall consistency.

    Tool Count4/5

    With 43 tools covering a wide range of features (content generation, social media, CRM, products, competitors, templates), the count is large but justifiable for a comprehensive platform server. It is slightly heavy but not excessive for the scope.

    Completeness3/5

    Core workflows for content generation and social media interaction are well-covered, but there are notable gaps in CRUD operations for entities like social posts, customers, products, and competitors (no update/delete tools). This limits the ability to fully manage resources via tools alone.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Full-stack AI marketing toolkit with 41 MCP tools: SEO article generation in 55 languages, trend scouting (X/Reddit), competitor analysis, content gap detection, social media adaptations for 9 platforms, AI avatar video shorts, content ingestion (YouTube/PDF/web), lead magnets, and automated content autopilot.
      1
      21
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      52-tool MCP server for AI-powered social media management. Create content with 35+ AI models, distribute to multiple platforms, track analytics, and optimize with closed-loop learning.
      701 npm
      5
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and MCP clients to generate and edit video, images, 3D, music, and sound effects, upload or reuse media, preview credit costs, and follow production workflows through a single hosted connector.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to create, schedule, and analyze LinkedIn and X content, manage ideas, media, and a creator knowledge vault, and run approval-gated outreach campaigns through a hosted MCP endpoint.
      MIT