google-search-console-mcp-server
Version:
Model Context Protocol server for Google Search Console API - integrate with Claude Code and Claude Desktop
42 lines • 1.22 kB
TypeScript
/**
* Submit URL for Indexing Tool
* Request indexing or removal of a URL
*/
import { OAuth2Client } from '../types/index.js';
export declare const name = "submit_url_for_indexing";
export declare const description = "Submit a URL to Google for indexing or request URL removal (requires Indexing API enabled)";
export declare const inputSchema: {
type: string;
properties: {
url: {
type: string;
description: string;
};
type: {
type: string;
enum: string[];
description: string;
default: string;
};
};
required: string[];
};
interface SubmitUrlRequest {
url: string;
type?: 'URL_UPDATED' | 'URL_DELETED';
}
/**
* Handler for submitting URL indexing requests
* Uses Google Indexing API to notify Google about URL updates or deletions
*
* Note: Requires Indexing API to be enabled in Google Cloud Console
* Scope required: https://www.googleapis.com/auth/indexing
*/
export declare function handler(args: SubmitUrlRequest, authClient: OAuth2Client): Promise<{
content: {
type: string;
text: string;
}[];
}>;
export {};
//# sourceMappingURL=submit-url.d.ts.map