Acss
БесплатноНе проверенMCP server for Automatic CSS v3.0 documentation — fuzzy search, page lookup, category browsing, CSS variables
Описание
MCP server for Automatic CSS v3.0 documentation — fuzzy search, page lookup, category browsing, CSS variables
README
An MCP (Model Context Protocol) server that provides AI assistants with access to the complete Automatic CSS v3.0 documentation. This server enables Claude and other MCP-compatible AI assistants to search, browse, and retrieve detailed information about ACSS classes, variables, and documentation.
Table of Contents
- What is This?
- Features
- Installation
- Usage
- Available Tools
- Development
- Troubleshooting
- Data Files
- Contributing
- License
Features
✨ Comprehensive Search - Fuzzy full-text search across all ACSS documentation 📖 Page Retrieval - Get complete documentation pages with code examples 🗂️ Category Browsing - Explore the full documentation structure 🎨 Variable Lookup - Search and filter CSS custom properties with defaults 🚀 Fast & Local - Pre-indexed data for instant responses 🔧 Easy Integration - Works with Claude Desktop and Claude.ai web
What is This?
This MCP server exposes four powerful tools for interacting with Automatic CSS documentation:
search_acss_docs- Fuzzy full-text search across all ACSS v3.0 documentation pagesget_acss_page- Retrieve the complete content of a specific documentation pagelist_acss_categories- Browse all documentation categories and their structureget_acss_variables- Search and filter ACSS CSS custom properties (variables)
With this server, AI assistants can help you:
- Find the right ACSS classes for your design needs
- Look up CSS variable names and their defaults
- Understand ACSS features and best practices
- Get code examples and implementation guidance
Installation
Prerequisites
- Node.js 18 or higher
- npm or another package manager
Standard Installation
- Clone this repository:
git clone <repository-url>
cd acss-mcp-server
- Install dependencies:
npm install
- Build the TypeScript project:
npm run build
- Configure your MCP client (e.g., Claude Desktop) to use this server.
Configuration for Claude Desktop
Add this server to your Claude Desktop configuration file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"acss-docs": {
"command": "node",
"args": ["/absolute/path/to/acss-mcp-server/dist/index.js"]
}
}
}
Replace /absolute/path/to/acss-mcp-server with the actual path where you cloned this repository.
Configuration for Claude.ai Web (MCP Servers Settings)
If you're using the Claude.ai web interface with MCP support, you can add this server using the following fields:
Server name:
acss-docs
Command (for local servers):
node /absolute/path/to/acss-mcp-server/dist/index.js
Replace /absolute/path/to/acss-mcp-server with the actual path where you cloned and built this repository.
Note: Leave the "HTTP URL (for remote servers)" field empty when running locally.
Usage
After installation and configuration, restart your MCP client (Claude Desktop or reload Claude.ai). The server will automatically connect and make the ACSS documentation tools available.
You can then ask Claude questions like:
- "What ACSS classes are available for creating buttons?"
- "Show me the spacing variables in ACSS"
- "How do I use ACSS grid utilities?"
- "What's the default value for the primary button color variable?"
Claude will use the MCP server to search the documentation and provide accurate, detailed answers.
Available Tools
search_acss_docs
Full-text fuzzy search across all documentation.
Parameters:
query(required) - Search query (e.g., "flexbox grid", "btn variables")category(optional) - Filter by category sluglimit(optional) - Max results to return (default 10, max 50)offset(optional) - Skip N results for pagination
get_acss_page
Get the full content of a specific documentation page.
Parameters:
slug(required) - Page slug (e.g., "buttons-links/button-variables")
list_acss_categories
List all documentation categories.
Parameters:
include_pages(optional) - Include page listings per category
get_acss_variables
Search and browse CSS custom properties.
Parameters:
category(optional) - Filter by variable categorysearch(optional) - Search term to filter variableslimit(optional) - Max results (default 10, max 50)offset(optional) - Skip N results for pagination
Development
Project Structure
acss-mcp-server/
├── src/
│ ├── index.ts # Server entry point
│ ├── server.ts # MCP server setup and tool registration
│ ├── tools/ # Tool implementations
│ │ ├── search-docs.ts
│ │ ├── get-page.ts
│ │ ├── list-categories.ts
│ │ └── get-variables.ts
│ └── scraper/ # Documentation scraper
├── data/ # Pre-scraped documentation data
│ ├── pages.json
│ ├── categories.json
│ └── variables.json
├── dist/ # Compiled JavaScript (generated)
└── package.json
Commands
Run in development mode (without building):
npm run dev
Build for production:
npm run build
Start the server (after building):
npm start
Update documentation data:
npm run scrape
Run tests:
npm test
Technology Stack
- Runtime: Node.js 18+
- Language: TypeScript 5.7
- MCP SDK: @modelcontextprotocol/sdk v1.12+
- Search: Fuse.js (fuzzy search)
- Scraping: Cheerio (HTML parsing)
- Validation: Zod (schema validation)
- Testing: Vitest
Troubleshooting
Server Not Connecting
Problem: Claude can't connect to the MCP server
Solutions:
- Verify the path in your configuration is absolute (not relative)
- Ensure you've run
npm run buildand thedist/folder exists - Check that Node.js is in your system PATH
- Restart Claude Desktop or reload Claude.ai after configuration changes
Module Not Found Errors
Problem: Getting "Cannot find module" errors
Solution:
# Clean install
rm -rf node_modules package-lock.json
npm install
npm run build
Server Crashes on Startup
Problem: Server exits immediately with errors
Solutions:
- Check Node.js version:
node --version(must be 18+) - Verify data files exist in the
data/directory - Check server logs in Claude Desktop (Help > View Logs)
Wrong Documentation Version
Problem: Documentation seems outdated
Solution:
# Re-scrape the latest documentation
npm run scrape
npm run build
Data Files
The server uses pre-scraped documentation data stored in the /data directory:
pages.json- All documentation pages with full content, code examples, and metadatacategories.json- Category structure, slugs, and organizationvariables.json- CSS custom properties with defaults and descriptions
To update this data, run npm run scrape (requires access to the ACSS documentation source).
Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-new-feature - Make your changes and add tests if applicable
- Run tests:
npm test - Build to verify:
npm run build - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin feature/my-new-feature - Submit a pull request
Areas for Contribution
- 🐛 Bug fixes and error handling improvements
- 📚 Additional tool implementations
- 🧪 Test coverage expansion
- 📖 Documentation improvements
- ⚡ Performance optimizations
- 🌐 Support for additional MCP clients
License
MIT License - See LICENSE file for details
Acknowledgments
- Built with the Model Context Protocol SDK
- Documentation content from Automatic CSS
- Powered by Claude and Anthropic
Support
For MCP Server Issues: Open an issue on this GitHub repository
For ACSS Product Support: Visit Automatic CSS or contact their support team
For MCP Protocol Questions: Check the MCP Documentation
Made with ❤️ for the ACSS community
Установка Acss
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Aventerica89/acss-mcp-serverFAQ
Acss MCP бесплатный?
Да, Acss MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Acss?
Нет, Acss работает без API-ключей и переменных окружения.
Acss — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Acss в Claude Desktop, Claude Code или Cursor?
Открой Acss на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Acss with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
