list_mcp_servers
Lists configured MCP servers within the HiveFlow automation platform to help users manage their connected automation tools.
Instructions
Lista los servidores MCP configurados en HiveFlow
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.js:707-723 (handler)The handler function that implements the 'list_mcp_servers' tool. It makes an API call to '/api/mcp/servers', processes the servers list, formats it as a markdown-style text response, and returns it in the MCP content format.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 ListToolsRequestSchema handler. Includes 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 case in the CallToolRequestSchema switch statement that routes calls to the listMCPServers handler method.case 'list_mcp_servers': return await this.listMCPServers();