AceternityUI_MCP_Server

AceternityUI_MCP_Server

Provides access to Aceternity UI component library documentation, enabling AI assistants to browse, search, and retrieve detailed information about components.

Category
访问服务器

README

Aceternity UI MCP Server

A Model Context Protocol (MCP) server that provides access to the Aceternity UI component library documentation and tools.

Overview

This MCP server allows AI assistants to:

  • Browse Aceternity UI components
  • Search for specific components
  • Get detailed component information
  • Access component documentation and usage examples

Installation

Option 1: Install from npm (Recommended)

npm install -g aceternity-ui-mcp-server

Option 2: Install from source

git clone https://github.com/yeshsurya/AceternityUI_MCP_Server.git
cd AceternityUI_MCP_Server
npm install
npm run build

Usage

Running the Server

If installed globally via npm:

aceternity-ui-mcp-server

If installed from source:

npm start

Or directly:

node build/index.js

Command Line Options

aceternity-ui-mcp-server --help     # Show help
aceternity-ui-mcp-server --version  # Show version

Environment Variables

  • LOG_LEVEL: Set logging level (debug, info, warn, error). Default: info

Example:

LOG_LEVEL=debug npm start

Configuration with Claude Desktop

Add to your Claude Desktop configuration file:

macOS/Linux

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

If installed via npm (recommended):

{
  "mcpServers": {
    "aceternity-ui": {
      "command": "aceternity-ui-mcp-server"
    }
  }
}

If installed from source:

{
  "mcpServers": {
    "aceternity-ui": {
      "command": "node",
      "args": ["C:\\gitRepos\\aceternity_ui_mcp\\build\\index.js"]
    }
  }
}

Note: On macOS/Linux, use forward slashes in paths. On Windows, use double backslashes.

Configuration with GitHub Copilot CLI

GitHub Copilot CLI now supports MCP servers! You can add this server to your Copilot CLI configuration.

Configuration File Location

The MCP configuration file is located at:

  • macOS/Linux: ~/.config/mcp-config.json
  • Windows: %USERPROFILE%\.config\mcp-config.json

You can change this location by setting the XDG_CONFIG_HOME environment variable.

Method 1: Interactive Configuration (Recommended)

  1. Install the server globally:

    npm install -g aceternity-ui-mcp-server
    
  2. Open GitHub Copilot CLI and add the server interactively:

    gh copilot
    
  3. Use the interactive UI to add a new MCP server:

    • Press the appropriate key to add a server
    • Fill in the server details:
      • Name: aceternity-ui
      • Command: aceternity-ui-mcp-server
      • Type: stdio
    • Press Ctrl+S to save

Method 2: Manual Configuration

Edit your mcp-config.json file manually:

{
  "mcpServers": {
    "aceternity-ui": {
      "command": "aceternity-ui-mcp-server",
      "type": "stdio"
    }
  }
}

Or if installed from source:

{
  "mcpServers": {
    "aceternity-ui": {
      "command": "node",
      "args": ["/path/to/aceternity_ui_mcp/build/index.js"],
      "type": "stdio"
    }
  }
}

Verifying the Configuration

After configuration, restart GitHub Copilot CLI. The Aceternity UI MCP server should now be available, and you can ask Copilot questions like:

  • "List all Aceternity UI background components"
  • "Show me the background-beams component"
  • "Search for animation components in Aceternity UI"

Configuration with VS Code

If you're using VS Code with GitHub Copilot, you can also configure MCP servers:

  1. Open VS Code Settings (JSON)
  2. Add the MCP server configuration:
{
  "github.copilot.chat.mcp.servers": {
    "aceternity-ui": {
      "command": "aceternity-ui-mcp-server",
      "type": "stdio"
    }
  }
}
  1. Restart VS Code or reload the window

Example Configuration Files

Example configuration files are provided in this repository:

  • claude_desktop_config.example.json - Claude Desktop configuration
  • copilot_cli_config.example.json - GitHub Copilot CLI configuration

You can copy these files and modify them to match your installation path.

Available Tools

1. get_component

Get detailed information about a specific Aceternity UI component.

Parameters:

  • componentName (string, required): The slug or name of the component

Example:

{
  "componentName": "background-beams"
}

2. list_components

List all available Aceternity UI components, optionally filtered by category.

Parameters:

  • category (string, optional): Filter by category (e.g., "backgrounds", "3d", "overlays")

Example:

{
  "category": "backgrounds"
}

3. search_components

Search for components by name, description, or tags.

Parameters:

  • query (string, required): Search query

Example:

{
  "query": "animation"
}

Available Resources

  • resource:aceternity_components - List of all available components
  • resource:aceternity_categories - Component categories

Available Prompts

1. component_usage

Get guidance on how to use a specific component.

Arguments:

  • componentName (required): Component name or slug

2. animation_guide

Get recommendations for animation components.

Arguments:

  • useCase (required): The effect you want to achieve

3. background_selector

Get help choosing the right background component.

Arguments:

  • style (optional): Style or mood (e.g., "minimal", "dramatic")

Component Categories

  • backgrounds: Background effects and animations
  • 3d: 3D components and effects
  • overlays: Modals, tooltips, and overlays
  • carousel: Carousels and sliders
  • layout: Layout components and grids
  • visualization: Data visualization components

Architecture

aceternity_ui_mcp/
├── src/
│   ├── index.ts              # Entry point and server initialization
│   ├── handler.ts            # Request handlers
│   ├── resources.ts          # Static resources
│   ├── prompts.ts            # Prompt definitions
│   ├── data/
│   │   └── components.ts     # Component data structure
│   ├── tools/
│   │   ├── index.ts          # Tool registry
│   │   └── components/       # Component-related tools
│   └── utils/
│       ├── logger.ts         # Logging utilities
│       ├── cache.ts          # Caching layer
│       ├── circuit-breaker.ts # Circuit breaker pattern
│       ├── validation.ts     # Input validation
│       └── axios.ts          # HTTP client
├── build/                    # Compiled JavaScript
├── package.json
└── tsconfig.json

Features

  • Comprehensive Component Database: All Aceternity UI components with descriptions and metadata
  • Smart Search: Search by name, description, or tags
  • Category Filtering: Browse components by category
  • Caching: In-memory caching for improved performance
  • Circuit Breaker: Resilience pattern for external calls
  • Input Validation: Zod-based schema validation
  • Structured Logging: Winston-based logging with configurable levels

Development

Build

npm run build

Development Mode

npm run dev

Clean Build

npm run clean
npm run build

Requirements

  • Node.js 18 or higher
  • npm or yarn

Dependencies

  • @modelcontextprotocol/sdk: MCP protocol implementation
  • axios: HTTP client
  • cheerio: HTML parsing
  • zod: Runtime type validation
  • winston: Logging
  • joi: Validation
  • uuid: ID generation

License

MIT

Related Links

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Support

For issues or questions:

  1. Check the Aceternity UI documentation: https://ui.aceternity.com
  2. Review the MCP specification: https://modelcontextprotocol.io
  3. Open an issue in this repository

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选