Skip to main content
Glama
seo-rii

oxlint-mcp

by seo-rii

oxlint-mcp

MCP server for Oxlint.

Similar to @eslint/mcp, but with oxlint!

MCP Setup

This package is meant to be configured as an MCP server in your editor/agent client.

VS Code

Create .vscode/mcp.json in your project:

{
  "servers": {
    "Oxlint": {
      "type": "stdio",
      "command": "npx",
      "args": ["oxlint-mcp@latest"]
    }
  }
}

Cursor

Create .cursor/mcp.json in your project:

{
  "mcpServers": {
    "oxlint": {
      "command": "npx",
      "args": ["oxlint-mcp@latest"],
      "env": {}
    }
  }
}

Optional global configuration: ~/.cursor/mcp.json

Windsurf

Add this to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "oxlint": {
      "command": "npx",
      "args": ["oxlint-mcp@latest"],
      "env": {}
    }
  }
}

Related MCP server: MOIDVK

Troubleshooting

  • In VS Code, run MCP: List Servers and check server logs with Show Output.

  • Run npx oxlint-mcp@latest directly in terminal to confirm the server can start.

  • Ensure Node.js and npx are available in the same environment as your MCP client.

License

Apache-2.0

Available Tools

1 tool
lint-filesB

Lint files using Oxlint. You must provide a list of absolute file paths to the files you want to lint. The absolute file paths should be in the correct format for your operating system (e.g., forward slashes on Unix-like systems, backslashes on Windows).

ParametersJSON Schema
NameRequiredDescriptionDefault
filePathsYes

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions the need for absolute file paths and OS-specific formatting, but fails to disclose key behavioral traits such as what the linting process entails (e.g., error reporting, output format), whether it modifies files, performance implications, or any rate limits. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded, starting with the core purpose. Both sentences add value: the first states the action, and the second specifies parameter requirements. There's no unnecessary information, though it could be slightly more structured (e.g., bullet points for constraints).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (1 parameter, no output schema, no annotations), the description is partially complete. It covers the basic purpose and parameter semantics but lacks details on behavioral traits, output expectations, and usage scenarios. Without annotations or output schema, more context on what linting returns would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context beyond the input schema, which has 0% coverage. It explains that 'filePaths' must be absolute paths in OS-specific format, clarifying the parameter's purpose and constraints. However, it doesn't detail what constitutes valid file paths or examples beyond slashes, leaving some ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Lint files using Oxlint.' It specifies the verb ('lint') and resource ('files'), though it doesn't differentiate from siblings as none exist. However, it could be more specific about what 'lint' entails (e.g., checking for errors, style issues).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides some usage context by specifying that absolute file paths are required and must be in the correct OS format. However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., other linters or file-checking tools), and there's no mention of prerequisites or typical scenarios for linting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev0.1.1
    • First observedlint-files

TDQS

B3.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'lint-files' has a clear, distinct purpose focused on linting files using Oxlint.

Naming Consistency5/5

The naming convention is consistent by default since there is only one tool. The name 'lint-files' follows a clear verb_noun pattern, and there are no other tools to cause inconsistency.

Tool Count2/5

A single tool is too few for a server's purpose, as it limits functionality and scope. While the tool is specific to linting, a typical server would benefit from additional tools for tasks like configuration or result analysis, making this feel thin and under-scoped.

Completeness3/5

The tool provides a basic linting operation, but there are notable gaps in the surface. For a linting domain, expected features like configuring rules, ignoring files, or formatting results are missing, which could hinder agent workflows and cause workarounds.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive Model Context Protocol (MCP) server that provides 37+ intelligent development tools across JavaScript/TypeScript, Rust, and Python with security-first design and high-performance features.
    24 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that exposes Pyright language server functionality for Python, providing tools for type checking, code completions, and finding definitions. It enables AI models to perform static analysis and code formatting through the Model Context Protocol.
    7
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A lightweight MCP server that provides 40 tools for TypeScript/JavaScript refactoring and code intelligence, directly mapping to TypeScript's tsserver protocol commands for accurate structural changes and workspace analysis.
    40
    18 npm
    3
    MIT