AceternityUI_MCP_Server
Provides access to Aceternity UI component library documentation, enabling AI assistants to browse, search, and retrieve detailed information about components.
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)
-
Install the server globally:
npm install -g aceternity-ui-mcp-server -
Open GitHub Copilot CLI and add the server interactively:
gh copilot -
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
- Name:
- Press
Ctrl+Sto 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:
- Open VS Code Settings (JSON)
- Add the MCP server configuration:
{
"github.copilot.chat.mcp.servers": {
"aceternity-ui": {
"command": "aceternity-ui-mcp-server",
"type": "stdio"
}
}
}
- 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 configurationcopilot_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 componentsresource: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 implementationaxios: HTTP clientcheerio: HTML parsingzod: Runtime type validationwinston: Loggingjoi: Validationuuid: ID generation
License
MIT
Related Links
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
Support
For issues or questions:
- Check the Aceternity UI documentation: https://ui.aceternity.com
- Review the MCP specification: https://modelcontextprotocol.io
- Open an issue in this repository
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.