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 Ask your agent to remake a TikTok or Instagram post: it adds the link as a source.
- 2 It picks your avatar or product, makes the post and checks on it until it is done.
- 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
Open Customize, then Connectors, and choose Add custom connector.
- 2
Name it Svira and paste this URL:
https://svira.ai/mcp - 3
Choose Connect. Sign in to Svira in the window that opens and choose Allow.
- 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
/accountMCP: get_accountYour credits, what a video and a carousel cost in credits, and which formats are on.
- POST
/sourcesMCP: create_sourceAdd 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
/sourcesMCP: list_sourcesYour sources, newest first.
- GET
/sources/{id}MCP: get_sourceOne source: status is analyzing, ready or failed; kind is video or carousel.
- GET
/avatarsMCP: list_avatarsYour AI presenters.
- GET
/productsMCP: list_productsYour products.
- POST
/postsMCP: create_postMake 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/batchMCP: create_postsSeveral posts in one call, all or none.
{ "posts": [ { "source_id": "…", "avatar_id": "…" }, … ] } - GET
/postsMCP: list_postsYour posts, newest first. Filter with status (making, ready, failed) and format; page with before=next_before.
- GET
/posts/{id}MCP: get_postStatus (queued, processing, completed, failed), stage, stage_label and progress.
- GET
/posts/{id}/downloadMCP: get_download_urlA short-lived link to the finished MP4, or a ZIP of carousel slides.
- GET
/campaignsMCP: list_campaignsA brand's campaigns with their post counts.
- POST
/campaignsMCP: create_campaignStart 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_campaignSettings, product, sources, creators and post counts per creator.
- PATCH
/campaigns/{id}MCP: update_campaignChange only the settings you send. "product_id": "" removes the product; "status": "archived" archives the campaign.
{ "brief": "…", "captions": false } - POST
/campaigns/{id}/sourcesMCP: add_campaign_sourceAdd a ready video source to the campaign. DELETE /campaigns/{id}/sources/{source_id} removes it.
{ "source_id": "…" } - POST
/campaigns/{id}/creatorsMCP: invite_creatorEmail 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}/avatarMCP: set_creator_avatarGive a creator the avatar their posts use, from GET /campaigns/{id}/avatars.
{ "avatar_id": "…" } - PUT
/campaigns/{id}/join-linkMCP: set_campaign_join_linkTurn the join link on (a fresh link) or off.
{ "enabled": true } - POST
/campaigns/{id}/creators/{creator_id}/batchesMCP: create_campaign_batchUp to 30 unique posts for one creator from the campaign sources, charged to the brand.
{ "count": 10, "output_language": "source" } - GET
/campaigns/{id}/postsMCP: list_campaign_postsThe 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.