Today, we're excited to introduce the Ark UI MCP Server - a server that provides knowledge of Ark UI (React, Vue, Solid, Svelte) to AI agents.
This server is built on the Model Context Protocol , and gives AI assistants structured access to the Ark UI component system, exposing component examples, styling guidelines, and more.
Available Tools
The MCP Server exposes these tools to AI agents:
list_components
: Returns a full list of all available componentslist_examples
: Lists various component examplesget_example
: Retrieves code examples and usage patternsstyling_guide
: Provides styling guidelines for components (data attributes and CSS variables)
Framework Demos
Let's take a look at how different AI tools build Ark UI components using the MCP Server.
React: Building a Checkbox w/ Copilot
Using VSCode Copilot to generate a closed checkbox component in React.
Vue: Building an OTP Verification w/ Cursor
Using Cursor to build an OTP verification component in Vue.
Using the MCP Server
Connect the MCP Server to your IDE or AI assistant of choice via the following steps:
Configure the MCP Server
To get started with the MCP server, add this to your AI tool's configuration file:
{
"mcpServers": {
"ark-ui": {
"command": "npx",
"args": ["-y", "@ark-ui/mcp"]
}
}
}
Start the MCP Server
In some IDEs (like VSCode), you might need to start the MCP server manually. Click the "Start" button.
Conclusion
The Ark UI MCP Server helps you build design systems in any framework. Check out the MCP docs to setup the server in your favorite IDE.