Skip to main content
Glama
punkpeye

HiveFlow MCP Server

get_flow

Retrieve details for a specific automation flow from the HiveFlow platform using its unique flow ID.

Instructions

Obtiene detalles de un flujo específico

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo

Implementation Reference

  • The handler function for the 'get_flow' tool. It makes an API request to retrieve details of a specific flow by ID and returns a formatted text summary of the flow's information.
    private async getFlow(args: any) {
      const response = await this.hiveflowClient.get(`/api/flows/${args.flowId}`);
      const flow = response.data.flow;
      
      return {
        content: [
          {
            type: 'text',
            text: `📊 Detalles del flujo "${flow.name}":\n• ID: ${flow._id}\n• Estado: ${flow.status || 'draft'}\n• Nodos: ${flow.nodes?.length || 0}\n• Descripción: ${flow.description || 'Sin descripción'}\n• Última actualización: ${flow.updatedAt || 'N/A'}`
          }
        ]
      };
    }
  • The schema definition for the 'get_flow' tool, specifying the required 'flowId' input parameter.
    {
      name: 'get_flow',
      description: 'Obtiene detalles de un flujo específico',
      inputSchema: {
        type: 'object',
        properties: {
          flowId: {
            type: 'string',
            description: 'ID del flujo'
          }
        },
        required: ['flowId']
      }
    },
  • src/index.ts:227-228 (registration)
    The switch case that registers and routes calls to the 'get_flow' handler within the CallToolRequestSchema handler.
    case 'get_flow':
      return await this.getFlow(args);

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

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