Skip to content

Support Model Context Protocol #3629

Open
@susliko

Description

@susliko

Is your feature request related to a problem? Please describe.
Agentic workflows—where language models act as autonomous agents—are starting to use the Model Context Protocol to discover and interact with tools in the developer environment. Support of mcp mode in scala-cli might include features like:

  • using scala-cli compile/test/run/package/etc commands or even lsp-capabilities like "find references" as a tool
  • exposing build/lsp information as a resource

Describe the solution you'd like
Support for MCP in scala-cli, e.g. via a scala-cli mcp subcommand that starts a server conforming to the mcp spec.

Describe alternatives you've considered

Packing scala-cli documentation into a concise llm.txt document and adding it to the agent context might also work for the tool-scenario. But it's less powerfull, I guess

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions