gsap-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gsap-mcpGenerate GSAP code to animate opacity of .hero from 0 to 1 in 1 second"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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, danscrollTrigger.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:
zodv3
Cara Instalasi & Konfigurasi
1. Instalasi Dependensi Lokal
git clone https://github.com/itzd-dev/gsap-mcp.git
cd gsap-mcp
npm install2. 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 |
| Menghasilkan kode animasi GSAP presisi. |
|
| Memvalidasi sintaks CSS selector sebelum animasi dibuat. |
|
| Mencari dokumentasi GSAP v3 offline di memori lokal. |
|
| Mengambil dokumentasi realtime dari situs web resmi GSAP. |
|
| Mendapatkan referensi API detail untuk metode/properti GSAP. |
|
| Mengambil panduan praktik terbaik (performa, React, ScrollTrigger). |
|
| Memberikan solusi untuk masalah animasi yang sering terjadi. |
|
| Menghasilkan kode boilerplate setup GSAP per framework. |
|
| Menampilkan daftar seluruh plugin GSAP (Free & Club). |
|
| Referensi lengkap fungsi easing GSAP beserta deskripsinya. |
|
Pengujian & Verifikasi (Test Suite)
Server ini dilengkapi dengan test suite otomatis untuk memverifikasi keabsahan sintaksis dan tool handler.
Jalankan perintah pengujian:
npm testOutput 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for agentverse documentation, generated by doc2mcp.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.61Apache 2.0
- AlicenseBqualityCmaintenanceEnables 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.6355 npm4MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that gives AI agents real browser capabilities including screenshotting, action execution, data extraction, and multi-persona auditing for frontend validation.23 npm6MIT
- AlicenseNot gradedqualityDmaintenanceAn 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.5 npmISC