clasp
🔗 Command Line Apps Script Projects
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
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 moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
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.