ruff-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ruff_checkC | Run Ruff linting on files or directories |
| ruff_formatC | Format Python code using Ruff |
| ruff_fixB | Auto-fix linting violations where possible |
| pytest_runnerB | Run pytest tests on specific files, test functions, or entire test suite |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Ruff Configuration | Current Ruff linting configuration from pyproject.toml |
| Project Structure | Python project file structure and layout |
| Ruff Rules Documentation | Available Ruff linting rules and their descriptions |
| File Linting Errors | Get linting errors for a specific file (use ruff://errors/path/to/file.py) |
TDQS
Scored across 4 tools
Each tool targets a distinct action: running tests, lint-checking, auto-fixing, and formatting. No overlap in purpose.
Tools consistently use snake_case and an action-oriented pattern, but 'pytest_runner' deviates from the 'ruff_*' prefix used by the others, causing minor inconsistency.
Four tools is a tight, well-scoped set covering the core Python development workflows of testing and linting/formatting.
Covers the essential operations for the domain: test execution, linting, auto-fix, and formatting. Minor gaps like custom rule configuration are absent, but the core is complete.