MCP server that gives AI coding tools premium Flutter components

Created By
Patrick Botkins2 months ago
Lustre is an MCP server that gives AI coding tools (Claude Code, Cursor, Windsurf, Codex) access to 46 production-quality Flutter widgets with a real design token system. Instead of generating generic Material UI, your AI produces beautiful, consistent screens with proper spacing, micro-animations, subtle depth, and full dark mode support. Includes 3 visual themes (Clean, Bold, Glass), navigation components, cards, lists, forms, feedback widgets, data display, and complete layout patterns. Zero dependencies beyond Flutter SDK. Each widget is a single self-contained .dart file.
Overview

lustre-mcp
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Lustre MCP Server

MCP server that exposes the Lustre component library to AI coding agents (Claude Code, Cursor, etc.).

What is Lustre?

Lustre is a premium Flutter component library with three beautiful themes:

  • Clean: Subtle borders, soft shadows, modern
  • Bold: Crisp borders, high contrast, confident
  • Glass: Frosted glass surfaces, gradient backgrounds, premium

All 46+ components support light/dark mode and theme switching.

Installation

npm install -g lustre-mcp

Usage

With Claude Code

In claude_code_config.json:

{
  "mcpServers": {
    "lustre": {
      "command": "npx",
      "args": ["lustre-mcp"]
    }
  }
}

With Cursor

Similar setup in .cursor/rules.json or via the Cursor settings panel.

Available Tools

1. lustre_list_components

List all available components with descriptions.

Optional: category filter (navigation, cards, lists, forms, feedback, data_display, surfaces, layout)

2. lustre_search_components

Search for components by description.

Input: query (string) Output: Matching components with names and descriptions

3. lustre_get_component

Get complete Dart source code for a component.

Input:

  • component (string, required) - Component name (e.g., "profile_card")
  • theme (string) - Theme variant: "clean", "bold", or "glass" (default: clean)
  • brightness (string) - Color scheme: "light" or "dark" (default: light)

4. lustre_get_design_tokens

Get design tokens for a theme (colors, typography, spacing).

Input:

  • theme (string) - Theme variant: "clean", "bold", or "glass"
  • brightness (string) - Color scheme: "light" or "dark"

5. lustre_get_layout_pattern

Get a complete page layout with example components.

Input:

  • pattern (string) - Layout type: "settings_page", "profile_page", "dashboard", or "onboarding"
  • theme (string) - Theme variant (default: clean)

6. lustre_setup_theme

Get setup instructions for using Lustre in a Flutter project.

Input:

  • theme (string) - Default theme: "clean", "bold", or "glass"

Pricing

Free Tier:

  • List and search all components
  • Get 15 core components
  • Get design tokens and layout patterns
  • Get setup instructions

Pro Tier ($12/month):

  • All 46+ components
  • All tools, all themes, all features
  • Early access to new components
  • Priority support

Development

# Install dependencies
npm install

# Build TypeScript npm run build

# Run in development mode npm run dev

# Start production server npm start

Component Categories

  • Navigation (5): AppBar, BottomNav, Tabs, Breadcrumb, SegmentedControl
  • Cards (7): Card, InfoCard, ProfileCard, ProductCard, PricingCard, StatCard, TestimonialCard
  • Lists (5): SettingsList, ChatList, ContactList, NotificationList, ActionList
  • Forms (7): TextField, Toggle, Slider, Dropdown, SearchBar, CheckboxGroup, DatePicker
  • Inputs (1): Button (primary, secondary, outline)
  • Feedback (6): Dialog, Snackbar, BottomSheet, LoadingState, Toast, EmptyState
  • Data Display (5): Badge, ProgressBar, ProgressRing, StatCounter, Avatar
  • Surfaces (4): Section, Divider, GlassPane, GradientHeader
  • Layout (6): SettingsPage, ProfilePage, DashboardGrid, OnboardingFlow, ListDetailLayout, AuthPage

License

MIT

Support

Server Config

{
  "mcpServers": {
    "lustre": {
      "command": "npx",
      "args": [
        "lustre-mcp"
      ]
    }
  }
}
Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
Patrick Botkins
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

5 hours ago