mcp-ui-expo-tamagui

mcp-ui-expo-tamagui

Generates React Native/Expo UI components using AI, integrates with Claude Desktop to create and optimize Tamagui-based components via natural language commands.

Category
Visit Server

README

๐ŸŽจ MCP UI Expo Tamagui Server

Node.js TypeScript Docker MCP

AI-Powered UI Component Generator for Expo + Tamagui with Claude Desktop Integration

๐Ÿš€ Automatically generate React Native/Expo components using AI Gemini through Model Context Protocol (MCP)

โœจ Features

  • ๐Ÿค– AI Component Generation: Create components with natural language descriptions
  • ๐Ÿ“š Real-time Docs Search: Search Expo & Tamagui documentation
  • โšก Code Optimization: Optimize components for performance
  • ๐ŸŽจ Theme Configuration: Generate theme configs automatically
  • ๐Ÿ’ก Smart Suggestions: Intelligent component recommendations
  • ๐Ÿณ Docker Ready: Production-ready containerization
  • ๐Ÿ”ง TypeScript Support: Full type safety

๐Ÿš€ Quick Start

1. Installation & Build

git clone https://github.com/yourusername/mcp-ui-expo-tamagui.git
cd mcp-ui-expo-tamagui
npm install
npm run build

2. Configure API Key

export GEMINI_API_KEY=your-gemini-api-key

3. Test MCP Server

./test-mcp-tools.sh

๐Ÿ”Œ Claude Desktop Integration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-ui-expo-tamagui": {
      "command": "node",
      "args": ["/path/to/mcp-ui-expo-tamagui/build/index.js"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key"
      }
    }
  }
}

Usage with Claude

๐Ÿ’ฌ "Create a Button component with title, onPress, and variant props"
๐Ÿ’ฌ "How to implement navigation in Expo?"
๐Ÿ’ฌ "Suggest components for an e-commerce screen"
๐Ÿ’ฌ "Optimize this component for performance"
๐Ÿ’ฌ "Create dark theme with purple primary color"

๐Ÿ› ๏ธ MCP Tools

Tool Description Parameters
generate_ui_component Generate UI component with AI name, description, props, styling, platform
search_expo_docs Search Expo documentation query
search_tamagui_docs Search Tamagui documentation query
get_component_suggestions Get component suggestions context, requirements
optimize_component Optimize component code code, optimizationType
create_theme_config Create theme configuration colorScheme, primaryColors, components

๐Ÿณ Docker Deployment

Build & Run

# Build Docker image
docker build -t mcp-ui-expo-tamagui .

# Run with Docker Compose
docker-compose up

# Run standalone
docker run -e GEMINI_API_KEY=your-key mcp-ui-expo-tamagui

๐Ÿงช Testing

# Test MCP tools
./test-mcp-tools.sh

# Test Docker
./test-docker.sh

# TypeScript validation
npm run lint

# Jest tests
npm test

๐Ÿ“ Project Structure

mcp-ui-expo-tamagui/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts                    # Main MCP server
โ”‚   โ”œโ”€โ”€ types/interfaces.ts         # Type definitions
โ”‚   โ”œโ”€โ”€ services/                   # Core services
โ”‚   โ””โ”€โ”€ utils/                      # Utilities
โ”œโ”€โ”€ build/                          # Compiled output
โ”œโ”€โ”€ Dockerfile                      # Docker configuration
โ”œโ”€โ”€ docker-compose.yml             # Docker Compose
โ””โ”€โ”€ README.md                       # Documentation

๐ŸŽฏ Example Use Cases

E-commerce Product Card

{
  name: "ProductCard",
  description: "Product card with image, title, price, rating, add to cart",
  props: [
    { name: "product", type: "Product", required: true },
    { name: "onAddToCart", type: "function", required: true }
  ]
}

Social Media Post

{
  name: "PostCard", 
  description: "Post card with avatar, content, reactions",
  styling: { theme: "dark", responsive: true }
}

๐Ÿ”ง Development

npm run dev          # Development mode
npm run build        # Build production
npm run test         # Run tests
npm run lint         # TypeScript check

๐Ÿšจ Environment Variables

  • GEMINI_API_KEY - Google Gemini AI API key (required)
  • NODE_ENV - Environment (optional)
  • LOG_LEVEL - Logging level (optional)

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐ŸŽ‰ Ready to Go!

Start creating amazing UI components with AI! ๐Ÿš€โœจ

Happy Coding!

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured