alpine-mcp
Provides the complete Alpine.js documentation as resources, including directives, magic properties, global API, and official plugins, enabling AI assistants to accurately reference Alpine.js when building applications.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@alpine-mcpShow me how to use x-for directive"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
alpine-mcp
An MCP (Model Context Protocol) server that provides the complete Alpine.js documentation as resources. Gives AI assistants accurate, up-to-date reference when building with Alpine.js.
Resources
URI | Contents |
| All directives — x-data, x-show, x-bind, x-on, x-model, x-for, x-transition, x-effect, x-ref, x-cloak, x-teleport, x-id, and more |
| All magic properties — $el, $refs, $store, $watch, $dispatch, $nextTick, $root, $data, $id |
| Global API — Alpine.data(), Alpine.store(), Alpine.bind() |
| Official plugins — Mask, Intersect, Persist, Focus, Collapse, Anchor, Morph, Sort |
Related MCP server: Vue Docs MCP
Installation
Claude Desktop
Add to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"alpine": {
"command": "npx",
"args": ["-y", "alpine-mcp"]
}
}
}Restart Claude Desktop.
Claude Code
Run in your terminal:
claude mcp add alpine -- npx -y alpine-mcpOr add it to a project by creating/editing .claude/settings.json:
{
"mcpServers": {
"alpine": {
"command": "npx",
"args": ["-y", "alpine-mcp"]
}
}
}Cursor
Add to your global MCP config at ~/.cursor/mcp.json, or create .cursor/mcp.json in your project root:
{
"mcpServers": {
"alpine": {
"command": "npx",
"args": ["-y", "alpine-mcp"]
}
}
}Restart Cursor.
VS Code
Add to your user settings.json (open with Preferences: Open User Settings (JSON)):
{
"mcp": {
"servers": {
"alpine": {
"type": "stdio",
"command": "npx",
"args": ["-y", "alpine-mcp"]
}
}
}
}Or scope it to a workspace by adding the same block to .vscode/settings.json.
Any MCP client
Any client that supports the Model Context Protocol stdio transport can run it directly:
npx alpine-mcpOr install globally:
npm install -g alpine-mcp
alpine-mcpUsage
Once registered, ask your AI assistant about Alpine.js and it will automatically reference the accurate documentation. For example:
"How do I use x-transition with custom CSS classes?"
"What modifiers does x-on support?"
"How do I persist state across page loads with Alpine?"
"Show me how to use the Focus plugin for a modal."
Development
git clone https://github.com/BillyNoyes/alpine-mcp.git
cd alpine-mcp
npm install
npm run buildLocal config
{
"mcpServers": {
"alpine": {
"command": "node",
"args": ["/path/to/alpine-mcp/build/index.js"]
}
}
}Content
Documentation content is sourced directly from the official Alpine.js repository and covers Alpine.js v3.
License
MIT
Maintenance
Related MCP Connectors
The documentation, as a tool your agent can call: 950+ AI-dev guides. Search + fetch tools.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Versioned documentation registry and semantic search for AI tools and coding assistants.
Serves your design system and coding standards to coding agents, so they stop guessing.
Related MCP Servers
FlicenseNot gradedqualityFmaintenanceAllows AI tools like Cursor, VS Code, Claude, ChatGPT, and Windsurf to access the latest Astro documentation in a structured way, enabling accurate answers about Astro's features, APIs, and best practices.67-- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with up-to-date Vue ecosystem documentation through the Model Context Protocol, enabling semantic search, API lookup, and cross-framework references.11-
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with local access to Filament, Laravel, Livewire, and Pest documentation, enabling offline reference and search.MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with direct access to local Markdown documentation libraries, enabling them to list, read, and search through docs on demand.MIT