Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

create_flow

Create new automation workflows in HiveFlow by specifying name, description, and optional nodes for AI-assisted process automation.

Instructions

Crea un nuevo flujo de trabajo en HiveFlow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del flujo
descriptionYesDescripción del flujo
nodesNoNodos del flujo (opcional)

Implementation Reference

  • The main handler function that implements the create_flow tool. It sends a POST request to the HiveFlow API to create a new workflow with the provided name, description, and optional nodes, then returns a success message with the created flow's ID and status.
    async createFlow(args) { const response = await this.hiveflowClient.post('/api/flows', { name: args.name, description: args.description, nodes: args.nodes || [], edges: [], status: 'draft' }); const flow = response.data.data; return { content: [ { type: 'text', text: `✅ Flujo "${args.name}" creado exitosamente.\nID: ${flow._id}\nEstado: ${flow.status}` } ] }; }
  • Input schema definition for the create_flow tool, specifying the expected arguments: required 'name' and 'description' strings, and optional 'nodes' array.
    inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre del flujo' }, description: { type: 'string', description: 'Descripción del flujo' }, nodes: { type: 'array', description: 'Nodos del flujo (opcional)', items: { type: 'object' } } }, required: ['name', 'description'] }
  • src/index.js:48-70 (registration)
    Registers the 'create_flow' tool in the ListToolsRequestSchema response, including its name, description, and input schema.
    { name: 'create_flow', description: 'Crea un nuevo flujo de trabajo en HiveFlow', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre del flujo' }, description: { type: 'string', description: 'Descripción del flujo' }, nodes: { type: 'array', description: 'Nodos del flujo (opcional)', items: { type: 'object' } } }, required: ['name', 'description'] } },
  • src/index.js:214-215 (registration)
    In the CallToolRequestSchema handler, dispatches calls to 'create_flow' by invoking the createFlow method.
    case 'create_flow': return await this.createFlow(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/hiveflowai/hiveflow-mcp-server'

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