UNPKG

dataforseo-mcp-server

Version:

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

18 lines (17 loc) • 514 B
export interface ApiRequestMiddlewareContext { method: string; path: string; body: string | undefined; } export interface ApiRequestMiddlewareResult { body: string | undefined; warnings: string[]; } /** * Pre-request middleware for api_request. Each middleware may rewrite the body * and/or emit warnings that are prepended to the tool response. */ export interface ApiRequestMiddleware { readonly name: string; apply(ctx: ApiRequestMiddlewareContext): ApiRequestMiddlewareResult; }