</>MCP Agents Market
Plugin

clasp

by google5.8kTypeScriptUpdated 2026-08-28

🔗 Command Line Apps Script Projects

Claude Code

Clasp is a command-line tool for developing Google Apps Script projects locally that can be integrated as a Claude Code plugin. It enables developers to write, test, and deploy Apps Script code using their preferred local development environment and source control systems instead of the browser-based script.google.com editor. When installed as a plugin, clasp brings Apps Script project management, deployment versioning, and remote function execution directly into Claude-powered coding sessions. The tool automatically syncs local files with Google's cloud-based Apps Script platform and supports structured code organization with folders.

Key Features

Local Apps Script development with source control integration and collaboration support
Automated conversion between flat script.google.com projects and organized local folder structures
Deployment version management with create, update, and view operations for multiple deployment targets
Remote function execution from command line with OAuth scope management and parameter passing
Watch mode for automatic push on file changes during active development
Multiple user account support for switching between Google credentials
Integration with Claude Code as an MCP server or direct plugin installation
Cloud Logging integration for viewing console.log output from deployed scripts

Use Cases

  • 01Developing Google Workspace add-ons for Sheets, Docs, Slides, or Forms with modern tooling
  • 02Managing Apps Script automation projects under version control with Git
  • 03Building and deploying web apps powered by Apps Script with local TypeScript/bundler workflows
  • 04Collaborating on shared Apps Script projects with team members using standard development practices
  • 05Testing and debugging Apps Script functions locally before cloud deployment
  • 06Automating CI/CD pipelines for Apps Script projects with service account credentials

Related Plugins

View more

clasp — FAQ

What is clasp and what does it do?+

Clasp (Command Line Apps Script Projects) is a tool for developing Google Apps Script projects locally instead of in the browser. It synchronizes your local code with Google's cloud platform, manages deployments, and can be integrated into Claude Code as a plugin for AI-assisted Apps Script development.

How do I install clasp as a Claude Code plugin?+

Run '/plugin install @google/clasp' in Claude Code CLI to install it directly from the repository. Alternatively, use 'claude mcp add clasp -- npx -y @google/clasp mcp' for manual MCP server configuration. Before use, you must enable the Google Apps Script API at script.google.com/home/usersettings and run 'clasp login'.

What are the prerequisites for using clasp?+

You need Node.js version 22.0.0 or higher and a Google account. You must enable the Google Apps Script API through the Google settings page and authenticate with 'clasp login'. For advanced features like logs and API management, you need to associate your script with a Google Cloud Platform project.

Does clasp work with Claude Desktop or other AI clients?+

Clasp is designed as a Claude Code plugin and can also work as an MCP server in Gemini CLI. The README specifically documents installation methods for Claude Code CLI and mentions MCP server mode as an experimental feature for coding agents.

Is clasp free to use?+

Yes, clasp is free and open source software maintained by Google. However, it requires a Google account and interacts with Google Apps Script and Google Cloud Platform, which have their own usage limits and pricing for advanced features.

Can I use my own Google Cloud credentials with clasp?+

Yes, you can bring your own OAuth credentials using 'clasp login --creds <file>' with a desktop application client created in Google Cloud Console. This is recommended for organizations that restrict third-party app authorization or require specific compliance controls.

How do I install clasp?+

Open the source repository on GitHub and follow its README. clasp is a plugin — MCP Agents Market links you directly to the official repo.

Is clasp free?+

clasp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches