UNPKG

dataforseo-mcp-server

Version:

A Model Context Protocol (MCP) server for the DataForSEO API, enabling modular and extensible integration of DataForSEO endpoints with support for both HTTP and SSE transports.

28 lines 934 B
import { BaseTool } from '../../../base.tool.js'; export class AiOptimizationLlmMentionsLocationsAndLanguagesListTool extends BaseTool { constructor(dataForSEOClient) { super(dataForSEOClient); } supportOnlyFullResponse() { return true; } getName() { return "ai_optimization_llm_mentions_locations_and_languages"; } getDescription() { return "Utility tool for ai_llm_mentions to get list of available locations and languages"; } getParams() { return {}; } async handle(params) { try { const response = await this.dataForSEOClient.makeRequest(`/v3/ai_optimization/llm_mentions/locations_and_languages`, 'GET', null); return this.formatResponse(response['items']); } catch (error) { return this.formatErrorResponse(error); } } } //# sourceMappingURL=locations-and-languages.js.map