Skip to main content
Glama
0x8687

Meme MCP Server

by 0x8687

get-gmail-settings

Retrieve Gmail settings for integration with the Meme MCP Server, enabling seamless AI-driven meme generation using the ImgFlip API.

Instructions

Get Gmail settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Inline handler and registration for the 'get-gmail-settings' tool. Retrieves Gmail settings by executing the 'GMAIL_GET_SETTINGS' action using the VercelAIToolSet (Composio integration). No input schema defined (empty object). Returns formatted settings or error message.
    server.tool("get-gmail-settings", "Get Gmail settings", {}, async (args, extra) => { try { const userAddress = "default-user"; const result = await toolset.executeAction({ action: "GMAIL_GET_SETTINGS", entityId: userAddress, params: {} }); if (result.successful) { const settings = result.data?.response_data as any; return { content: [{ type: "text", text: `⚙️ Gmail Settings:\n\n${JSON.stringify(settings, null, 2)}` }], }; } else { return { content: [{ type: "text", text: `❌ Failed to get Gmail settings: ${result.error || 'Unknown error'}` }], }; } } catch (error) { console.error('Error getting Gmail settings:', error); return { content: [{ type: "text", text: `Error getting Gmail settings: ${error instanceof Error ? error.message : String(error)}` }], }; } });

Latest Blog Posts

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/0x8687/mcp-gmail-v1'

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