
ReactBits MCP Server
A Model Context Protocol server that provides AI assistants with access to ReactBits.dev components - a collection of 135+ animated React components for creative developers.
Tools
list_components
List all available ReactBits components with optional filtering
get_component
Get the source code for a specific ReactBits component
search_components
Search for ReactBits components by name or description
get_component_demo
Get usage example and demo code for a ReactBits component
list_categories
List all available component categories
README
ReactBits MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with access to ReactBits.dev components - a collection of 135+ animated React components for creative developers.
⚠️ Important Note: Some ReactBits components (buttons, forms, loaders) currently have incomplete implementations. See Component Quality Status below.
Features
- 🎨 Component Discovery: Browse and search through all ReactBits components
- 🔍 Smart Search: Find components by name, category, or description
- 💅 Style Options: Access both CSS and Tailwind versions of components
- 📁 Category Navigation: Filter components by categories (animations, backgrounds, buttons, etc.)
- 🚀 Fast Performance: Built-in caching for optimal response times
- 📝 Demo Generation: Get usage examples and demo code for any component
Installation
# Install globally
npm install -g reactbits-dev-mcp-server
# Or run directly with npx (no installation required)
npx reactbits-dev-mcp-server
# Or install as a dependency
npm install reactbits-dev-mcp-server
From Source
# Clone the repository
git clone https://github.com/yourusername/reactbits-mcp-server
cd reactbits-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start
Configuration
Claude Desktop
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"reactbits": {
"command": "npx",
"args": ["reactbits-dev-mcp-server"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
VS Code (with Continue extension)
Add to your VS Code settings:
{
"continue.server": {
"mcpServers": {
"reactbits": {
"command": "npx",
"args": ["reactbits-dev-mcp-server"]
}
}
}
}
Cursor
Add to your Cursor settings or .cursorrules
:
{
"mcpServers": {
"reactbits": {
"command": "npx",
"args": ["reactbits-dev-mcp-server"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Quick Start
# Clone and install
git clone https://github.com/yourusername/reactbits-mcp-server
cd reactbits-mcp-server
npm install
# Build
npm run build
# Test locally
node test-list-components.js
Available Tools
list_components
List all available ReactBits components with optional filtering.
Parameters:
category
(optional): Filter by category (e.g., "animations", "backgrounds", "buttons")style
(optional): Filter by styling method ("css", "tailwind", "default")limit
(optional): Maximum number of components to return
Example:
"List all animation components with Tailwind support"
get_component
Get the source code for a specific ReactBits component.
Parameters:
name
(required): Name of the component (e.g., "splash-cursor", "pixel-card")style
(optional): Preferred styling method ("css", "tailwind", "default")
Example:
"Show me the source code for the splash cursor component"
search_components
Search for ReactBits components by name or description.
Parameters:
query
(required): Search querycategory
(optional): Filter by categorylimit
(optional): Maximum number of results
Example:
"Find all components related to cards"
get_component_demo
Get usage example and demo code for a ReactBits component.
Parameters:
name
(required): Name of the component
Example:
"Show me how to use the glow button component"
list_categories
List all available component categories.
Example:
"What categories of components are available?"
Usage Examples
With AI Assistants
Once configured, you can ask your AI assistant questions like:
- "Show me all the background animation components from ReactBits"
- "I need a glowing button component - what's available?"
- "How do I implement the particle background effect?"
- "Find all text animation components that support Tailwind"
- "Show me the code for the glass morphism card component"
Component Categories
ReactBits components are organized into the following categories:
- Animations: Dynamic cursor effects and interactive animations
- Backgrounds: Animated and static background patterns
- Buttons: Interactive button components with various effects
- Cards: Card components with hover effects and animations
- Text Animations: Animated text effects and reveals
- Components: General UI components and layouts
- Navigation: Navigation menus and interfaces
Development
Project Structure
reactbits-mcp-server/
├── src/
│ ├── index.ts # Main server entry point
│ ├── services/
│ │ └── ReactBitsService.ts # Component fetching logic
│ ├── types/
│ │ └── index.ts # TypeScript type definitions
│ └── utils/
│ └── CacheManager.ts # Caching utility
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
└── README.md
Building
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
Testing
# Run the MCP inspector for debugging
npx @modelcontextprotocol/inspector
GitHub API Token (Optional but Recommended)
The server can work without a GitHub token but will be limited to 60 requests per hour. With a token, you get up to 5,000 requests per hour.
Setting up a GitHub Token
-
Create a GitHub personal access token at https://github.com/settings/tokens
- Click "Generate new token (classic)"
- No special scopes needed (public repository access only)
- Copy the generated token
-
Set it as an environment variable:
# Option 1: Export in your shell
export GITHUB_TOKEN=your_token_here
# Option 2: Create a .env file (copy from .env.example)
cp .env.example .env
# Edit .env and add your token
# Option 3: Pass when running the server
GITHUB_TOKEN=your_token_here npx reactbits-dev-mcp-server
⚠️ Security Note: Never commit your GitHub token to version control. Always use environment variables.
Component Quality Status
Based on comprehensive testing, here's the current quality status of ReactBits components:
✅ Excellent Quality (9.0-10/10)
- Backgrounds (9.8/10): Aurora, Beams, Particles, etc. - Production-ready WebGL effects
- Animations (9.5/10): BlobCursor, SplashCursor, Magnet, etc. - Professional animations
- Text Animations (9.0/10): BlurText, CountUp, CircularText, etc. - Complete Framer Motion
⚠️ Incomplete Components (2.0/10)
- Buttons: All 8 button components return placeholder code
- Forms: All 3 form components are incomplete
- Loaders: All 9 loader components are incomplete
📦 Dependencies
The MCP server now includes dependency information for each component:
framer-motion
: Text animations and interactive componentsgsap
: Cursor animations and advanced interactionsthree.js
/@react-three/fiber
: 3D backgrounds and effectsogl
: WebGL rendering (Aurora component)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- ReactBits.dev for the amazing component collection
- Anthropic for the Model Context Protocol specification
- The MCP community for inspiration and examples
Support
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。