Skip to main content
Glama
ryo-manba

stylelint-mcp

by ryo-manba

stylelint-mcp

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

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryo-manba/stylelint-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server