google-search-console-mcp-server
Version:
Model Context Protocol server for Google Search Console API - integrate with Claude Code and Claude Desktop
76 lines • 1.9 kB
TypeScript
/**
* Type definitions for Google Search Console MCP Server
*/
import { google } from 'googleapis';
export type OAuth2Client = InstanceType<typeof google.auth.OAuth2>;
export interface Site {
siteUrl: string;
permissionLevel: string;
}
export interface AnalyticsRequest {
siteUrl: string;
startDate: string;
endDate: string;
dimensions?: string[];
rowLimit?: number;
startRow?: number;
}
export interface AnalyticsRow {
keys?: string[];
clicks: number;
impressions: number;
ctr: number;
position: number;
}
export interface AnalyticsResponse {
rows: AnalyticsRow[];
responseAggregationType?: string;
}
export interface SitemapInfo {
path: string;
lastSubmitted?: string;
isPending?: boolean;
isSitemapsIndex?: boolean;
type?: string;
warnings?: string;
errors?: string;
contents?: Array<{
type: string;
submitted: string;
indexed: string;
}>;
}
export interface InspectionRequest {
siteUrl: string;
inspectionUrl: string;
}
export interface InspectionResult {
inspectionResult?: {
indexStatusResult?: {
verdict?: string;
coverageState?: string;
robotsTxtState?: string;
indexingState?: string;
lastCrawlTime?: string;
pageFetchState?: string;
googleCanonical?: string;
userCanonical?: string;
crawledAs?: string;
};
mobileUsabilityResult?: {
verdict?: string;
issues?: Array<{
issueType?: string;
message?: string;
}>;
};
richResultsResult?: {
verdict?: string;
detectedItems?: Array<{
richResultType?: string;
items?: any[];
}>;
};
};
}
//# sourceMappingURL=index.d.ts.map