Skip to main content
Glama
index.ts598 B
import { type Tool } from "@modelcontextprotocol/sdk/types.js"; export const REFRESH_TOKENS_TOOL: Tool = { name: "google_oauth_refresh_tokens", description: "Refresh OAuth access tokens and update them in the token file", inputSchema: { type: "object", properties: {}, }, }; export const REAUTHENTICATE_TOOL: Tool = { name: "google_oauth_reauthenticate", description: "Delete existing tokens and start fresh OAuth authentication flow", inputSchema: { type: "object", properties: {}, }, }; export const oauthTools = [REFRESH_TOKENS_TOOL, REAUTHENTICATE_TOOL];

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vakharwalad23/google-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server