Magic MCP Local
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Magic MCP Localcreate a responsive navbar with a logo and login button"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Magic MCP Local
A local-first MCP server for UI component generation. No API key required.
Features
30+ Pre-built Components - Production-ready React components with TypeScript
Local-First - Works entirely offline, no external API calls
Zero Configuration - No API keys, no authentication
MCP Compatible - Works with Cursor, Windsurf, Cline, and other MCP clients
Installation
From npm (recommended)
npm install -g magic-mcp-localOr use directly with npx
npx -y magic-mcp-localConfiguration
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"magic-mcp-local": {
"command": "npx",
"args": ["-y", "magic-mcp-local"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"magic-mcp-local": {
"command": "npx",
"args": ["-y", "magic-mcp-local"]
}
}
}Cline
Add to ~/.cline/mcp_config.json:
{
"mcpServers": {
"magic-mcp-local": {
"command": "npx",
"args": ["-y", "magic-mcp-local"]
}
}
}Claude Desktop
Add to ~/.claude/mcp_config.json:
{
"mcpServers": {
"magic-mcp-local": {
"command": "npx",
"args": ["-y", "magic-mcp-local"]
}
}
}Available Tools
Tool | Description |
| Create a UI component by describing what you need |
| Search components by keyword or category |
| Get a specific component by ID |
| List all component categories |
| List all available components |
Usage Examples
Create a Button
create_ui_component with description "primary action button with hover effects"Search for Form Components
search_components with query "input field"List Navigation Components
list_components with category "navigation"Component Categories
buttons - Button variants (primary, icon, etc.)
forms - Input, textarea, select, checkbox, radio, switch
layout - Card, navbar, hero, footer, sidebar
navigation - Tabs, accordion, breadcrumb, pagination
data-display - Badge, avatar, table, stat cards
feedback - Alert, modal, progress, spinner, skeleton, tooltip
overlays - Modal, dropdown, tooltip
Development
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
npm run devLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Self-hosted AI prompt library: prompts, collections, tags, teams, chains. 29 MCP tools for agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cbuntingde/magic-mcp-local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server