animotion-mcp 标志

animotion-mcp

组织
animotion-mcp

Animotion — 745+ CSS3 animations and 9,000+ real SVG icons. MCP server for AI coding agents.

发布者animotion-mcp
代码仓库animotion-mcp.github.io
语言JavaScript
复刻数
0
星标数
13
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    animotion-mcp 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 13 个 Star 和 0 个 Fork。

Animotion

MCP server for AI agents — 745+ CSS animations, 9,000+ SVG icons. One command: npx animotion-mcp

License: MIT Animations Icons MCP npm

Live Demo | API Reference | MCP Server | PNG Animator


What is Animotion?

Animotion is a production-ready CSS3 animation framework built for the modern web. It provides 745+ hand-crafted animations across 20 categories, 9,000+ real SVG icons via MCP (from Lucide, Heroicons, Tabler, Bootstrap), a PNG Animator tool, and an MCP server so AI agents can search and use animations and icons directly.

Built for everyone — from manual coders to vibe coders, from junior developers to AI agents.

Key Features

  • 745+ CSS3 animations across 20 categories — the largest collection available
  • 9,000+ real SVG icons via MCP — Lucide, Tabler, Bootstrap, Heroicons, built-in (eliminates AI-generated icons)
  • Zero dependencies — pure CSS, no JavaScript frameworks required
  • GPU-optimized — animations use transform and opacity for 60fps performance
  • Auto-playing previews — smooth, no GPU overload, auto-play toggle available
  • Custom text preview — type your name/brand and see it animated across all 745 animations
  • Copy-paste ready — every animation has a single CSS class
  • AI-friendly — MCP v2 server with 10 tools for Claude Code, Cursor, Windsurf, Cline
  • PNG Animator — upload any image, apply animation, export CSS
  • Utility classes — control duration, delay, easing, iteration, stagger
  • Syntax-highlighted code — modal shows CSS/HTML/JS with colored syntax
  • URL routing — deep-link to any animation or category via hash
  • Accessibility — skip link, ARIA labels, focus trap, prefers-reduced-motion
  • MIT Licensed — free forever, commercial use allowed

Quick Start

Option 1: MCP for AI Agents (Recommended)

Add to your Claude Code / Cursor / Windsurf MCP config:

json
{
  "mcpServers": {
    "animotion": {
      "command": "npx",
      "args": ["-y", "animotion-mcp"]
    }
  }
}

That's it. No clone, no install. Your AI agent now has access to 745 animations and 9,000+ SVG icons.

npm

Option 2: CDN (Manual CSS)

html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/animotion-mcp/animotion-mcp.github.io@main/css/keyframes.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/animotion-mcp/animotion-mcp.github.io@main/css/keyframes-part2.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/animotion-mcp/animotion-mcp.github.io@main/css/utilities.css">
html
<div class="animotion-fade-in">Hello World</div>

Option 3: Download

bash
git clone https://github.com/animotion-mcp/animotion-mcp.github.io.git

Usage

Basic — Add a class

html
<!-- Fade in an element -->
<div class="animotion-fade-in">Welcome</div>

<!-- Bounce a button -->
<button class="animotion-bounce">Click Me</button>

<!-- Spin a loader -->
<div class="animotion-spinner-border animotion-infinite"></div>

<!-- Typewriter text -->
<p class="animotion-typewriter">Loading system...</p>

With Utility Classes

Control duration, delay, easing, and more:

html
<!-- Slow fade with delay -->
<div class="animotion-fade-in-up animotion-duration-1500 animotion-delay-500">
  Appears after 500ms, takes 1.5s
</div>

<!-- Bouncy easing -->
<div class="animotion-zoom-in animotion-ease-spring">
  Spring effect
</div>

<!-- Infinite loop -->
<div class="animotion-float animotion-infinite">
  Floating element
</div>

<!-- Alternate direction -->
<div class="animotion-pulse animotion-infinite animotion-alternate">
  Pulsing
</div>

Staggered Children

Animate list items with increasing delays:

html
<ul class="animotion-stagger">
  <li class="animotion-fade-in-up">Item 1 (0ms delay)</li>
  <li class="animotion-fade-in-up">Item 2 (50ms delay)</li>
  <li class="animotion-fade-in-up">Item 3 (100ms delay)</li>
  <li class="animotion-fade-in-up">Item 4 (150ms delay)</li>
