npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mokkoi-mcp

v1.0.3

Published

AI-powered React Native screen generator — MCP server for Claude Code and Cursor

Downloads

418

Readme

Mokkoi MCP Server

AI-powered React Native screen generator for Claude Code and Cursor. Generate production-ready .tsx screens from text prompts, screenshots, or multi-screen flows — and optionally sync them to the mokkoi.com canvas in real-time.

Quick Start

# Run directly (no install needed)
npx mokkoi-mcp

# Or add to Claude Code
claude mcp add mokkoi -- npx mokkoi-mcp

# Or add to Cursor (settings.json)
{
  "mcpServers": {
    "mokkoi": {
      "command": "npx",
      "args": ["mokkoi-mcp"],
      "env": {
        "MOKKOI_API_KEY": "your-anthropic-api-key"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | MOKKOI_API_KEY | Yes | Your Anthropic API key (BYOK — Bring Your Own Key) | | MOKKOI_API_URL | No | API endpoint (default: https://mokkoi.com) | | MOKKOI_PROJECT_ID | No | Project UUID for canvas sync | | MOKKOI_SUPABASE_URL | No | Supabase URL for canvas sync | | MOKKOI_SUPABASE_ANON_KEY | No | Supabase anon key for canvas sync |

Tools

generate_screen

Generate a React Native screen from a text description.

Input:

  • prompt (required): Screen description
  • outputPath: File path (default: ./screens/[Name].tsx)
  • style: "dark" or "light" (default: "dark")
  • platform: "ios" or "android" (default: "ios")

Example:

Generate a fitness dashboard with workout stats, progress rings, and a start workout button

Output: Creates screens/FitnessDashboard.tsx with a complete React Native component.


edit_screen

Modify an existing screen with natural language instructions.

Input:

  • filePath (required): Path to the .tsx file
  • instruction (required): What to change

Example:

filePath: "screens/FitnessDashboard.tsx"
instruction: "change the background to white and make the text dark"

screenshot_to_screen

Convert a screenshot into a React Native screen.

Input:

  • imagePath (required): Path to screenshot (PNG, JPG, WEBP)
  • outputPath: Output .tsx path
  • additionalInstructions: Extra styling instructions

Example:

imagePath: "designs/home-screen.png"
additionalInstructions: "use dark theme and add bottom navigation"

generate_flow

Generate a multi-screen flow with navigation.

Input:

  • prompt (required): Flow description
  • outputDir: Output directory (default: ./screens/)
  • screenCount: Number of screens (3-5)

Example:

Generate an onboarding flow for a fitness app: welcome screen, goal selection, profile setup, and success screen

Output: Creates individual .tsx files plus a Navigation.tsx with React Navigation stack.


list_templates

Browse available screen templates for inspiration.

Input:

  • category: Filter by category

Categories: fitness, ecommerce, social, finance, productivity, onboarding, settings, profile, dashboard, auth

Canvas Sync (Optional)

When MOKKOI_PROJECT_ID, MOKKOI_SUPABASE_URL, and MOKKOI_SUPABASE_ANON_KEY are set, screens generated via MCP automatically appear on the mokkoi.com canvas in real-time.

MCP-generated screens show a green "MCP" badge on the canvas to distinguish them from web-created screens.

Setup

  1. Open your project on mokkoi.com
  2. Copy the project ID from the URL: mokkoi.com/app/projects/{PROJECT_ID}
  3. Set the environment variables:
export MOKKOI_PROJECT_ID="your-project-uuid"
export MOKKOI_SUPABASE_URL="https://your-project.supabase.co"
export MOKKOI_SUPABASE_ANON_KEY="your-anon-key"

BYOK (Bring Your Own Key)

Mokkoi uses your Anthropic API key for AI generation. Your key is sent directly to the Anthropic API via mokkoi.com's serverless functions — it is never stored.

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

License

MIT