Skip to main content
Glama
punkpeye

HiveFlow MCP Server

list_mcp_servers

Lists configured MCP servers within the HiveFlow automation platform to help AI assistants manage and execute flows through natural language commands.

Instructions

Lista los servidores MCP configurados en HiveFlow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the 'list_mcp_servers' tool logic: fetches the list of MCP servers from the HiveFlow API endpoint '/api/mcp/servers', formats them into a bullet list with status and connection info, and returns a structured text response.
    async listMCPServers() { const response = await this.hiveflowClient.get('/api/mcp/servers'); const servers = response.data.servers || []; const serversList = servers.map(server => `β€’ ${server.name} - Estado: ${server.status} (${server.isConnected ? 'Conectado' : 'Desconectado'})` ).join('\n'); return { content: [ { type: 'text', text: `πŸ”Œ Servidores MCP (${servers.length}):\n\n${serversList || 'No hay servidores MCP configurados'}` } ] }; }
  • The tool schema definition in the listTools response, specifying the name, description, and empty inputSchema (no input parameters required).
    { name: 'list_mcp_servers', description: 'Lista los servidores MCP configurados en HiveFlow', inputSchema: { type: 'object', properties: {} } },
  • src/index.js:225-226 (registration)
    The dispatch registration in the CallToolRequestHandler switch statement that routes calls to the 'list_mcp_servers' tool to its handler function.
    case 'list_mcp_servers': return await this.listMCPServers();
  • Identical handler function implementation in the TypeScript version of the server.
    private async listMCPServers() { const response = await this.hiveflowClient.get('/api/mcp/servers'); const servers = response.data.servers || []; const serversList = servers.map((server: any) => `β€’ ${server.name} - Estado: ${server.status} (${server.isConnected ? 'Conectado' : 'Desconectado'})` ).join('\n'); return { content: [ { type: 'text', text: `πŸ”Œ Servidores MCP (${servers.length}):\n\n${serversList || 'No hay servidores MCP configurados'}` } ] }; }
  • The tool schema definition in the TypeScript version.
    { name: 'list_mcp_servers', description: 'Lista los servidores MCP configurados en HiveFlow', inputSchema: { type: 'object', properties: {} } },

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