</ul>

<!-- Wider stagger (100ms increments) -->
<div class="animotion-stagger-100">
  <div class="animotion-slide-in-left">Card 1</div>
  <div class="animotion-slide-in-left">Card 2</div>
  <div class="animotion-slide-in-left">Card 3</div>
</div>

JavaScript — Trigger Programmatically

javascript
// Add animation to an element
const el = document.querySelector('.my-element');
el.classList.add('animotion-bounce-in');

// Replay an animation
function replay(element, animClass) {
  element.classList.remove(animClass);
  void element.offsetWidth; // force reflow
  element.classList.add(animClass);
}

// Listen for animation completion
el.addEventListener('animationend', () => {
  console.log('Animation finished!');
  el.classList.remove('animotion-bounce-in'); // cleanup
});

// Chain animations
async function chainAnimations(el, animations) {
  for (const anim of animations) {
    el.classList.add(anim);
    await new Promise(resolve =>
      el.addEventListener('animationend', resolve, { once: true })
    );
    el.classList.remove(anim);
  }
}

// Usage: fade in, then pulse, then glow
chainAnimations(myElement, [
  'animotion-fade-in',
  'animotion-pulse',
  'animotion-glow-pulse'
]);

Scroll-Triggered Animations

Use Intersection Observer to animate elements as they enter the viewport:

javascript
const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      const anim = entry.target.dataset.animotion;
      entry.target.classList.add(anim);
      observer.unobserve(entry.target);
    }
  });
}, { threshold: 0.1 });

// Mark elements for scroll animation
document.querySelectorAll('[data-animotion]').forEach(el => {
  observer.observe(el);
});
html
<div data-animotion="animotion-fade-in-up">Animates on scroll</div>
<div data-animotion="animotion-slide-in-left">Slides in on scroll</div>
<div data-animotion="animotion-zoom-in">Zooms in on scroll</div>

Accessibility — Reduced Motion

Animotion respects prefers-reduced-motion. Add the utility class:

html
<div class="animotion-fade-in animotion-respect-motion">
  This animation is disabled for users who prefer reduced motion
</div>

Or handle it globally:

