Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_providers

Retrieve all available providers in the LumbreTravel MCP Server to manage travel programs and activities effectively.

Instructions

Obtiene todos los proveedores disponibles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Schema definition for the 'list_providers' tool, specifying name, description, and empty input schema (no parameters required).
    { name: 'list_providers', description: 'Obtiene todos los proveedores disponibles', inputSchema: { type: 'object', properties: {} } },
  • Execution handler for 'list_providers' tool in ToolsHandler.callTool method. Fetches providers via ApiService and returns them as formatted JSON text.
    case 'list_providers': { const providers = await this.apiService.getProviders() return { content: [{ type: 'text', text: JSON.stringify(providers, null, 2) }] } }
  • ApiService.getProviders() helper method that performs authenticated GET request to backend API endpoint to retrieve all providers.
    async getProviders () { const headers = await this.getHeaders() const response = await fetch(`${API_CONFIG.baseUrl}/integrations/mcp/providers`, { method: 'GET', headers }) return await this.handleResponse<any[]>(response) }
  • src/index.ts:38-47 (registration)
    MCP server registration of tool handlers: listTools for tool list including 'list_providers' schema, and callTool for executing 'list_providers'.
    this.server.setRequestHandler( ListToolsRequestSchema, async () => this.toolsHandler.listTools() ) // Configure handlers for tools this.server.setRequestHandler( CallToolRequestSchema, async (request) => await this.toolsHandler.callTool(request.params.name, request.params.arguments, this.server) )

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/lumile/lumbretravel-mcp'

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