Integrations
Integrate Mavka with popular frameworks, tools, and design platforms.Next.js Integration
Set up a Next.js project with Mavka in seconds. Our Next.js starter kit includes providers, routing, and everything you need to get started.Installation
The easiest way to get started with Mavka in a Next.js project is to use our CLI:1
Initialize a new Next.js project with Mavka
Using our CLI, you can initialize a new Next.js project with Mavka with the following command:While running the command, you’ll be asked a few questions to set up your project:This will create a new Next.js project in the
mavka-app directory with all the necessary configurations.2
Run the development server
Navigate to your project directory and start the development server:Your Mavka Next.js project is now running at
http://localhost:3000.Manual Setup
If you have an existing Next.js project and want to add Mavka manually, follow our Installation guide.Vite Integration
Quickly integrate Mavka into your Vite-powered React applications for a fast and modern development experience.Installation
Initialize a new Vite project with Mavka using our CLI:1
Initialize a new Vite project with Mavka
Run the following command to scaffold a new Vite project:Follow the prompts to name your project and select your brand color.
2
Start developing
Configuration
Ensure yourtailwind.config.mjs is set up to include Mavka’s theme and components. Refer to the CLI guide for more details on how the CLI handles this automatically.
v0 Integration
v0 integration coming soon
We are currently waiting for v0 to support Tailwind CSS v4.1.
Claude Code Integration
Prerequisites
In order to quickly kickstart your project with Mavka and Claude Code, you need to have Claude Code installed in your machine. Please refer to the Claude Code documentation to install it if you haven’t already.Start using Mavka with Claude
We have prepared starter kits that you can use with Claude Code so that you can get started with Mavka in seconds. First, choose your framework:Next.js starter kit – Mavka
Click to open Next.js starter kit.
Vite starter kit – Mavka
Click to open Vite starter kit.
CLAUDE.md instructions
Our starter kits include aCLAUDE.md file that provides Claude Code with context about the Mavka component library. This file is automatically read by Claude Code when you start a session.
If you want to add Mavka instructions to an existing project, download the AGENT.md file and save it as CLAUDE.md in your project root:
MCP integration
Looking to connect Claude Code to the Mavka component library via MCP (Model Context Protocol)? Check out our MCP integration guide for setup instructions.Gemini Integration
Prerequisites
In order to quickly kickstart your project with Mavka and Gemini, you need to have Gemini CLI installed in your machine. Please refer to the Gemini CLI documentation to install it if you haven’t already.Start using Mavka with Gemini
We have prepared starter kits that you can use with Gemini CLI so that you can get started with Mavka in seconds. First, choose your framework:Next.js starter kit – Mavka
Click to open Next.js starter kit.
Vite starter kit – Mavka
Click to open Vite starter kit.
GEMINI.md instructions
Our starter kits include aGEMINI.md file that provides Gemini CLI with context about the Mavka component library. This file is automatically read by Gemini CLI when you start a session.
If you want to add Mavka instructions to an existing project, download the AGENT.md file and save it as GEMINI.md in your project root:
MCP integration
Looking to connect Gemini CLI to the Mavka component library via MCP (Model Context Protocol)? Check out our MCP integration guide for setup instructions.MCP (Model Context Protocol) Integration
Overview
The Mavka MCP server enables AI assistants like Claude Code and Cursor to directly access our component library. Instead of copying and pasting components manually, your AI assistant can browse, search, and install components for you using natural language.What you can do
- Ask Claude to “add a button component to my project”
- Request “create a dashboard layout with sidebar navigation”
- Get complete page templates: “build a landing page with hero and pricing sections”
- Search components: “find components for data visualization”
Prerequisites
Before integrating the MCP server, ensure you have:- Claude Code, Cursor, Codex, Gemini CLI, or OpenCode installed
- A project initialized with the Mavka CLI (
npx mavka init) - Node.js 18+ installed
How it works
The MCP server helps your AI assistant discover and install components:- You ask for a component or page template in natural language
- AI searches the Mavka library using MCP tools
- AI receives a CLI command to install the component
- AI runs the command in your terminal
- Component is installed with all dependencies automatically
Authentication options
The Mavka MCP server supports three authentication methods:Option 1: OAuth (recommended)
Our MCP server supports OAuth 2.1 with PKCE for secure authentication. MCP clients that support OAuth (like Claude Code) will automatically handle the login flow.- Add the MCP server without any authentication headers
- When you access PRO components, you’ll be prompted to log in via browser
- After authentication, your session persists automatically
- Doesn’t require managing API keys
- Automatically refreshes your session
- Works seamlessly with Claude Code’s OAuth support
Option 2: API key header
For clients that don’t support OAuth, you can use your API key directly:YOUR_API_KEY with your actual API key.
Option 3: No authentication (free components only)
For free components only, no authentication is required:Integration setup
Choose your AI assistant below and follow the steps to connect the Mavka MCP server.Available tools
The MCP server provides six tools for component management:Search and discovery
list_components - Browse components by category
category- Filter by category:base,application,marketing,foundations,shared-assets,examplesskip- Number of components to skip for pagination (default: 0)limit- Maximum number of components to return (default: 100)key- API key for authentication
total, skip, limit, and has_more fields for pagination. For example, to get the second page: list_components({ skip: 100, limit: 100 }).
search_components - Search by functionality
query- Search query (required)category_filter- Optional category filterlimit- Maximum number of results (default: 20)key- API key for authentication
Component installation
get_component - Get and install a single component
get_component_bundle - Install multiple components at once
Page templates
get_page_templates - Browse available page templates (PRO only)
get_page_template_files - Install a complete page template (PRO only)
Example workflows
Building a dashboard
Adding components
Component discovery
Free vs PRO
Free components (no API key required)
- Core base UI components (buttons, inputs, forms, select, etc.)
- Core application components (date picker, table, charts, etc.)
- Foundation components (icons, logos)
PRO components (API key required)
- Advanced marketing sections (hero, testimonials, pricing, CTA, etc.)
- Application components (modals, slideout menus, command menus, etc.)
- All page templates and examples (dashboards, landing pages, etc.)
- Shared assets (login, signup, 404 pages, etc.)
- All component variants
access field ("public" or "pro") so you can see what’s available.
Resources
The MCP server also provides browseable resources:mavka://components- Browse all componentsmavka://components/base- Core UI componentsmavka://components/application- Complex app componentsmavka://components/marketing- Marketing sectionsmavka://templates- Complete page templatesmavka://examples- Usage examples and patterns
Troubleshooting
MCP server not connecting
- Verify your configuration syntax
- Check that the URL is correct:
https://www.mavka.com/react/api/mcp - Try removing and re-adding the MCP:
CLI command fails
If the AI runs a CLI command that fails:- Ensure you’ve initialized Mavka:
npx mavka init - Check that you’re in the correct project directory
- Verify Node.js 18+ is installed
PRO access denied
- Add your API key to the MCP configuration or use OAuth
- Verify your API key is valid
- Ensure your subscription includes access to React PRO components
Component not found
- Check the component name is correct (use
search_componentsto find it) - Some components may have specific names like
hero-simple-text-01
Design Tools
Figma
Mavka is built on a pixel-perfect Figma design system. You can find our official Figma kit to align your designs with your code.Figma Design System
Get the official Mavka Figma UI kit and start designing.
FAQ
Does Mavka support Next.js App Router?
Does Mavka support Next.js App Router?
Yes, Mavka fully supports the Next.js App Router and Server Components.
Can I use Mavka with other frameworks?
Can I use Mavka with other frameworks?
While we provide official support for Next.js and Vite, Mavka is compatible with any framework that supports React and Tailwind CSS.