Skip to main content
Glama
punkpeye

HiveFlow MCP Server

create_mcp_server

Register a new MCP server in HiveFlow to connect AI assistants directly to the automation platform for managing and executing workflows through natural language commands.

Instructions

Registra un nuevo servidor MCP en HiveFlow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre único del servidor MCP
commandYesComando para ejecutar el servidor
argsNoArgumentos del comando
descriptionNoDescripción del servidor

Implementation Reference

  • Handler function that creates an MCP server by posting to HiveFlow API and returns success message.
    async createMCPServer(args) { const response = await this.hiveflowClient.post('/api/mcp/servers', { name: args.name, command: args.command, args: args.args || [], description: args.description || '' }); return { content: [ { type: 'text', text: `✅ Servidor MCP "${args.name}" registrado exitosamente.\nComando: ${args.command}\nEstado: registrado` } ] }; }
  • TypeScript version of the handler function that creates an MCP server by posting to HiveFlow API.
    private async createMCPServer(args: any) { const response = await this.hiveflowClient.post('/api/mcp/servers', { name: args.name, command: args.command, args: args.args || [], description: args.description || '' }); return { content: [ { type: 'text', text: `✅ Servidor MCP "${args.name}" registrado exitosamente.\nComando: ${args.command}\nEstado: registrado` } ] }; }
  • Tool schema definition including input schema for create_mcp_server in the list of tools.
    { name: 'create_mcp_server', description: 'Registra un nuevo servidor MCP en HiveFlow', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre único del servidor MCP' }, command: { type: 'string', description: 'Comando para ejecutar el servidor' }, args: { type: 'array', items: { type: 'string' }, description: 'Argumentos del comando' }, description: { type: 'string', description: 'Descripción del servidor' } }, required: ['name', 'command'] } },
  • TypeScript tool schema definition for create_mcp_server.
    { name: 'create_mcp_server', description: 'Registra un nuevo servidor MCP en HiveFlow', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nombre único del servidor MCP' }, command: { type: 'string', description: 'Comando para ejecutar el servidor' }, args: { type: 'array', items: { type: 'string' }, description: 'Argumentos del comando' }, description: { type: 'string', description: 'Descripción del servidor' } }, required: ['name', 'command'] }
  • src/index.js:227-228 (registration)
    Dispatch case in the CallToolRequestHandler switch statement that routes to the handler.
    case 'create_mcp_server': return await this.createMCPServer(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