Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

list_mcp_servers

Retrieve a list of MCP servers configured in HiveFlow to manage AI assistant integrations and automation flows efficiently.

Instructions

Lista los servidores MCP configurados en HiveFlow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that executes the 'list_mcp_servers' tool. It fetches the list of MCP servers from the HiveFlow API endpoint '/api/mcp/servers', processes the data, formats it as a markdown-style list, and returns it as a text content block.
    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'}` } ] }; }
  • src/index.js:150-157 (registration)
    Registration of the 'list_mcp_servers' tool in the ListToolsRequestHandler. Defines the tool's name, description, and empty input schema (no parameters required).
    { name: 'list_mcp_servers', description: 'Lista los servidores MCP configurados en HiveFlow', inputSchema: { type: 'object', properties: {} } },
  • src/index.js:226-227 (registration)
    Dispatch/registration in the CallToolRequestHandler switch statement that maps tool calls for 'list_mcp_servers' to the listMCPServers handler method.
    case 'list_mcp_servers': return await this.listMCPServers();
  • Input schema definition for the 'list_mcp_servers' tool, specifying an empty object (no input parameters required).
    inputSchema: { type: 'object', properties: {} }

Other Tools

Related Tools

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