loading…
Search for a command to run...
loading…
Provides AI assistants with comprehensive access to the Anime.js animation library, including API coverage, documentation, examples, and performance tips.
Provides AI assistants with comprehensive access to the Anime.js animation library, including API coverage, documentation, examples, and performance tips.
A Model Context Protocol (MCP) server providing AI assistants with comprehensive access to Anime.js animation library components, APIs, examples, and documentation.
npm install -g anime-js-mcp-server
npx anime-js-mcp-server
# Start the server
npx anime-js-mcp-server
# With GitHub API token for enhanced features
npx anime-js-mcp-server --github-api-key YOUR_GITHUB_TOKEN
export GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here
export LOG_LEVEL=info # debug, info, warn, error
# Get started with Anime.js
"How do I create a basic slide-in animation?"
# Explore specific features
"Show me timeline examples for sequential animations"
# Search for patterns
"Find examples with stagger effects"
# Get performance tips
"How do I optimize animations for mobile?"
| Tool | Description | Parameters |
|---|---|---|
get_anime_component |
Get component documentation | componentName (required) |
list_anime_components |
List all components | category (optional) |
get_anime_example |
Get code example | exampleType (required) |
search_anime_examples |
Search examples | query (required) |
get_anime_docs |
Get documentation | topic (required) |
anime, timeline)stagger, random, set)path, morphing)basic-transform - Simple transform animationstimeline-sequence - Sequential timeline animationsstagger-grid - Grid-based stagger effectssvg-path - SVG path animationstext-animation - Text effectselastic-bounce - Physics-based easingmorphing - CSS property morphingkeyframes - Complex keyframe animationsgetting-started - Installation and basic usageanimation-controls - Play, pause, seek controlseasing - All easing functions and custom curvesperformance - Optimization best practicestimeline - Timeline and sequencingstagger - Stagger effects and patternsIf you have Claude MCP CLI installed, you can add the server with a single command:
claude mcp add anime-js --scope user --cmd /c npx anime-js-mcp-server
With GitHub token for enhanced features:
claude mcp add anime-js --scope user --cmd /c npx anime-js-mcp-server --env GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here
Alternatively, add to your Claude Desktop configuration manually:
{
"mcpServers": {
"anime-js": {
"command": "npx",
"args": ["anime-js-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here"
}
}
}
}
The Anime.js MCP Server integrates seamlessly with GitHub Copilot through the Model Context Protocol, providing enhanced animation development capabilities directly in your IDE.
Install GitHub Copilot Extension (if not already installed):
code --install-extension GitHub.copilot
code --install-extension GitHub.copilot-chat
Configure MCP Server in VS Code:
Create or update your VS Code settings file (.vscode/settings.json in your workspace or global settings):
{
"github.copilot.chat.mcpServers": {
"anime-js": {
"command": "npx",
"args": ["anime-js-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here",
"LOG_LEVEL": "info"
}
}
}
}
Using with GitHub Copilot Agent Mode:
With the server configured, you can use natural language prompts in Copilot Chat:
@workspace Use the anime-js MCP server to create a staggered grid animation for my portfolio gallery
@workspace Show me how to implement elastic bounce animations using the anime-js examples
@workspace Get anime.js timeline documentation and create a sequential loading animation
Enable GitHub Copilot Plugin
Configure MCP Settings:
In your IDE settings, add MCP server configuration:
{
"copilot.chat.mcpServers": {
"anime-js": {
"command": "npx",
"args": ["anime-js-mcp-server"]
}
}
}
For production environments, you can deploy the MCP server remotely:
{
"github.copilot.chat.mcpServers": {
"anime-js-remote": {
"url": "https://your-server.com/mcp",
"headers": {
"Authorization": "Bearer your-api-key"
}
}
}
}
With MCP integration, GitHub Copilot can:
The Anime.js MCP Server works perfectly with Google's Gemini CLI, enabling powerful AI-driven animation development workflows.
Install Gemini CLI:
npm install -g @google-ai/gemini-cli
Configure the MCP Server:
Add to your Gemini CLI configuration file (~/.gemini/settings.json):
{
"mcpServers": {
"anime-js": {
"command": "npx",
"args": ["anime-js-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here",
"LOG_LEVEL": "info"
},
"transport": "stdio"
}
}
}
Alternative: Direct Command Configuration:
gemini config add-mcp-server anime-js npx anime-js-mcp-server
Once configured, you can leverage the full power of Gemini with Anime.js knowledge:
# Interactive animation development
gemini chat "Create a morphing SVG animation using anime.js for my logo"
# Get specific examples
gemini chat "Show me a stagger grid animation example and explain how to customize timing"
# Performance optimization
gemini chat "Analyze my animation code and suggest performance improvements using anime.js best practices"
# Complex workflow automation
gemini chat "Create a complete animation system with multiple timelines for my web app"
The Gemini CLI's ReAct (Reason and Act) loop combined with the Anime.js MCP server enables:
Enable agent mode for autonomous animation development:
# Start agent mode with anime.js capabilities
gemini agent --enable-mcp anime-js
# Example agent workflows
gemini agent "Implement a complete page transition system with anime.js"
gemini agent "Create responsive animations that adapt to screen size"
gemini agent "Build an interactive animation playground with controls"
For team environments or CI/CD integration:
{
"mcpServers": {
"anime-js-team": {
"url": "wss://your-team-server.com/mcp/anime-js",
"transport": "websocket",
"headers": {
"Authorization": "Bearer team-api-key"
}
}
}
}
Combining Gemini CLI with the Anime.js MCP Server provides:
# Clone and install
git clone https://github.com/juliangarnier/anime-js-mcp-server.git
cd anime-js-mcp-server
npm install
# Build and run
npm run build
npm start
# Development mode
npm run dev
The server follows MCP best practices with:
We welcome contributions! Please:
MIT License - see LICENSE file for details.
This package is configured for publishing to npm. Follow these steps to publish:
@animejs scopenpm loginBuild the package:
npm run build
Test the package (optional but recommended):
npm test
Publish to npm:
npm publish
The prepublishOnly script will automatically:
package.json before publishingmajor.minor.patchnpm version to automatically update and tag:npm version patch # for bug fixes
npm version minor # for new features
npm version major # for breaking changes
The package is configured with:
anime-js-mcp-server./build/index.jsanime-js-mcp-server commandbuild/, README.md, LICENSEnpm config get registrynpm whoamipackage.jsonBuilt with ❤️ for the animation community
Выполни в терминале:
claude mcp add anime-js-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.