MCP App
This text introduces the Model Context Protocol (MCP) for AI interaction, exploring Google Apps Script (GAS) as a server option. It shows feasibility with a sample but notes the lack of a GAS SDK, aiming to encourage understanding and development.
What is MCP App?
MCP App is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this text introduces the model context protocol (mcp) for ai interaction, exploring google apps script (gas) as a server option. it shows feasibility with a sample but notes the lack of a gas sdk, aim...
This text introduces the Model Context Protocol (MCP) for AI interaction, exploring Google Apps Script (GAS) as a server option. It shows feasibility with a sample but notes the lack of a GAS SDK, aiming to encourage understanding and development.
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- This text introduces the Model Context Protocol (MCP) for AI
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcpappConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP App
MCPApp is a Google Apps Script library that lets developers build and deploy MCP (Model Context Protocol) servers entirely within Google's serverless infrastructure — no separate host or container required. It implements the MCP protocol specification so that a Google Apps Script web app can respond to MCP clients (like Gemini CLI or Claude Desktop) using simple HTTP endpoints. Developers use it to expose Google Workspace data — Sheets, Docs, Calendar, Gmail — as MCP tools that AI assistants can query and manipulate directly.
Prerequisites
- A Google account with access to Google Apps Script (script.google.com)
- Basic familiarity with Google Apps Script (JavaScript-based)
- An MCP-compatible client such as Gemini CLI, Claude Desktop, or any client supporting HTTP/SSE transport
- The MCPApp library script ID to add as a GAS library dependency
Open Google Apps Script
Go to script.google.com and create a new standalone script project, or open an existing Google Workspace project (linked to a Sheet, Doc, etc.) where you want to add MCP capabilities.
Add MCPApp as a library
In your Apps Script project, click Libraries (+), search for the MCPApp library by its script ID, select the latest version, and add it to your project.
Implement your MCP server entry point
Create a doPost function that initializes MCPApp with an access key and registers your tools. MCPApp handles all protocol-level routing (initialize, tools/list, tools/call, prompts/list) automatically.
function doPost(e) {
const mcp = new MCPApp.mcpApp({ accessKey: "your-secret-key" });
mcp.addTool({
name: "get_spreadsheet_data",
description: "Returns data from a Google Sheet",
inputSchema: { type: "object", properties: { range: { type: "string" } } },
handler: (args) => SpreadsheetApp.getActiveSheet().getRange(args.range).getValues()
});
return mcp.handle(e);
}Deploy as a Web App
Click Deploy → New deployment → Web App. Set 'Execute as' to yourself and 'Who has access' to Anyone (or your organization). Copy the deployment URL.
Configure your MCP client
Add the deployed web app URL to your MCP client configuration. For clients that support HTTP/SSE MCP servers, point them directly at the deployment URL.
{
"mcpServers": {
"mcpapp": {
"url": "https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec"
}
}
}Test with curl
Verify your MCP server responds correctly by sending a tools/list request via curl before connecting a full client.
curl -L "https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'MCP App Examples
Client configuration
MCP client configuration pointing to a Google Apps Script web app deployment that hosts an MCPApp server.
{
"mcpServers": {
"mcpapp-gas": {
"url": "https://script.google.com/macros/s/AKfycbxXXXXXXXXXXXXXXXXXXXXX/exec"
}
}
}Prompts to try
Example prompts for interacting with Google Workspace data through an MCPApp-powered server.
- "Read the data from cells A1:C10 in my active spreadsheet."
- "List all the tools available on this MCP server."
- "Summarize the contents of the Google Doc linked to this project."
- "What calendar events do I have tomorrow according to the MCP server?"
- "Call the get_spreadsheet_data tool with range B2:D5."Troubleshooting MCP App
Apps Script web app returns a 401 or permission error
In the deployment settings, ensure 'Who has access' is set to 'Anyone' (for public access) or 'Anyone within [organization]'. If you're using an access key, verify it matches what you passed to MCPApp.
MCP client receives an empty tools list
Check that your doPost function is correctly calling mcp.addTool() before mcp.handle(e). Also confirm the deployment is up to date — each code change requires a new deployment version in Apps Script.
Concurrent request errors or LockService failures
MCPApp uses Google's LockService by default to serialize concurrent requests. If you need higher throughput (under 30 concurrent requests), disable it by passing lock: false to the constructor: new MCPApp.mcpApp({ accessKey: 'key', lock: false }).
Frequently Asked Questions about MCP App
What is MCP App?
MCP App is a Model Context Protocol (MCP) server that this text introduces the model context protocol (mcp) for ai interaction, exploring google apps script (gas) as a server option. it shows feasibility with a sample but notes the lack of a gas sdk, aiming to encourage understanding and development. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP App?
Follow the installation instructions on the MCP App GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP App?
MCP App works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP App free to use?
Yes, MCP App is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP App Alternatives — Similar Cloud Services Servers
Looking for alternatives to MCP App? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP App in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP App?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.