MCP Server
What is MCP?
MCP (Model Context Protocol) is a standardized protocol that enables AI assistants to access external data sources and tools. Pohon UI provides an MCP server that allows AI assistants like Claude Code, Cursor, and Windsurf to access component information, source code, and usage examples directly.
The MCP server provides structured access to our component library, making it easy for AI tools to understand and assist with Pohon UI development.
Available Resources
The Akar MCP server provides the following resources for discovery:
resource://akar/components: Browse all available components with categoriesresource://akar/composables: Browse all available composables with categoriesresource://akar/examples: Browse all available code examplesresource://akar/documentation-pages: Browse all available documentation pages
You're able to access these resources with tools like Claude Code by using @.
Available Tools
The Akar MCP server provides the following tools organized by category:
Component Tools
list_components: Lists all available Akar & Pohon UI components with their categories and basic informationlist_composables: Lists all available Akar & Pohon UI composables with their categories and basic informationget_component: Retrieves component documentation and detailsget_component_metadata: Retrieves detailed metadata for a component including props, slots, and eventssearch_components_by_category: Searches components by category or text filter
Documentation Tools
list_documentation_pages: Lists all documentation pagesget_documentation_page: Retrieves documentation page content by URL pathlist_getting_started_guides: Lists all getting started guides and installation instructions
Example Tools
list_examples: Lists all available UI examples and code demonstrationsget_example: Retrieves specific UI example implementation code and details
Available Prompts
The Akar MCP server provides guided prompts for common workflows:
find_component_for_usecase: Find the best component for your specific use caseimplement_component_with_props: Generate complete component implementation with proper props
You're able to access these resources with tools like Claude Code by using /.
Configuration
The Akar MCP server uses HTTP transport and can be configured in different AI assistants.
ChatGPT
Follow these steps to set up Akar as a connector within ChatGPT:
- Enable Developer mode:
- Go to Settings → Connectors → Advanced settings → Developer mode
- Open ChatGPT settings
- In the Connectors tab, Create a new connector:
- Give it a name:
Akar - MCP server URL:
https://akar.vinicunca.dev/mcp - Authentication:
None
- Give it a name:
- Click Create
The Akar connector will appear in the composer's "Developer mode" tool later during conversations.
Claude Code
Add the server using the CLI command:
claude mcp add --transport http akar https://akar.vinicunca.dev/mcp
Cursor
Manual Setup Instructions:
- Open Cursor and go to "Settings" > "Tools & MCP"
- Add the Akar MCP server configuration
Or manually create/update .cursor/mcp.json in your project root:
{
"mcpServers": {
"akar": {
"type": "http",
"url": "https://akar.vinicunca.dev/mcp"
}
}
}
Le Chat Mistral
Setup Instructions:
- Navigate to "Intelligence" > "Connectors"
- Click on "Add Connector" button, then select "Custom MCP Connector"
- Create your Custom MCP Connector:
- Connector Name :
Akar - Connector Server :
https://akar.vinicunca.dev/mcp
- Connector Name :
Visual Studio Code
Setup Instructions:
- Open VS Code and access the Command Palette (Ctrl/Cmd + Shift + P)
- Type "Preferences: Open Workspace Settings (JSON)" and select it
- Navigate to your project's
.vscodefolder or create one if it doesn't exist - Create or edit the
mcp.jsonfile with the following configuration:
{
"servers": {
"akar": {
"type": "http",
"url": "https://akar.vinicunca.dev/mcp"
}
}
}
Windsurf
Setup Instructions:
- Open Windsurf and navigate to "Settings" > "Windsurf Settings" > "Cascade"
- Click the "Manage MCPs" button, then select the "View raw config" option
- Add the following configuration to your MCP settings:
{
"mcpServers": {
"akar": {
"type": "http",
"url": "https://akar.vinicunca.dev/mcp"
}
}
}
Zed
Setup Instructions:
- Open Zed and go to "Settings" > "Open Settings"
- Navigate to the JSON settings file
- Add the following context server configuration to your settings:
{
"context_servers": {
"akar": {
"source": "custom",
"command": "npx",
"args": ["mcp-remote", "https://akar.vinicunca.dev/mcp"],
"env": {}
}
}
}
Opencode
Setup Instructions:
- In your project root, create
opencode.json - Add the following configuration:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"akar": {
"type": "remote",
"url": "https://akar.vinicunca.dev/mcp",
"enabled": true
}
}
}
Usage Examples
Once configured, you can ask your AI assistant questions like:
- "List all available Pohon UI components"
- "Get Button component documentation"
- "What props does Input accept?"
- "Find form-related components"
- "List dashboard templates"
- "Get template setup instructions"
- "Show installation guide"
- "Get v4 migration guide"
- "List all examples"
- "Get ContactForm example code"
The AI assistant will use the MCP server to fetch structured JSON data and provide guided assistance for Akar & Pohon UI during development.