How do I install the MCPApp library?
Add the library to your Google Apps Script project using the project key `1TlX_L9COAriBlAYvrMLiRFQ5WVf1n0jChB6zHamq2TNwuSbVlI5sBUzh`. You can also copy and paste the library script directly.
@tanaikech
基本信息
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.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gas_web_apps": {
"command": "npx",
"args": [
"mcp-remote",
"https://script.google.com/macros/s/###/exec?accessKey=sample"
],
"env": {}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MCPApp is a Google Apps Script library that implements a Model Context Protocol (MCP) server, allowing AI applications to securely access and leverage data from Google Workspace services (Drive, Calendar, Sheets, etc.) through a standardized protocol.
Create a standalone or container-bound Google Apps Script project, install the MCPApp library using its project key (1TlX_L9COAriBlAYvrMLiRFQ5WVf1n0jChB6zHamq2TNwuSbVlI5sBUzh), then write a doPost function that calls new MCPApp.mcpApp({ accessKey: "sample" }).server(object) with a custom server response and function definitions. The sample shows how to implement tools, resources, and prompts.
Add the library to your Google Apps Script project using the project key `1TlX_L9COAriBlAYvrMLiRFQ5WVf1n0jChB6zHamq2TNwuSbVlI5sBUzh`. You can also copy and paste the library script directly.
The sample implements `tools/list`, `tools/call`, `resources/list`, `resources/read`, `prompts/list`, and `prompts/get` capabilities.
Yes, both standalone and container‑bound script types are supported.
MCPApp runs within Google Apps Script; no additional runtime or external dependencies are needed beyond the standard GAS services.
The server is exposed via a Google Web App (deployed as `doPost`). Authentication is handled by an `accessKey` passed to the `mcpApp` constructor; the sample uses `"sample"`.
不止于 CSS

Model Context Protocol Servers

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
A curated list of references for MLOps
Hindsight: Agent Memory That Learns
评论