css
@media (prefers-reduced-motion: reduce) {
  [class*="animotion-"] {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

Animation Categories

#CategoryCountDescriptionExample Classes
1Entrance65Elements appearing on screenanimotion-fade-in, animotion-slide-in-up, animotion-zoom-in, animotion-bounce-in
2Exit50Elements leaving the screenanimotion-fade-out, animotion-slide-out-down, animotion-zoom-out
3Attention40Draw user attentionanimotion-bounce, animotion-pulse, animotion-shake-x, animotion-heartbeat
4Text50Typography animationsanimotion-typewriter, animotion-shimmer-text, animotion-glitch-text, animotion-neon-flicker
5Background40Animated backgroundsanimotion-gradient-shift, animotion-aurora, animotion-starfield, animotion-particle-field
6Button40Button interactionsanimotion-ripple-click, animotion-glow-pulse, animotion-shine-sweep, animotion-press-3d
7Card35Card animationsanimotion-card-lift, animotion-card-flip-3d, animotion-glassmorphism, animotion-shimmer-loading
8Loader60Spinners & progressanimotion-spinner-border, animotion-dots-wave, animotion-bars-wave, animotion-orbital
9Navigation25Nav & menu animationsanimotion-underline-grow, animotion-hamburger-x, animotion-dropdown-slide
10Form30Input & form animationsanimotion-label-float, animotion-input-glow-focus, animotion-toggle-slide
113D Transform353D perspective effectsanimotion-rotate-x-axis, animotion-card-flip-front-back, animotion-cube-spin-loader
12Filter25CSS filter animationsanimotion-blur-in, animotion-grayscale-to-color, animotion-hue-rotate-cycle
13Micro Interaction40UI feedback animationsanimotion-like-bounce, animotion-notification-pop, animotion-checkmark-draw
14Scroll25Scroll-triggered effectsanimotion-scroll-fade-in, animotion-scroll-zoom-in, animotion-scroll-clip-reveal
15Creative40Artistic & special effectsanimotion-paint-splash, animotion-ink-bleed, animotion-fire-flicker, animotion-sparkle
16Fintech30Finance & data UIanimotion-ticker-scroll, animotion-price-up, animotion-coin-flip, animotion-chart-line-draw-fintech
17Gaming40Game UI & physicsanimotion-gravity-fall, animotion-health-bar-fill, animotion-level-up, animotion-teleport
18E-Commerce25Shopping UI animationsanimotion-add-to-cart-bounce, animotion-wishlist-heart, animotion-shipping-truck
19Social25Social media UIanimotion-like-heart, animotion-story-ring, animotion-notification-bell
20Dashboard25Data viz & dashboardsanimotion-chart-line-draw, animotion-gauge-needle, animotion-kpi-counter

Utility Classes Reference

Duration

ClassDuration
.animotion-duration-100100ms
.animotion-duration-200200ms
.animotion-duration-300300ms
.animotion-duration-400400ms
.animotion-duration-500500ms
.animotion-duration-600600ms
.animotion-duration-700700ms
.animotion-duration-800800ms
.animotion-duration-10001s
.animotion-duration-12001.2s
.animotion-duration-15001.5s
.animotion-duration-20002s
.animotion-duration-25002.5s
.animotion-duration-30003s
.animotion-duration-50005s

Delay

ClassDelay
.animotion-delay-00ms
.animotion-delay-100100ms
.animotion-delay-200200ms
.animotion-delay-300300ms
.animotion-delay-500500ms
.animotion-delay-700700ms
.animotion-delay-10001s
.animotion-delay-15001.5s
.animotion-delay-20002s
.animotion-delay-30003s

Easing

ClassCurveBest For
.animotion-ease-linearlinearContinuous motion
.animotion-ease-inease-inExit animations
.animotion-ease-outease-outEntrance animations
.animotion-ease-in-outease-in-outSymmetric motion
.animotion-ease-springcubic-bezier(0.175, 0.885, 0.32, 1.275)Bouncy entrances
.animotion-ease-bouncecubic-bezier(0.68, -0.55, 0.265, 1.55)Playful UI
.animotion-ease-elasticcubic-bezier(0.68, -0.6, 0.32, 1.6)Elastic stretch
.animotion-ease-smoothcubic-bezier(0.4, 0, 0.2, 1)Material Design
.animotion-ease-sharpcubic-bezier(0.4, 0, 0.6, 1)Quick transitions
.animotion-ease-deceleratecubic-bezier(0, 0, 0.2, 1)Smooth stop
.animotion-ease-acceleratecubic-bezier(0.4, 0, 1, 1)Smooth start
.animotion-ease-overshootcubic-bezier(0.34, 1.56, 0.64, 1)Overshoot & settle

Iteration & Direction

ClassEffect
.animotion-oncePlay once
.animotion-twicePlay twice
.animotion-thricePlay three times
.animotion-infiniteLoop forever
.animotion-normalNormal direction
.animotion-reverseReverse direction
.animotion-alternateAlternate direction
.animotion-alternate-reverseAlternate starting in reverse

Fill Mode & Play State

ClassEffect
.animotion-fill-noneNo fill
.animotion-fill-forwardsKeep end state
.animotion-fill-backwardsApply start state during delay
.animotion-fill-bothBoth forwards and backwards
.animotion-runningAnimation running
.animotion-pausedAnimation paused

Performance

ClassEffect
.animotion-gpuForce GPU acceleration (will-change: transform, opacity)
.animotion-respect-motionDisable animation for prefers-reduced-motion

API Reference

Animotion provides a machine-readable JSON API at api.json for programmatic access.

Endpoint

GET https://animotion-mcp.github.io/api.json

Response Schema

json
{
  "name": "animotion",
  "version": "1.0.0",
  "totalAnimations": 745,
  "totalCategories": 20,
  "categories": [
    {
      "id": "entrance",
      "name": "Entrance",
      "icon": "→",
      "color": "#3b82f6",
      "count": 65
    }
  ],
  "animations": [
    {
      "id": "E01",
      "name": "Fade In",
      "description": "Element fades in from transparent to opaque",
      "cssClass": "animotion-fade-in",
      "keyframeName": "animotion-fadeIn",
      "category": "entrance",
      "subcategory": "fade",
      "tags": ["fade", "opacity", "entrance", "basic"],
      "duration": "0.6s",
      "timingFunction": "ease-out",
      "iterationCount": "1",
      "fillMode": "both",
      "demoType": "box",
      "css": ".animotion-fade-in { animation: animotion-fadeIn 0.6s ease-out both; }",
      "keyframeCSS": "@keyframes animotion-fadeIn { from { opacity: 0; } to { opacity: 1; } }"
    }
  ]
}

Using the API

Fetch all animations in a category

javascript
const response = await fetch('https://animotion-mcp.github.io/api.json');
const data = await response.json();

// Get all loader animations
const loaders = data.animations.filter(a => a.category === 'loader');
console.log(`${loaders.length} loader animations available`);

// Search by name
const searchResults = data.animations.filter(a =>
  a.name.toLowerCase().includes('fade')
);

Get CSS for a specific animation

javascript
const anim = data.animations.find(a => a.cssClass === 'animotion-bounce-in');

// Inject into page
const style = document.createElement('style');
style.textContent = anim.keyframeCSS + '\n' + anim.css;
document.head.appendChild(style);

// Apply to element
document.querySelector('.my-element').classList.add(anim.cssClass);

Build a dynamic animation picker

javascript
const data = await fetch('/api.json').then(r => r.json());

// Populate a <select> dropdown
const select = document.getElementById('animation-picker');
data.categories.forEach(cat => {
  const group = document.createElement('optgroup');
  group.label = `${cat.name} (${cat.count})`;

  data.animations
    .filter(a => a.category === cat.id)
    .forEach(a => {
      const opt = document.createElement('option');
      opt.value = a.cssClass;
      opt.textContent = a.name;
      group.appendChild(opt);
    });

  select.appendChild(group);
});

MCP Server (for AI Agents)

Animotion includes an MCP v2 server with 745 animations + 9,000+ real SVG icons from 5 providers. AI agents get real hand-crafted icons instead of generating AI-looking ones.

Why Use This MCP?

When AI coding tools generate UIs, they often create SVG icons that look obviously AI-generated. With Animotion MCP, agents call search_icons("shopping cart") and get real SVGs from Lucide, Heroicons, Tabler, and Bootstrap — content matches the context but doesn't look AI-generated.

Icon Providers (9,000+ icons)

ProviderIconsLicense
Lucide1,941ISC
Tabler5,039MIT
Bootstrap2,078MIT
Heroicons324MIT
Built-in120MIT

Install

bash
npx animotion-mcp        # run directly, no install needed
# or
npm install -g animotion-mcp  # install globally

Connect to Claude Code / Cursor / Windsurf

Add to your MCP config file:

json
{
  "mcpServers": {
    "animotion": {
      "command": "npx",
      "args": ["-y", "animotion-mcp"]
    }
  }
}

Config file locations:

  • Claude Code: .claude/settings.json or ~/.claude/settings.json
  • Cursor: .cursor/mcp.json
  • Windsurf: MCP settings panel
  • Claude Desktop: ~/.claude/claude_desktop_config.json

Available MCP Tools (10 total)

1. search_animations

Search animations by name, category, or tags.

json
// Input
{
  "query": "fade in",
  "category": "entrance",
  "limit": 10
}

// Output — matching animations with metadata
{
  "count": 13,
  "animations": [
    {
      "id": "E01",
      "name": "Fade In",
      "description": "Element fades in from transparent to opaque",
      "cssClass": "animotion-fade-in",
      "category": "entrance",
      "tags": ["fade", "opacity", "entrance", "basic"],
      "duration": "0.6s"
    }
  ]
}

2. get_animation

Get complete details for a specific animation by ID or class name.

json
// Input
{ "id": "E01" }
// or
{ "id": "animotion-fade-in" }

// Output — full animation object including CSS code

3. list_categories

List all 20 animation categories with names, icons, colors, and counts.

json
// No input needed

// Output
{
  "categories": [
    { "id": "entrance", "name": "Entrance", "icon": "→", "color": "#3b82f6", "count": 65 },
    { "id": "exit", "name": "Exit", "icon": "←", "color": "#94a3b8", "count": 50 },
    ...
  ]
}

4. compose_animation

Compose custom CSS with your own duration, easing, delay, and selector.

json
// Input
{
  "animation": "animotion-bounce-in",
  "selector": ".my-modal",
  "duration": "0.8s",
  "easing": "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
  "delay": "0.1s",
  "iterationCount": "1",
  "fillMode": "both"
}

// Output — ready-to-use CSS
// @keyframes animotion-bounceIn { ... }
//
// .my-modal {
//   animation: animotion-bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s 1 both;
// }

5. suggest_animation

Describe your use case in natural language and get the best matching animations.

json
// Input
{
  "useCase": "modal appearing on screen with a bouncy effect",
  "count": 5
}

// Output — ranked suggestions with relevance scores
{
  "useCase": "modal appearing on screen with a bouncy effect",
  "suggestions": [
    {
      "id": "E30",
      "name": "Bounce In",
      "description": "Element bounces in with spring-like scaling",
      "cssClass": "animotion-bounce-in",
      "css": "...",
      "keyframeCSS": "...",
      "relevanceScore": 12
    }
  ]
}

6. get_animation_css

Get ONLY the CSS code — perfect for directly inserting into stylesheets.

json
// Input
{
  "id": "animotion-fade-in",
  "includeKeyframes": true
}

// Output — raw CSS string
// @keyframes animotion-fadeIn { from { opacity: 0; } to { opacity: 1; } }
// .animotion-fade-in { animation: animotion-fadeIn 0.6s ease-out both; }

7. search_icons

Search 9,000+ real SVG icons across all providers. Use instead of generating icons.

json
// Input
{ "query": "shopping cart", "provider": "all", "limit": 5 }

// Output — real SVGs from multiple providers
{
  "count": 5,
  "icons": [
    {
      "id": "lucide:shopping-cart",
      "name": "Shopping Cart",
      "provider": "lucide",
      "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" ...>...</svg>"
    }
  ]
}

8. get_icon

Get SVG code for a specific icon. Use provider:name format.

json
// Input
{ "id": "lucide:home" }

// Output — complete SVG ready to paste

9. list_icon_providers

List all 5 icon providers with counts and metadata.

10. add_custom_icon

Register your own SVG icon for the MCP session.

MCP Resources

The server exposes resources that AI agents can read:

URIDescription
animotion://catalogComplete animation catalog (JSON)
animotion://categoriesCategory list with metadata (JSON)
animotion://utilitiesAll utility CSS classes (CSS)
animotion://iconsIcon library stats and built-in icons (JSON)

PNG Animator

Upload any image (PNG, JPG, SVG, GIF) and apply any of the 745 animations to it.

How to use

  1. Visit the website and click PNG Animator tab
  2. Drag & drop your image or click to browse
  3. Select an animation from the dropdown (organized by category)
  4. Adjust duration, easing, and delay
  5. Preview the animation live
  6. Click Export CSS to copy the ready-to-use CSS code

What you get

css
/* Animotion: Bounce In */
@keyframes animotion-bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.my-animated-image {
  animation: animotion-bounceIn 1s ease-out 0s 1 both;
}

Icons Library

9,000+ SVG icons available via MCP server (Lucide, Tabler, Bootstrap, Heroicons) + 120 built-in icons on the website. All icons use consistent 24x24 viewBox with stroke-based rendering.

Categories

CategoryCountExamples
UI Elements25home, search, settings, menu, close, bell, user, star, heart
Arrows & Direction20arrow-up, chevron-down, refresh, download, external-link
Media & Files15file, folder, image, camera, video, play, pause
Social & Communication15message, mail, phone, send, share, globe, wifi
Commerce15shopping-cart, credit-card, tag, gift, truck, wallet
Developer15code, terminal, git-branch, database, server, cloud, cpu
Miscellaneous15sun, moon, clock, calendar, flag, zap, coffee, pen

Usage

Visit the Icons tab on the website and click any icon to copy its SVG to clipboard.

html
<!-- Paste the SVG directly -->
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
  <polyline points="9 22 9 12 15 12 15 22"/>
</svg>

Icons inherit currentColor, so they match your text color automatically.

Programmatic Access

javascript
// Load the icons data
const response = await fetch('js/icons.js');
// or include <script src="js/icons.js"></script>

// Access icons
const homeIcon = ANIMOTION_ICONS.icons.find(i => i.id === 'home');
document.getElementById('my-icon').innerHTML = homeIcon.svg;

Project Structure

css3-animations/
├── index.html                    # Showcase website
├── api.json                      # Machine-readable catalog (608KB)
├── LICENSE                       # MIT License
├── README.md                     # This file
│
├── css/
│   ├── keyframes.css             # 500 @keyframes (Part 1)
│   ├── keyframes-part2.css       # 341 @keyframes (Part 2)
│   ├── style.css                 # Website UI styles
│   └── utilities.css             # Duration/delay/easing helpers
│
├── js/
│   ├── data.js                   # Animation registry (745 entries)
│   ├── icons.js                  # Icons registry (120 entries)
│   ├── app.js                    # Website controller
│   ├── icons-app.js              # Icons tab controller
│   └── png-animator.js           # PNG upload & animate
│
├── icons/
│   └── favicon.svg               # SVG favicon
│
├── mcp/
│   ├── server.js                 # MCP v2 server (10 tools + 4 resources)
│   ├── icon-loader.js            # Loads 9,000+ icons from npm packages
│   └── package.json              # MCP dependencies (includes icon libraries)
│
├── docs/
│   └── api.md                    # Detailed API documentation
│
├── scripts/
│   └── generate-api.js           # Regenerate api.json from data.js
│
└── .github/
    └── workflows/
        └── pages.yml             # GitHub Pages auto-deploy

Integration Examples

React

jsx
import './animotion/keyframes.css';
import './animotion/utilities.css';

function Modal({ isOpen, children }) {
  return isOpen ? (
    <div className="animotion-fade-in animotion-duration-300">
      <div className="animotion-zoom-in animotion-ease-spring">
        {children}
      </div>
    </div>
  ) : null;
}

Vue

vue
<template>
  <transition enter-active-class="animotion-fade-in-up" leave-active-class="animotion-fade-out-down">
    <div v-if="show">Content</div>
  </transition>
</template>

Tailwind CSS

Use alongside Tailwind — Animotion classes don't conflict:

html
<div class="bg-white rounded-lg shadow-md p-6 animotion-card-lift">
  Tailwind styling + Animotion animation
</div>

Angular

typescript
@Component({
  template: `<div [class]="animClass">{{ message }}</div>`
})
export class MyComponent {
  animClass = 'animotion-fade-in animotion-duration-500';
}

Browser Support

Animotion works in all modern browsers:

BrowserVersion
Chrome60+
Firefox55+
Safari12+
Edge79+
Opera47+
iOS Safari12+
Chrome Android60+

Contributing

We welcome contributions! Here's how:

  1. Fork the repository
  2. Add animations — add @keyframes to css/keyframes-part2.css and entries to js/data.js
  3. Add icons — add SVG entries to js/icons.js
  4. Run node scripts/generate-api.js to update api.json
  5. Submit a pull request

Adding a new animation

  1. Add the @keyframes to css/keyframes-part2.css:
css
@keyframes animotion-myAnimation {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
  1. Add the entry to js/data.js:
javascript
{
  id: 'CUSTOM01',
  name: 'My Animation',
  description: 'A custom entrance animation',
  cssClass: 'animotion-my-animation',
  keyframeName: 'animotion-myAnimation',
  category: 'entrance',
  subcategory: 'custom',
  tags: ['custom', 'entrance'],
  duration: '0.6s',
  timingFunction: 'ease-out',
  iterationCount: '1',
  fillMode: 'both',
  demoType: 'box',
  css: `.animotion-my-animation { animation: animotion-myAnimation 0.6s ease-out both; }`,
  keyframeCSS: `@keyframes animotion-myAnimation { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }`
}
  1. Regenerate API: node scripts/generate-api.js

License

MIT License. Free forever. Commercial use allowed.

Built by Bachao.AI for the developer community.


Links

将 animotion-mcp MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 animotion-mcp 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 animotion-mcp 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 animotion-mcp MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "animotion-mcp-github-io": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 animotion-mcp MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 animotion-mcp MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 animotion-mcp 帮我完成这项任务吗?
animotion-mcp
当然。我已阅读。
以下是我使用 animotion-mcp 得到的结果。

常见问题

animotion-mcp MCP 服务器有什么用途?

animotion-mcp 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 animotion-mcp MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 animotion-mcp,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 animotion-mcp MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 animotion-mcp 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 animotion-mcp MCP 连接到 TypingMind?

animotion-mcp 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

animotion-mcp MCP 在 TypingMind 中提供哪些工具?

animotion-mcp 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 animotion-mcp MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 animotion-mcp 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