heim_start
Initiate the Heim runtime to execute and manage backend applications, enabling efficient deployment and operation on the Heim MCP server.
Instructions
Starts the Heim runtime which will run your backend applications.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:197-215 (handler)Handler function that executes the 'heim start' command using child_process.exec and returns the stdout/stderr or error.async () => { const execPromise = util.promisify(exec); try { const { stdout, stderr } = await execPromise("heim start"); return { content: [ { type: "text", text: `stdout:\n${stdout}\nstderr:\n${stderr}`, }, ], }; } catch (err: any) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } }
- src/tools.ts:185-216 (registration)Registration of the 'heim_start' tool using server.tool method, including description, annotations (title, hints), and inline handler function.server.tool( "heim_start", "Starts the Heim runtime which will run your backend applications.", { title: "Start Heim Runtime", description: "Starts the Heim runtime which will run your backend applications and handle deployment requests of your applications.", destructiveHint: false, readOnlyHint: false, idempotentHint: false, openWorldHint: false, }, async () => { const execPromise = util.promisify(exec); try { const { stdout, stderr } = await execPromise("heim start"); return { content: [ { type: "text", text: `stdout:\n${stdout}\nstderr:\n${stderr}`, }, ], }; } catch (err: any) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } } );