About
A MCP server for Stylelint
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
GitHub
PRs, issues, code search, CI status
by 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
by mcpdotdirectCompare Stylelint with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
