Skip to main content
Glama
drewsonne

ruff-mcp-server

by drewsonne

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Ruff ConfigurationCurrent Ruff linting configuration from pyproject.toml
Project StructurePython project file structure and layout
Ruff Rules DocumentationAvailable Ruff linting rules and their descriptions
File Linting ErrorsGet linting errors for a specific file (use ruff://errors/path/to/file.py)

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/drewsonne/ruff-mcp-server'

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