MCPApp

by tanaikech

280 downloads
Not rated
GitHub

About

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.

Details

Author
tanaikech
Downloads
280
Categories
Other, Productivity

- Provides a GAS library to deploy MCP servers easily.
- Supports MCP tools, resources, and prompts.
- Enables AI to access Google Drive and Google Calendar data.
- Includes sample functions for file search and calendar schedule retrieval.
- Uses JSON-RPC 2.0 for client-server communication.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCPApp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcpapp": {
            "gas_web_apps": {
                "command": "npx",
                "args": [
                    "mcp-remote",
                    "https://script.google.com/macros/s/###/exec?accessKey=sample"
                ],
                "env": []
            }
        }
    }
}

McpServers

{
    "gas_web_apps": {
        "command": "npx",
        "args": [
            "mcp-remote",
            "https://script.google.com/macros/s/###/exec?accessKey=sample"
        ],
        "env": []
    }
}

MCPApp

<a name="top"></a> MIT License <a name="overview"></a>
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.