gsap-mcp
Generates GSAP animation code tailored for Angular components, leveraging Angular's animation system integration.
Generates GSAP animation code tailored for React components, including hooks and integration patterns.
Generates GSAP animation code tailored for Svelte components, utilizing Svelte's reactive statements and actions.
Click on "Install 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 a fadeIn preset for .hero"
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
MCP server for generating GSAP animation code — no runtime dependency, pure static code generation.
Installation
npm install
npm run buildRelated MCP server: Ultimate GSAP Master MCP Server
Configuration
Add to your Claude Desktop config (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"gsap": {
"command": "node",
"args": ["/absolute/path/to/gsap-mcp/dist/index.js"]
}
}
}Tools (18)
Core (4)
Tool | Description | Example Input |
| Generate gsap.to/from/fromTo tweens |
|
| Build multi-step GSAP timelines |
|
| Look up and preview GSAP easing functions |
|
| Generate common animation presets (fadeIn, slideUp, etc.) |
|
Plugins (7)
Tool | Description | Example Input |
| ScrollTrigger-powered scroll animations |
|
| SplitText character/word/line animations |
|
| SVG shape morphing with MorphSVGPlugin |
|
| SVG stroke drawing animations |
|
| Animate elements along motion paths |
|
| FLIP animation state transitions |
|
| Text replacement and scramble effects |
|
Dev (7)
Tool | Description | Example Input |
| Static analysis for performance, best practices, accessibility |
|
| Play/pause/reverse/seek control code |
|
| GSAP utility methods (clamp, mapRange, snap, etc.) |
|
| Responsive animations with gsap.matchMedia() |
|
| Debug utilities: markers, GSDevTools, logging, slow-motion |
|
| FPS monitoring, code optimization, frame profiling |
|
| Framework-specific code for React/Vue/Angular/Svelte |
|
Architecture
gsap-mcp/
├── src/
│ ├── index.ts # Entry point — registers all 18 tools
│ ├── generators/
│ │ ├── code-builder.ts # Fluent builder for imports + body assembly
│ │ └── templates.ts # formatGsapVars, formatPosition, wrapInFunction
│ ├── knowledge/
│ │ ├── easings.ts # Easing function database
│ │ ├── properties.ts # CSS/GSAP property mappings + performance data
│ │ └── best-practices.ts # Optimization rules, performance tips, pitfalls
│ └── tools/
│ ├── core/ # Tween, timeline, easing, presets
│ ├── plugins/ # ScrollTrigger, SplitText, MorphSVG, etc.
│ └── dev/ # Analyze, controls, utilities, debug, etc.
├── tests/ # Mirrors src/ structure, 23 test files
├── dist/ # Built output (tsc)
├── package.json
└── tsconfig.jsonKey design decisions:
No GSAP runtime dependency — the server generates code strings using static knowledge bases and template builders. It never imports or executes GSAP itself.
Testable core functions — every tool exports a
generateXxxCode(params)function that is directly testable without MCP infrastructure.MCP SDK pattern — each tool exports a
registerXxxTool(server)function that callsserver.registerTool()with Zod v4 input schemas.CodeBuilder — fluent builder that manages imports, plugin registration, and body lines, then assembles them with
build()(full) orbuildSnippet()(body only).
Development
# Run all tests
npx vitest run
# Watch mode
npx vitest
# Type-check
npx tsc --noEmit
# Build
npx tsc
# Dev mode (tsx)
npx tsx src/index.tsAdding a new tool
Create
src/tools/<category>/<name>.tsExport
generateXxxCode(params): XxxResult(testable core logic)Export
registerXxxTool(server: McpServer)(MCP registration)Add import + register call in
src/index.tsCreate
tests/tools/<name>.test.tsRun
npx tsc --noEmit && npx vitest run
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/bl00dclot/gsap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server