MCP Magic UI
MCP 매직 UI
magicuidesign/magicui 저장소에서 Magic UI 구성 요소에 액세스하고 탐색하기 위한 MCP(모델 컨텍스트 프로토콜) 서버입니다.
MCP Magic UI란 무엇인가요?
MCP Magic UI는 Magic UI 구성 요소에 대한 액세스를 제공하기 위해 모델 컨텍스트 프로토콜(MCP)을 구현하는 서버입니다. Magic UI GitHub 저장소에서 구성 요소 데이터를 가져와 분류하고 MCP API를 통해 제공합니다. 이를 통해 AI 어시스턴트 및 기타 MCP 클라이언트는 애플리케이션에서 Magic UI 구성 요소를 쉽게 검색하고 사용할 수 있습니다.
Related MCP server: Magic UI MCP Server
특징
구성 요소 검색 : MCP 도구를 통해 모든 Magic UI 구성 요소에 액세스
구성 요소 분류 : 구성 요소는 이름과 종속성을 기준으로 자동으로 분류됩니다.
캐싱 시스템 : GitHub API 호출을 줄이고 오프라인 작업을 위해 구성 요소 데이터를 로컬 캐싱합니다.
다양한 전송 옵션 : stdio 및 HTTP 전송 방식 모두 지원
폴백 메커니즘 : GitHub API를 사용할 수 없는 경우 모의 데이터가 제공됩니다.
설치
지엑스피1
구성
GitHub API 속도 제한을 피하려면 GitHub 개인 액세스 토큰을 설정하는 것이 좋습니다.
https://github.com/settings/tokens 에서 토큰을 생성하세요
프로젝트 루트에
.env파일을 만듭니다(또는.env.example에서 복사합니다).env파일에 토큰을 추가합니다.
GITHUB_TOKEN=your_github_token_here용법
서버 시작
stdio 또는 HTTP 전송을 사용하여 서버를 시작할 수 있습니다.
# Using stdio transport (default)
npm start
# Using HTTP transport
TRANSPORT_TYPE=http npm start서버에 연결
모든 MCP 클라이언트를 사용하여 서버에 연결할 수 있습니다. 예를 들어, MCP Inspector를 사용하면 다음과 같습니다.
npx @modelcontextprotocol/inspector mcp-magic-ui또는 HTTP 전송을 사용하는 경우:
npx @modelcontextprotocol/inspector http://localhost:3000사용 가능한 도구
서버는 다음과 같은 MCP 도구를 제공합니다.
get_all_components- 메타데이터와 함께 사용 가능한 모든 Magic UI 구성 요소 목록을 가져옵니다.get_component_by_path- 파일 경로로 특정 구성 요소의 소스 코드를 가져옵니다.
프로젝트 구조
src/- 소스 코드index.ts- 서버의 주요 진입점cli.ts- 명령줄 인터페이스server.ts- MCP 서버 구성 및 도구 정의services/- 서비스 모듈github.ts- GitHub API 상호작용 및 캐싱component-parser.ts- 구성 요소 분류 및 처리
cache/- 구성 요소 데이터에 대한 로컬 캐시dist/- 컴파일된 JavaScript 코드
작동 원리
서버는 Magic UI GitHub 저장소에서 구성 요소 데이터를 가져옵니다.
API 호출을 줄이고 오프라인 사용을 활성화하기 위해 구성 요소 데이터가 로컬로 캐시됩니다.
구성 요소는 이름과 종속성을 기준으로 분류됩니다.
서버는 MCP 도구를 노출하여 구성 요소에 액세스하고 검색합니다.
클라이언트는 stdio 또는 HTTP 전송을 사용하여 서버에 연결할 수 있습니다.
기여하다
여러분의 참여를 환영합니다! 다음과 같은 방법으로 참여하실 수 있습니다.
버그를 보고하고 문제를 생성하여 기능을 제안하세요.
문서 개선
버그 수정이나 새로운 기능이 포함된 풀 리퀘스트를 제출하세요
특허
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables AI agents to generate, fetch, and manage UI components through natural language interactions.3227ISC
- AlicenseAqualityCmaintenanceModelContextProtocol server for Magic UI that allows AI assistants to easily implement UI components for web applications by providing code for components like marquees, animations, special effects, and interactive backgrounds.112,020201MIT
- -licenseAquality-maintenanceA foundation for building interactive applications using the Model Context Protocol that integrates AI capabilities with Magic UI components.112,0201
- Flicense-qualityDmaintenanceA Model Context Protocol server that provides AI assistants access to Mesh Design System components and design tokens, enabling AI-powered development tools to natively understand and utilize these UI components.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Figma MCP server brings Figma design context directly into your AI workflow.
A Model Context Protocol server for Wix AI tools
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/idcdev/mcp-magic-ui'
If you have feedback or need assistance with the MCP directory API, please join our Discord server