Skip to content

Wrong MCP server selected. #7930

@cheleb

Description

@cheleb

Describe the bug

Wrong MCP server selected when current workspace has more than one project.

When I open 2 projects (Project 1 and 2) in the same Cursor workspace, calls to Metals MCP tools are failing when targeting one off this project:

Tool: compile-module moduleA in project 1:

Error: Module not found: moduleA

LLM is smart enough to list module, and project 2 modules are listed.

I need to double check, my intuition is that LLM only talk to Metals MCP on the active (Cursor) project.

Expected behavior

No response

Operating system

Mac OS

Editor/Extension

Cursor

Version of Metals

v1.6.3

Scala version/s

N/A

Extra context or search terms

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions