Feature request: metals-lsp plugin for Scala language server

Resolved 💬 3 comments Opened Apr 14, 2026 by onne Closed Jun 16, 2026

Summary

Please add a metals-lsp plugin to the official claude-plugins-official marketplace, following the same pattern as kotlin-lsp, jdtls-lsp, etc.

Plugin config (proven working locally)

{
  "name": "metals-lsp",
  "description": "Scala language server (Metals) for code intelligence and refactoring",
  "version": "1.0.0",
  "lspServers": {
    "metals": {
      "command": "metals",
      "extensionToLanguage": {
        ".scala": "scala",
        ".sbt": "sbt",
        ".sc": "scala"
      },
      "startupTimeout": 120000
    }
  }
}

Prerequisites

  • Metals must be installed and on PATH (https://scalameta.org/metals)
  • Metals speaks standard LSP over stdio by default (no --stdio flag needed)
  • Tested with Metals 0.11.2 on macOS

File types

  • .scala — Scala source files
  • .sbt — sbt build files
  • .sc — Scala scripts / Ammonite

Community plugin process

If there is a community plugin submission process separate from the official marketplace, please document it — the current docs don't mention one. Happy to contribute this upstream if there's a path to do so.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