tanaike

The Thinker

Gmail Processing using MCP Network Powered by Google Apps Script

Gists Abstract This report details an MCP network using Google Apps Script for both server and client, enabling automated, secure Gmail processing to boost efficiency. Introduction Recently, I published a report titled “Building Model Context Protocol (MCP) Server with Google Apps Script,” which you can find here. In that initial report, I demonstrated the feasibility of creating an MCP server using Google Apps Script, with Claude Desktop serving as the client.

Text-To-Speech (TTS) using Gemini API with Google Apps Script

Gists Description This script provides a simple example for generating Text-To-Speech (TTS) using the Gemini API within Google Apps Script. The Gemini API generates audio data in the audio/L16;codec=pcm;rate=24000 format, which is not directly playable. Since there’s no built-in method to convert this to a standard audio/wav format, this sample script includes a custom function to handle the conversion. Limitations and Considerations The provided convertL16ToWav_ function is specifically designed for the audio/L16;codec=pcm;rate=24000 MIME type.