heim_update
Update the Heim MCP server to the latest version to ensure backend applications remain current and functional.
Instructions
Updates Heim to the latest version.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:251-260 (registration)Registers the 'heim_update' tool with server.tool, including name, description, and annotations object.server.tool( "heim_update", "Updates Heim to the latest version.", { title: "Update Heim", destructiveHint: false, readOnlyHint: false, idempotentHint: false, openWorldHint: false, },
- src/tools.ts:261-279 (handler)The handler function for the 'heim_update' tool, which promisifies exec, runs 'heim update' command, and returns stdout/stderr or error response.async () => { const execPromise = util.promisify(exec); try { const { stdout, stderr } = await execPromise("heim update"); return { content: [ { type: "text", text: `stdout:\n${stdout}\nstderr:\n${stderr}`, }, ], }; } catch (err: any) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } }