Skip to main content
Glama

GSAP MCP Server (Model Context Protocol)

GSAP MCP Server adalah server MCP lokal & global yang dirancang khusus untuk mempermudah AI Agent (seperti OpenCode, Claude Code, Cursor, dll.) dalam membuat kode animasi GSAP v3, mencari dokumentasi, memvalidasi sintaks selektor CSS, dan memberikan panduan praktik terbaik (best practices).


Fitur Utama

  • Pencarian Dokumentasi Hibrida: Pencarian dokumentasi instan secara offline dan fallback pencarian realtime (live fetch) langsung ke situs resmi gsap.com.

  • Generasi Kode Animasi: Menghasilkan kode GSAP untuk to, from, fromTo, timeline, stagger, dan scrollTrigger.

  • Validasi Selektor CSS: Memeriksa potensi bug sintaksis selector DOM dan masalah kompatibilitas cross-browser (seperti :has() atau kurung unclosed).

  • Panduan Best Practices & Debugging: Pembantu otomatis untuk mengatasi masalah animasi seperti animasi tidak jalan, ScrollTrigger macet, atau optimasi React/Vue/Svelte.

  • Efisiensi Token AI: Output teks yang sudah disanitasi dari HTML junk tag (<nav>, <style>, <script>) untuk menghemat context window AI.


Related MCP server: Ultimate GSAP Master MCP Server

Stack Teknologi

  • Runtime: Node.js (v18.0.0+) ES Modules

  • Protocol: @modelcontextprotocol/sdk (StdioServerTransport)

  • Validation: zod v3


Cara Instalasi & Konfigurasi

1. Instalasi Dependensi Lokal

git clone https://github.com/itzd-dev/gsap-mcp.git
cd gsap-mcp
npm install

2. Konfigurasi Global di OpenCode

Tambahkan konfigurasi berikut ke file konfigurasi global OpenCode Anda di ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "gsap": {
      "type": "local",
      "command": [
        "node",
        "/Users/odi/Documents/gsap-mcp/src/index.js"
      ],
      "enabled": true
    }
  }
}

3. Konfigurasi di Antigravity IDE / Claude Desktop

Tambahkan ke konfigurasi MCP Server Antigravity IDE (mcp_config.json):

{
  "mcpServers": {
    "gsap": {
      "command": "node",
      "args": [
        "/Users/odi/Documents/gsap-mcp/src/index.js"
      ]
    }
  }
}

Daftar Tools MCP (10 Tools)

Tool

Deskripsi

Argumen Utama

generate-animation

Menghasilkan kode animasi GSAP presisi.

type, target, duration, props, scrollTrigger, stagger, ease

validate-target

Memvalidasi sintaks CSS selector sebelum animasi dibuat.

target (string selector)

search

Mencari dokumentasi GSAP v3 offline di memori lokal.

query, category, limit

fetch-live-docs

Mengambil dokumentasi realtime dari situs web resmi GSAP.

path, maxCharacters

api

Mendapatkan referensi API detail untuk metode/properti GSAP.

name, includeExamples

best-practices

Mengambil panduan praktik terbaik (performa, React, ScrollTrigger).

topic

debug

Memberikan solusi untuk masalah animasi yang sering terjadi.

issue, context

setup

Menghasilkan kode boilerplate setup GSAP per framework.

framework, features

plugins

Menampilkan daftar seluruh plugin GSAP (Free & Club).

filter

easing

Referensi lengkap fungsi easing GSAP beserta deskripsinya.

type


Pengujian & Verifikasi (Test Suite)

Server ini dilengkapi dengan test suite otomatis untuk memverifikasi keabsahan sintaksis dan tool handler.

Jalankan perintah pengujian:

npm test

Output Pengujian:

📊 TEST SUMMARY
✅ Tools: 10/10
✅ Helpers: 12/12
✅ Imports: OK
🎉 ALL TESTS PASSED! Server ready to use.

Lisensi

MIT License - Bebas digunakan dan dikembangkan untuk proyek komersial maupun non-komersial.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    Last updated
    6
    1
    Apache 2.0
  • A
    license
    B
    quality
    C
    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.
    Last updated
    6
    25
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    An MCP server that provides tools to fetch live, version-accurate documentation, changelogs, examples, and method signatures for npm and PyPI packages, preventing AI coding agents from hallucinating stale APIs.
    Last updated
    32
    ISC

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itzd-dev/gsap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server