Stylelint
FreeNot checkedEnables AI models to run Stylelint on CSS files and fix linting warnings directly through the Model Context Protocol.
About
Enables AI models to run Stylelint on CSS files and fix linting warnings directly through the Model Context Protocol.
README
A Model Context Protocol (MCP) server for Stylelint that enables AI models to interact with Stylelint directly.
Installation
npm -D install stylelint-mcp
Note: You must have stylelint installed either globally or locally in your project.
Usage
The server is started automatically by your editor’s MCP client, but you can run it manually for testing:
npx stylelint-mcp
Editor setup examples
VS Code
Add .vscode/mcp.json:
{
"servers": {
"Stylelint": {
"type": "stdio",
"command": "npx",
"args": ["stylelint-mcp@latest"]
}
}
}
Cursor
Add .cursor/mcp.json:
{
"mcpServers": {
"stylelint": {
"command": "npx",
"args": ["stylelint-mcp@latest"],
"env": {}
}
}
}
Example prompts
Run Stylelint on the current file and explain the warnings
Lint #file:index.css and fix
License
Installing Stylelint
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ryo-manba/stylelint-mcpFAQ
Is Stylelint MCP free?
Yes, Stylelint MCP is free — one-click install via Unyly at no cost.
Does Stylelint need an API key?
No, Stylelint runs without API keys or environment variables.
Is Stylelint hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Stylelint in Claude Desktop, Claude Code or Cursor?
Open Stylelint on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Stylelint with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
