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.

39 lines 1.33 kB
import { z } from 'zod'; import { BasePrompt } from '../../base.prompt.js'; export class SearchRelatedKeywordsPrompt extends BasePrompt { getName() { return 'dataforseo_labs_search_related_keywords_prompt'; } getTitle() { return 'DataForSEO Labs API Search Related Keywords Prompt'; } getDescription() { return 'Prompt for DataForSEO Labs API for search related keywords with specific criteria.'; } getParams() { return { keyword: z.string().default('email marketing').describe('related related keyword'), // location: z.string().optional(), // language: z.string().optional(), // competition: z.string().optional(), // searchVolume: z.number().optional(), }; } ; async handle(params) { const prompt = { description: `long tail prompts`, messages: [ { role: 'user', content: { type: 'text', text: `Find long-tail keywords related to '${params.keyword}' with low competition and at least 1,000 monthly searches in the US.` } } ] }; return prompt; } } //# sourceMappingURL=labs.prompt.js.map