Skip to main content
Glama

check_devpipe

Verify devpipe installation status and retrieve version details to ensure the pipeline runner is properly configured for task execution.

Instructions

Check if devpipe is installed and get version information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of the check_devpipe tool: asynchronously checks if devpipe is installed by executing 'devpipe --version', returns installation status, version if available, or error message with installation instructions.
    export async function checkDevpipeInstalled(): Promise<{ installed: boolean; version?: string; error?: string }> { try { const { stdout } = await execAsync('devpipe --version'); return { installed: true, version: stdout.trim() }; } catch (error) { return { installed: false, error: 'devpipe not found. Install it with: brew install drewkhoury/tap/devpipe' }; } }
  • src/index.ts:218-225 (registration)
    MCP tool registration for 'check_devpipe': defines the tool name, description, and empty input schema (no parameters required) in the ListToolsRequestHandler response.
    { name: 'check_devpipe', description: 'Check if devpipe is installed and get version information.', inputSchema: { type: 'object', properties: {}, }, },
  • MCP CallToolRequestHandler implementation for 'check_devpipe': invokes the checkDevpipeInstalled utility function and returns the result as formatted JSON text content.
    case 'check_devpipe': { const result = await checkDevpipeInstalled(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
  • TypeScript type definition/schema for the checkDevpipeInstalled function return value, specifying the structure of the tool's output: { installed: boolean; version?: string; error?: string }.
    export async function checkDevpipeInstalled(): Promise<{ installed: boolean; version?: string; error?: string }> {
  • Helper utility: promisifies child_process.exec for asynchronous command execution used in checkDevpipeInstalled.
    const execAsync = promisify(exec);

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/drewkhoury/devpipe-mcp'

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