Skip to main content
Glama
GSAP MCP Server

GSAP MCP Server

GSAP MCP Server

A comprehensive GSAP animation MCP server for Claude Code integration, providing seamless access to all GSAP features through the Model Context Protocol.

Features

Core Animation Tools

  • gsap-animate: Create animations using gsap.to(), gsap.from(), and gsap.fromTo()

  • gsap-set: Instantly set CSS properties without animation

  • gsap-timeline: Create and manage complex animation sequences

  • gsap-kill-tweens: Stop and control running animations

Plugin Integration

  • gsap-scroll-trigger: Scroll-based animations with ScrollTrigger

  • gsap-motion-path: Animate elements along custom paths

  • gsap-draggable: Create interactive draggable elements

  • gsap-morph-svg: SVG shape morphing (premium plugin)

  • gsap-split-text: Advanced text animations (premium plugin)

Effect Libraries

  • gsap-page-transition: Smooth page transitions

  • gsap-parallax: Parallax scrolling effects

  • gsap-stagger: Advanced staggered animations

Utility Tools

  • gsap-selector: Smart element selection and validation

  • gsap-easing: Explore and create custom easing functions

  • gsap-performance: Monitor and optimize animation performance

Resource Management

  • Animation presets and templates

  • GSAP API documentation

  • Code examples and tutorials

  • Performance optimization guides

Related MCP server: GSAP-Animation-Generate

Installation

npm install gsap-mcp-server

Usage with Claude Code

  1. Add the server to your Claude Code configuration:

claude mcp add gsap-server /path/to/gsap-mcp-server
  1. Or add to your settings.json:

{
  "mcpServers": {
    "gsap-server": {
      "command": "node",
      "args": ["/path/to/gsap-mcp-server/dist/index.js"]
    }
  }
}
  1. Start using GSAP tools in Claude Code:

Use the gsap-animate tool to create a fade-in animation for .hero-title

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

# Lint code
npm run lint

API Reference

Basic Animation

// Generated code example
import { gsap } from 'gsap';

gsap.to('.element', {
  x: 100,
  opacity: 1,
  duration: 1,
  ease: 'power2.out'
});

Timeline Animation

// Generated code example
const tl = gsap.timeline();
tl.to('.box1', { x: 100, duration: 1 })
  .to('.box2', { y: 100, duration: 1 }, '-=0.5');

ScrollTrigger Integration

// Generated code example
gsap.to('.parallax', {
  y: -100,
  ease: 'none',
  scrollTrigger: {
    trigger: '.container',
    start: 'top bottom',
    end: 'bottom top',
    scrub: true
  }
});

Performance Optimization

The server includes built-in performance monitoring and optimization suggestions:

  • GPU acceleration recommendations

  • Memory usage tracking

  • Frame rate monitoring

  • Animation complexity analysis

License

MIT

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.

Support

For support and questions:

  • Check the documentation

  • Open an issue on GitHub

  • Visit the GSAP community forums


🎯 Generated with Claude Code - Bringing GSAP animations to your development workflow with intelligent assistance.

Available Tools

10 tools
gsap-animateB

Create GSAP animations using to(), from(), or fromTo() methods

Inputs: type (required), duration (required), selector (required), properties (required), +3 more.

gsap-draggableC

Create draggable elements with GSAP Draggable

Inputs: selector (required).

gsap-easingD

Explore GSAP easing functions

Inputs: action (required).

gsap-morph-svgB

Morph SVG shapes (requires GSAP Club membership)

Inputs: selector (required).

gsap-page-transitionC

Create page transitions with GSAP

Inputs: type (required).

gsap-parallaxC

Create parallax scrolling effects

Inputs: selector (required).

gsap-performanceC

Monitor GSAP animation performance

Inputs: action (required).

gsap-selectorC

Smart element selection and validation for GSAP animations

Inputs: action (required), selector.

gsap-split-textC

Split text for animations (requires GSAP Club membership)

Inputs: selector (required).

gsap-staggerC

Create staggered animations

Inputs: selector (required), stagger.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a clear and distinct purpose, covering different GSAP features like animation creation, draggable elements, SVG morphing, text splitting, page transitions, parallax, stagger, element selection, and easing exploration. No overlap or ambiguity.

    Naming Consistency4/5

    All tools share a consistent 'gsap-' prefix, but the second part varies between nouns (e.g., 'performance', 'draggable') and verb phrases (e.g., 'animate', 'morph-svg'). The pattern is mostly predictable, with minor mix of styles.

    Tool Count5/5

    With 10 tools, the server covers a broad range of GSAP's core and advanced features without being overwhelming. Each tool serves a distinct and useful purpose, making the set well-scoped for a GSAP-focused MCP server.

    Completeness3/5

    The set covers basic animation, advanced effects (draggable, parallax, stagger), and utilities (selector, easing). However, notable gaps exist: no timeline management (e.g., gsap-timeline) and no ScrollTrigger plugin, which are essential for complex GSAP workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A comprehensive GSAP animation generation tool that offers AI-driven intent analysis, full API coverage, and production-ready animation modes, helping developers quickly create high-performance animations.
      6
      1
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI models to generate production-ready, 60fps-optimized GSAP animation code from natural language requests. It provides expert-level tools for creating complex sequences, debugging performance issues, and setting up GSAP within modern web frameworks.
      6
      68 npm
      5
      MIT