Skip to main content
Glama
heroku

Heroku MCP server

Official
by heroku

pipelines_info

View pipeline stage configurations, check connected applications, verify settings, and monitor status on the Heroku platform using this tool for comprehensive pipeline details.

Instructions

Display detailed pipeline configuration. Use this tool when you need to: 1) View pipeline stage configuration, 2) Check connected applications, 3) Verify pipeline settings, 4) Monitor pipeline status. The tool provides comprehensive pipeline information and structure details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsonNoOutput in json format
pipelineYesName of the pipeline to get info for

Implementation Reference

  • Handler function for the 'pipelines_info' tool. It constructs a CommandBuilder for 'pipelines:info', adds flags and positional arguments based on input options, executes the command via herokuRepl, and processes the output with handleCliOutput.
    async (options: PipelinesInfoOptions): Promise<McpToolResponse> => { const command = new CommandBuilder(TOOL_COMMAND_MAP.PIPELINES_INFO) .addFlags({ json: options.json }) .addPositionalArguments({ pipeline: options.pipeline }) .build(); const output = await herokuRepl.executeCommand(command); return handleCliOutput(output); }
  • Zod schema defining the input parameters for the pipelines_info tool: required 'pipeline' string and optional 'json' boolean.
    export const pipelinesInfoOptionsSchema = z.object({ pipeline: z.string().describe('Target pipeline name'), json: z.boolean().optional().describe('Enable JSON output') });
  • Registration function that adds the 'pipelines_info' tool to the MCP server, providing name, description, schema, and inline handler.
    export const registerPipelinesInfoTool = (server: McpServer, herokuRepl: HerokuREPL): void => { server.tool( 'pipelines_info', 'Displays detailed pipeline configuration, stages, and connected applications', pipelinesInfoOptionsSchema.shape, async (options: PipelinesInfoOptions): Promise<McpToolResponse> => { const command = new CommandBuilder(TOOL_COMMAND_MAP.PIPELINES_INFO) .addFlags({ json: options.json }) .addPositionalArguments({ pipeline: options.pipeline }) .build(); const output = await herokuRepl.executeCommand(command); return handleCliOutput(output); } ); };
  • src/index.ts:96-96 (registration)
    Invocation of the registerPipelinesInfoTool during server initialization to register the tool.
    pipelines.registerPipelinesInfoTool(server, herokuRepl);
  • Constant mapping for the CLI command string used by the pipelines_info tool handler.
    PIPELINES_INFO: 'pipelines:info',

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/heroku/heroku-mcp-server'

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