UNPKG

dataforseo-mcp-server

Version:

CLI and MCP server for DataForSEO API — browse documentation and make authenticated API requests

27 lines (26 loc) • 1.23 kB
import type { Command } from "commander"; import { z } from "zod"; import { BaseTool } from "./base-tool.js"; export declare const docsSearchMcpInputSchema: z.ZodObject<{ url: z.ZodString; needCodeExample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, z.core.$strip>; export declare const docsSearchCliInputSchema: z.ZodObject<{ url: z.ZodString; needCodeExample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; cacheDir: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export type DocsSearchMcpInput = z.infer<typeof docsSearchMcpInputSchema>; export type DocsSearchCliInput = z.infer<typeof docsSearchCliInputSchema>; export declare class DocsSearchTool extends BaseTool<DocsSearchMcpInput> { readonly name = "docs_search"; readonly title = "Docs Search"; readonly description = "Fetch DataForSEO API documentation from a documentation URL"; readonly schema: z.ZodObject<{ url: z.ZodString; needCodeExample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, z.core.$strip>; protected execute(input: DocsSearchMcpInput): Promise<import("./types.js").ToolResult>; invokeCli(args: unknown): Promise<import("./types.js").ToolResult>; registerCli(docs: Command): void; }