oxlint mcp
Oxlint的MCP服务器。
类似于 @eslint/mcp,但与 oxlint!
MCP设置
此包旨在在编辑器/代理客户端中配置为MCP服务器。
VS Code
创建 .vscode/mcp.json 在您的项目中:
{
"servers": {
"Oxlint": {
"type": "stdio",
"command": "npx",
"args": ["oxlint-mcp@latest"]
}
}
}光标
创建 .cursor/mcp.json 在您的项目中:
{
"mcpServers": {
"oxlint": {
"command": "npx",
"args": ["oxlint-mcp@latest"],
"env": {}
}
}
}可选全局配置: ~/.cursor/mcp.json
帆板运动
将此添加到 ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"oxlint": {
"command": "npx",
"args": ["oxlint-mcp@latest"],
"env": {}
}
}
}故障排除
- 在VS Code中,运行
MCP: List Servers并检查服务器日志Show Output. - 跑
npx oxlint-mcp@latest直接在终端中确认服务器可以启动。 - 确保Node.js和
npx在与MCP客户端相同的环境中可用。
许可证
阿帕奇-2.0
