dataforseo-mcp-server
Version:
CLI and MCP server for DataForSEO API — browse documentation and make authenticated API requests
24 lines (23 loc) • 1.1 kB
TypeScript
import type { Command } from "commander";
import { z } from "zod";
import { BaseTool } from "./base-tool.js";
export declare const docsIndexMcpInputSchema: z.ZodObject<{
section: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const docsIndexCliInputSchema: z.ZodObject<{
section: z.ZodOptional<z.ZodString>;
cacheDir: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type DocsIndexMcpInput = z.infer<typeof docsIndexMcpInputSchema>;
export type DocsIndexCliInput = z.infer<typeof docsIndexCliInputSchema>;
export declare class DocsIndexTool extends BaseTool<DocsIndexMcpInput> {
readonly name = "docs_index";
readonly title = "Docs Index";
readonly description = "Fetch the DataForSEO API documentation index (llms.txt), optionally filtered by section";
readonly schema: z.ZodObject<{
section: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
protected execute(input: DocsIndexMcpInput): Promise<import("./types.js").ToolResult>;
invokeCli(args: unknown): Promise<import("./types.js").ToolResult>;
registerCli(docs: Command): void;
}