Hello team
I’m Using MindStudio MCP to call several workflows, some of them takes a lot of time to reply, I need to know how does MindStudio receive the callback URL in async mode?
Thanks
Shay Bar
Hi @Shay,
Thanks for the post!
What you’re describing sounds like the async API rather than MCP. MCP tool calls are synchronous, so there’s no callback URL in that flow. The callback URL is part of MindStudio’s async REST API for long-running workflows.
Here’s how it works:
You POST to the agent endpoint and include a callbackUrl in the request body. When the workflow completes, MindStudio sends the result to that URL.
Here’s a sample request:
POST https://v1.mindstudio-api.com/developer/v2/agents/run
Headers:
Authorization: Bearer
Content-Type: application/json
Body:
{
"workerId": "<agentId>",
"variables": {},
"workflow": "Main.flow",
"callbackUrl": "<your callback URL>"
}
You can also use tools like Postman and Webhook.site to trigger your agent and check the response body.
Let me know if you have any questions!