Ultimate GSAP Master MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add gsap-mcp -- npx -y @vinhnguyen/gsap-mcp
README.md

Generate production-ready, 60fps-optimized GSAP animation code.

⚡ Ultimate GSAP Master MCP Server

The Ultimate GSAP Master MCP Server is a high-performance Model Context Protocol (MCP) implementation that grants AI models (like Claude) "surgical precision" over the GreenSock Animation Platform (GSAP).

It transforms natural language animation requests into production-ready, 60fps-optimized code. Whether you need a complex scroll-triggered sequence, character-by-character text reveals, or physics-based Draggable interfaces, this server provides the expert-level knowledge and implementation logic required.

✨ Features

  • 🧠 Advanced Intent Analysis: Understands complex natural language requests (e.g., "Make these cards fade in one by one with a slight bounce when they hit the middle of the screen").
  • 🚀 Production-Ready Code: Generates code with GPU acceleration (force3D), memory management (clearProps), and proper framework lifecycle handling (React useGSAP, cleanup, etc.).
  • 📚 Complete API Database: Deep knowledge of every core method, easing function, and plugin (ScrollTrigger, SplitText, MorphSVG, DrawSVG, etc.).
  • 🔧 Performance Optimization: Automatically refactors laggy animations into high-performance 60fps sequences.
  • 🛠️ Expert Debugging: Analyzes code snippets for layout thrashing, missing plugin registrations, or logic errors.
  • 🎁 All Plugins Included: Knowledge base updated for the GSAP era where SplitText, MorphSVG, and DrawSVG are now free.
  • 🧈 Lenis Smooth Scrolling: Built-in support for Lenis integration with ScrollTrigger, including setup, React hooks, and best practices.

🛠 Tools Included

Tool Description
understand_and_create_animation The flagship tool. Converts any animation idea into fully functional GSAP code.
get_gsap_api_expert Provides deep technical documentation and examples for any GSAP method or plugin.
generate_complete_setup Generates boilerplate for React, Next.js, Vue, or Vanilla, including plugin registration.
debug_animation_issue Identifies and fixes bugs, performance bottlenecks, and logic errors.
optimize_for_performance Refactors existing GSAP code to ensure 60fps smoothness and GPU acceleration.
create_production_pattern Generates battle-tested patterns like Hero sequences, loading screens, and scroll systems.

🚀 Installation & Setup

Since this package is published as @vinhnguyen/gsap-mcp, you can use npx to run it without manual installation.

1. Claude Desktop Configuration

Open your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Add the Server

Add the following entry to the mcpServers section:

{
  "mcpServers": {
    "gsap-master": {
      "command": "npx",
      "args": [
        "-y",
        "@vinhnguyen/gsap-mcp"
      ]
    }
  }
}

3. Restart Claude

Restart the Claude Desktop application, and you will see a ⚡ icon indicating the GSAP Master tools are ready to use.

Continue.dev (VS Code Extension)

Add the following to your ~/.continue/config.yaml:

mcpServers:
  - name: gsap-mcp
    command: npx
    args:
      - "-y"
      - "@vinhnguyen/gsap-mcp"

📖 Usage Examples

1. Natural Language Creation

User: "I want a hero section where the title letters pop up randomly, and then the subtitle slides in from the left once the title is finished."

AI (using understand_and_create_animation): Will generate a gsap.timeline() using SplitText for the characters, applying a back.out ease and a staggered random start time, followed by the subtitle animation.

2. Performance Refactoring

User: "My scroll animation is laggy on mobile. Here is the code: [code snippet animating top and left properties]."

AI (using optimize_for_performance): Will refactor the code to use x and y (transforms), add force3D: true, and implement ScrollTrigger.batch for better performance.

3. Setup Generation

User: "Set up a new Next.js project with ScrollTrigger and SplitText."

AI (using generate_complete_setup): Will provide the terminal commands for installation, the gsap.registerPlugin boilerplate, and a useGSAP wrapper for your components.

📈 Performance Standards

Every piece of code generated by this server adheres to the following standards:

  • GPU Acceleration: Uses x, y, scale, and rotation instead of layout properties (top, width, height).
  • Memory Management: Includes clearProps and proper cleanup in framework hooks.
  • Reduced Motion: Respects prefers-reduced-motion media queries.
  • Efficiency: Uses GSAP's internal ticker and optimized batching for scroll events.

📄 License

MIT


Created by Vinh Nguyen - Powered by GSAP Surgical Precision.

Tools (6)

understand_and_create_animationConverts any animation idea into fully functional GSAP code.
get_gsap_api_expertProvides deep technical documentation and examples for any GSAP method or plugin.
generate_complete_setupGenerates boilerplate for React, Next.js, Vue, or Vanilla, including plugin registration.
debug_animation_issueIdentifies and fixes bugs, performance bottlenecks, and logic errors.
optimize_for_performanceRefactors existing GSAP code to ensure 60fps smoothness and GPU acceleration.
create_production_patternGenerates battle-tested patterns like Hero sequences, loading screens, and scroll systems.

Configuration

claude_desktop_config.json
{"mcpServers": {"gsap-master": {"command": "npx", "args": ["-y", "@vinhnguyen/gsap-mcp"]}}}

Try it

Create a hero section where the title letters pop up randomly and the subtitle slides in from the left.
My scroll animation is laggy on mobile. Can you refactor this code to improve performance?
Set up a new Next.js project with ScrollTrigger and SplitText plugins.
How do I properly implement a cleanup function for GSAP animations in a React component?

Frequently Asked Questions

What are the key features of Ultimate GSAP Master?

Advanced intent analysis for natural language animation requests. Generates production-ready code with GPU acceleration and memory management. Deep knowledge base for GSAP core methods and plugins like ScrollTrigger and SplitText. Automated performance refactoring for 60fps smoothness. Built-in support for Lenis smooth scrolling integration.

What can I use Ultimate GSAP Master for?

Rapidly prototyping complex animation sequences for landing pages. Debugging and optimizing existing animation code that causes layout thrashing. Setting up boilerplate code for GSAP in modern frameworks like Next.js or Vue. Implementing physics-based Draggable interfaces with expert-level logic.

How do I install Ultimate GSAP Master?

Install Ultimate GSAP Master by running: npx -y @vinhnguyen/gsap-mcp

What MCP clients work with Ultimate GSAP Master?

Ultimate GSAP Master works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Ultimate GSAP Master docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare