Skip to main content

YaparAI MCP Server — Generate images, videos, and music with AI directly from Claude Desktop, Cursor, and Windsurf

Project description

YaparAI MCP Server

All-in-one AI content creation + enterprise social media & CRM — directly from Claude Desktop, Cursor, Windsurf, and other MCP-compatible AI assistants.

PyPI License Python

What is YaparAI?

YaparAI is an all-in-one AI platform with 32 tools:

  • Image Generation — Flux, SDXL, Imagen 4 (text-to-image, image-to-image)
  • Video Generation — Veo 3.1, Kling (text-to-video, image-to-video)
  • Music Generation — Suno v4 (full songs with vocals, instrumentals)
  • Image Editing — Background removal, face swap, style transfer
  • E-commerce — Virtual try-on, AI mannequin for product photos
  • 448+ Templates — Pre-built ComfyUI workflows (logos, ads, product photos...)
  • AI Text & Vision — Gemini-powered text generation and image analysis
  • Chatbots — Interact with AI chatbots via API
  • Social Media — Post, caption, hashtag, inbox, AI auto-reply (Enterprise)
  • CRM — Customer management, AI info extraction, shipping, bulk messaging (Enterprise)

Quick Start

1. Install

pip install yaparai

2. Get your API Key

  1. Sign up at yaparai.com (100 free credits)
  2. Go to Settings > API Keys
  3. Create a new key — copy it (shown only once!)

3. Configure Claude Desktop

Edit your Claude Desktop config (Settings > Developer > Edit Config):

{
  "mcpServers": {
    "yaparai": {
      "command": "yaparai",
      "env": {
        "YAPARAI_API_KEY": "yap_live_your_key_here",
        "YAPARAI_ORG_ID": "your-org-id-for-enterprise-features"
      }
    }
  }
}

YAPARAI_ORG_ID is optional — only needed for social media & CRM tools. Use the list_organizations tool to find your org ID.

4. Use it!

"Generate an image of a sunset over Istanbul"

"List available templates for logo design"

"Create a social media post for our new product launch"

"Show me the inbox messages on Instagram"

"Generate an AI reply for that customer question"

"Send shipping info to customer #123 — Yurtici, tracking ABC456"

Available Tools (30)

Content Generation (4)

Tool Description Cost
generate_image Generate images (Flux, SDXL, Imagen 4) ~6 credits
generate_video Generate videos (Veo 3.1, Kling) ~350 credits
generate_music Generate music (Suno v4) ~14 credits
generate_music_video Music + video combined ~364 credits

Image Editing (3)

Tool Description Cost
transform_image Image-to-image style transfer ~6 credits
remove_background Remove background from images ~2 credits
swap_face Face swap in images ~6 credits

E-commerce (2)

Tool Description Cost
virtual_try_on Virtual clothing try-on ~6 credits
generate_mannequin AI mannequin for product photos ~6 credits

Avatar (1)

Tool Description Cost
lip_sync Talking avatar from photo ~14 credits

Templates (3)

Tool Description Cost
list_templates Browse 448+ templates Free
get_template_detail Get template inputs/details Free
execute_template Run a template workflow Varies

AI Tools (2)

Tool Description Cost
generate_text Gemini text generation (scripts, lyrics, storyboard) ~2 credits
analyze_image Gemini Vision image analysis ~2 credits

Chatbot (2)

Tool Description Cost
list_chatbots List available chatbots Free
chat_with_bot Chat with a YaparAI chatbot Varies

Enterprise: Social Media (8)

Tool Description Cost
list_social_accounts List connected social accounts Free
create_social_post Post to Instagram/Facebook/TikTok/X Free
generate_caption AI-generate post caption Free
generate_hashtags AI-generate hashtags Free
list_inbox Read social media inbox/DMs Free
read_conversation Read conversation messages Free
reply_to_message Reply to a DM/message Free
ai_reply_suggestion Get AI-suggested reply Free

Enterprise: CRM (6)

Tool Description Cost
list_customers Browse CRM customers Free
get_customer Get customer details Free
extract_customer_info AI-extract info from conversations Free
send_shipping_info Send tracking notification Free
bulk_message Mass message customers Free
sync_customers_from_inbox Import customers from inbox Free

Utility (4)

Tool Description Cost
list_organizations List your organizations Free
check_balance Check credit balance Free
list_models List models and costs Free
get_job_status Check job status Free

Configuration

Env Variable Description Default
YAPARAI_API_KEY Your API key (required)
YAPARAI_ORG_ID Organization ID (for enterprise tools)
YAPARAI_BASE_URL API base URL https://api.yaparai.com

Cursor / Windsurf / Claude Code

Same configuration format in MCP settings:

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

Python SDK Usage

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"])

    # List templates
    templates = await client.list_templates({"category": "logo"})
    print(templates)

    # Social media caption
    caption = await client.social_generate_caption("org-id", {
        "topic": "summer sale",
        "platform": "instagram",
        "language": "tr",
    })
    print(caption)

asyncio.run(main())

Pricing

  • 100 free credits on signup (no credit card required)
  • Image: 6 credits ($0.50)
  • Video: 350 credits ($3-5)
  • Music: 14 credits ($1)
  • Enterprise features: included with subscription
  • Credits never expire

View pricing

Links

Contributors

Thanks to everyone who has contributed to YaparAI MCP!

  • @ilhankilic — Creator & maintainer
  • @enis1998 — v0.4.0: 2 new tools, retry mechanism, type safety, test suite

Want to contribute? Check out CONTRIBUTING.md.

License

Apache 2.0 — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaparai-0.4.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaparai-0.4.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file yaparai-0.4.0.tar.gz.

File metadata

  • Download URL: yaparai-0.4.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for yaparai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dc00d073a08abb802e3acbdcc9259b1fce07fff161de69be07640ff212d81acd
MD5 d7525e44c3f8adc800ac35f6c804ef35
BLAKE2b-256 a859af50ad7c0a682bc5b40950579a40914cff16077f039a2e4c4d91d1d6a1fb

See more details on using hashes here.

File details

Details for the file yaparai-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: yaparai-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for yaparai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10e098297878a0d76438f916fb05cbfbe6b11f55062c75761e5f189eb853d89e
MD5 57488180a1af7c29b92f7cd9031d13ad
BLAKE2b-256 935162ebed173c3cc21f32dbc57f68493a1cc355878f0ad74be7304e8eec5e14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page