Agents
Copy an agent's ID or MCP prompt from Studio — from the agent card or the Explore view — and run it in any MCP host or SDK.
Source: https://runstack.engineer/docs/commands-agents
Every published Studio agent can be reused outside workspace chat. Copy its ID (for SDK scoping) or its MCP prompt (step-by-step instructions for any MCP host) — from the agent card or the Explore view.
From the agent card
Each card in Studio → Marketplace Agents (and My Agents) shows the agent ID with a joined copy control:
- Copy ID button — copies the stable agent identifier (e.g.
JfjpFxPHjZ047Fwf). Use it to scope@rnsk/toolsor@rnsk/bot. - Copy prompt button (
</>icon) — fetches the agent detail and copies a ready-to-paste Runstack MCP prompt (role + ordered tool steps + auth flow).
await generateText({
model: "anthropic/claude-sonnet-4-5",
prompt: "Review the latest PR in my-org/my-repo",
tools: runstackTools(process.env.RUNSTACK_API_KEY!, {
agentIds: "paste-agent-id-here",
}),
})
From Explore
Click Explore on any card to open the read-only workflow canvas. The header has a Copy Prompt button that copies a step-by-step prompt for the Runstack MCP server:
Use the Runstack MCP server for this "<agent name>" agent.
MCP server: POST https://app.runstack.engineer/mcp (Streamable HTTP, JSON-RPC).
Auth: send your key as "Authorization: Bearer rnsk_<your_api_key>" ...
You only get four meta tools: search_tools, check_authentication, initiate_connection, execute_tool.
...
Agent role:
<agent role / system prompt>
Follow these steps in order, using execute_tool for each tool step:
1. Run <connector>/<tool> via execute_tool ...
...
Paste it into Cursor, Claude Code, Windsurf, or any MCP host with the Runstack MCP server connected. The model will:
- Verify the MCP server is installed (
search_tools,check_authentication,initiate_connection,execute_toolavailable) - Use the agent role as its persona
- Run each tool step via
execute_tool— callingsearch_toolsfor params,check_authentication/initiate_connectionfor OAuth, thenexecute_tool
Command
Copy the agent prompt from Studio → Explore → Copy Prompt (or the </> button on the agent card),
then paste it into your MCP host connected to https://app.runstack.engineer/mcp.
Related
- Runstack Studio — building, publishing, and invoking agents with
/command - MCP Tools — connecting hosts to the Runstack MCP server
@rnsk/tools— SDK scoping withagentIds,fetchRunstackAgent,buildAgentSystemPrompt