Skip to main content
Glama

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
NameRequiredDescriptionDefault

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, },
  • 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, }; } }

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nor2-io/heim-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server