Skip to main content
Glama
lumile

LumbreTravel MCP Server

by lumile

list_providers

Retrieve all available providers from the LumbreTravel MCP Server to access travel programs and activities.

Instructions

Obtiene todos los proveedores disponibles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler execution for the 'list_providers' tool: fetches providers via ApiService and returns them as a JSON text response.
    case 'list_providers': { const providers = await this.apiService.getProviders() return { content: [{ type: 'text', text: JSON.stringify(providers, null, 2) }] } }
  • Input schema definition for the 'list_providers' tool: no required parameters, returns all available providers.
    name: 'list_providers', description: 'Obtiene todos los proveedores disponibles', inputSchema: { type: 'object', properties: {} } },
  • ApiService method that performs an authenticated GET request to the backend API endpoint to retrieve the list of 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)
    Registers the MCP server request handlers for listing tools (which includes list_providers) and calling tools by name.
    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