Basic information
About MCP Magic UI Server
An MCP (Model Context Protocol) server for accessing and searching Magic UI components
MCP Magic UI is a MCP server in the Other category listed in the AddMCP.net directory, published by idcdev. Supported transport: stdio. Runtime: node. The repository has 13 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-magic-ui": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"mcp-magic-ui"
]
}
}
}
{
"mcpServers": {
"mcp-magic-ui": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"mcp-magic-ui"
]
}
}
}
{
"servers": {
"mcp-magic-ui": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"mcp-magic-ui"
]
}
}
}
MCP Magic UI config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-magic-ui": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"mcp-magic-ui"
]
}
}
}
MCP Magic UI tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Magic UI?
MCP Magic UI is a Model Context Protocol server that provides access to Magic UI components from the magicuidesign/magicui GitHub repository. It categorizes components and makes them discoverable through MCP tools for AI assistants and other MCP clients.
How to use MCP Magic UI?
Clone the repository, install dependencies with npm install, build with npm build, then start the server using npm start for stdio transport or TRANSPORT_TYPE=http npm start for HTTP transport. Optionally configure a GitHub personal access token in a .env file to avoid API rate limits. Connect using any MCP client, such as the MCP Inspector.
Key features of MCP Magic UI
- Fetches and categorizes all Magic UI components
- Local caching reduces GitHub API calls and allows offline use
- Supports both stdio and HTTP transport methods
- Includes fallback mock data when GitHub API is unavailable
- Exposes tools to list components and retrieve source code
Use cases of MCP Magic UI
- AI assistants discover and use Magic UI components on demand
- Developers programmatically fetch component metadata or source code
- Teams cache component data for offline reference or faster access
- Integration with MCP-compatible editors or developer workflows
Frequently asked questions
1 What is the purpose of MCP Magic UI?
It allows AI assistants and other MCP clients to easily discover and use Magic UI components by exposing them through MCP tools.
2 What runtime dependencies are required?
It requires Node.js and npm, as installation uses npm commands. No other runtime dependencies are mentioned.
3 How does the server handle GitHub API rate limits?
The server caches component data locally and allows an optional GitHub personal access token via a .env file to increase rate limits. Mock data is provided as a fallback when the API is unavailable.
4 What transport methods does the server support?
It supports stdio transport (default) and HTTP transport (set TRANSPORT_TYPE=http on startup).
5 Is the server functional without internet access?
Yes, due to local caching of component data and a fallback mechanism with mock data, the server can work offline.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In