Learn about creating an MCP server with MindStudio.
An MCP (Model Context Protocol) server lets you expose one or more of your MindStudio agents as tools that external applications or LLMs can invoke. In practice, an MCP server:
Enables agents to work with external tools and data sources without having to rebuild or redeploy them each time.
Serves as a centralized endpoint that routes requests to any published agent you’ve added.
Configure Your Agent as a
Open the editor of agent you want to expose and select the Start block.
Change the trigger type to Packaged Workflow.
Save and Publish
Click Save to persist your changes.
Click Publish so the workflow is available in the workspace.
Connection Details Example Snippet
Copy the connection details snippet into the desired external application. This will vary depending on the service you are using.
Workflow ID/Name
Get AI News Scrape
Description
Get a bullet point summary of today’s AI news.
Inputs
(None—this workflow runs standalone)
Outputs
One output: the summary string
After publishing, the agent’s general settings will show its Agent ID.
Click the copy icon next to that ID
Create the MCP Server
Navigate back to your main MindStudio workspace.
Select MCP Server from the Workspace settings dropdown.
Paste in your copied Agent ID in the space provided.
Tap Add to register this agent on the server.
Copy the connection details snippet to be used with your external integration.
{
"mcpServers": {
"mindstudio": {
"command": "npx",
"args": [
"mcp-remote",
"https://v1.mindstudio-api.com/developer/mcp/v1/YOUR-AGENT-ID",
"--header",
"Authorization: ${AUTH_TOKEN}",
"--transport http-only"
],
"env": {
"AUTH_TOKEN": "Bearer YOUR_API_KEY"
}
}
}
}