Use Svira from your agent

Paste one URL into Claude, ChatGPT, Codex, Cursor or any MCP client, sign in to Svira, and your agent can turn viral posts into yours with your avatar and products.

Svira MCP server

https://svira.ai/mcp
  1. 1 Ask your agent to remake a TikTok or Instagram post: it adds the link as a source.
  2. 2 It picks your avatar or product, makes the post and checks on it until it is done.
  3. 3 It hands you a download link. The post is also in your Svira library.

Connect your agent

claude.ai and the Claude desktop and mobile apps share one list of connectors.

  1. 1

    Open Customize, then Connectors, and choose Add custom connector.

  2. 2

    Name it Svira and paste this URL:

    https://svira.ai/mcp
  3. 3

    Choose Connect. Sign in to Svira in the window that opens and choose Allow.

  4. 4

    On a Team or Enterprise plan, an Owner adds it once under Organization settings, Connectors, and each member then connects their own Svira account.

Posts made by an agent cost the same credits as in the web app. You can see and disconnect connected apps on your Account page.

REST API

Base URL https://svira.ai/api/v1. Send an API key from your Account page, or an OAuth access token, as a Bearer token. Bodies and answers are JSON with snake_case fields.

curl https://svira.ai/api/v1/sources \
  -H "Authorization: Bearer $SVIRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@creator/video/123"}'
  • GET /account MCP: get_account

    Your credits, what a video and a carousel cost in credits, and which formats are on.

  • POST /sources MCP: create_source

    Add a viral TikTok or Instagram post by its link. It is analyzed in one to three minutes.

    { "url": "https://www.tiktok.com/@creator/video/123" }
  • GET /sources MCP: list_sources

    Your sources, newest first.

  • GET /sources/{id} MCP: get_source

    One source: status is analyzing, ready or failed; kind is video or carousel.

  • GET /avatars MCP: list_avatars

    Your AI presenters.

  • GET /products MCP: list_products

    Your products.

  • POST /posts MCP: create_post

    Make a post from a ready source. Add avatar_id for your presenter and product_id for a product video. Charges credits.

    {
      "source_id": "…",
      "avatar_id": "…",
      "captions": true,
      "caption_style": "clean",
      "direction": "Upbeat, end on the discount code"
    }
  • POST /posts/batch MCP: create_posts

    Several posts in one call, all or none.

    { "posts": [ { "source_id": "…", "avatar_id": "…" }, … ] }
  • GET /posts MCP: list_posts

    Your posts, newest first. Filter with status (making, ready, failed) and format; page with before=next_before.

  • GET /posts/{id} MCP: get_post

    Status (queued, processing, completed, failed), stage, stage_label and progress.

  • GET /posts/{id}/download MCP: get_download_url

    A short-lived link to the finished MP4, or a ZIP of carousel slides.

  • GET /campaigns MCP: list_campaigns

    A brand's campaigns with their post counts.

  • POST /campaigns MCP: create_campaign

    Start a campaign (brand accounts). The brief is the direction every post follows; product_id puts your product in every post.

    { "name": "Spring launch", "brief": "Upbeat, end on the code SPRING", "product_id": "…" }
  • GET /campaigns/{id} MCP: get_campaign

    Settings, product, sources, creators and post counts per creator.

  • PATCH /campaigns/{id} MCP: update_campaign

    Change only the settings you send. "product_id": "" removes the product; "status": "archived" archives the campaign.

    { "brief": "…", "captions": false }
  • POST /campaigns/{id}/sources MCP: add_campaign_source

    Add a ready video source to the campaign. DELETE /campaigns/{id}/sources/{source_id} removes it.

    { "source_id": "…" }
  • POST /campaigns/{id}/creators MCP: invite_creator

    Email a creator an invite and get the invite link. POST …/creators/{creator_id}/approve admits someone who asked through the join link; DELETE …/creators/{creator_id} removes them.

    { "email": "creator@example.com", "display_name": "Maya" }
  • PUT /campaigns/{id}/creators/{creator_id}/avatar MCP: set_creator_avatar

    Give a creator the avatar their posts use, from GET /campaigns/{id}/avatars.

    { "avatar_id": "…" }
  • PUT /campaigns/{id}/join-link MCP: set_campaign_join_link

    Turn the join link on (a fresh link) or off.

    { "enabled": true }
  • POST /campaigns/{id}/creators/{creator_id}/batches MCP: create_campaign_batch

    Up to 30 unique posts for one creator from the campaign sources, charged to the brand.

    { "count": 10, "output_language": "source" }
  • GET /campaigns/{id}/posts MCP: list_campaign_posts

    The campaign's posts with status, angle, caption and used_at once the creator posted it. Filter with creator_id.

Errors and limits

Errors answer with an HTTP status and a detail that says what happened. 401: the key or token is missing, revoked or expired. 404: not yours or not there. 409: not ready yet. 429: too many calls; wait the seconds in Retry-After.

402 means the account is out of credits. It says how many the request needs and where to buy more; nothing was charged.

{
  "detail": {
    "message": "This costs … credits and you have … credits. Buy credits on the Billing page. …",
    "credits_needed": <credits the request needs>,
    "credits": <credits you have>,
    "billing_url": "https://svira.ai/billing"
  }
}

A failed post is refunded automatically. Posts made through the API cost the same as in the web app.