feat: add MCP server support for user-home relative editor config paths and Windsurf editor#7470
feat: add MCP server support for user-home relative editor config paths and Windsurf editor#7470arturaz wants to merge 5 commits intoscalameta:mainfrom
Conversation
…hs and Windsurf editor
| extends Editor( | ||
| name = "Cursor", | ||
| settingsPath = ".cursor/", | ||
| settingsPath = SettingsPath.UserHomeRelative(".cursor/"), |
There was a problem hiding this comment.
It was on purpose set up in the workspace, not globally. A user may have multiple Metals projects open, each with a separate Metals server started. So the Metals MCP server really works per project (workspace).
There was a problem hiding this comment.
@arturaz Doesn't Windsurf support also workspace mcp settings? My note above also applies to Windsurf.
There was a problem hiding this comment.
Yeah, the cursor change was fat-fingered here, fixed in ae9de82
There was a problem hiding this comment.
As for windsurf, I've asked it in their discord, but no response so far, so I presume no? At least neither of these work:
project/.codeium/windsurf/mcp_config.jsonproject/.codeium/windsurf/mcp.jsonproject/.windsurf/mcp_config.jsonproject/.windsurf/mcp.json
There was a problem hiding this comment.
I know, but isn't the I received the answer when writing the question :).Windsurf MCP config still global? Isn't there a way to add an MCP server per workspace for Windsurf?
There was a problem hiding this comment.
Yes, windsurf MCP config is global. I am not aware of a way to make it per-project.
There was a problem hiding this comment.
…f-mcp-server-support
|
I'm hesitant if we should merge this. It seems that currently there is no way to enable/disable an MCP plugin in windsurf per workspace. Adding Metals MCP server globally will allow to use only a single workspace with Metals MCP at a time, leaving behind a stale/misleading configuration. |
|
Had an idea: what if we would disambiguate the metals MCP server by giving them names that are full paths to the project? Then when updating the file we could remove stale entries by checking if the path on disk still exists. |
|
That might work I guess 🤔 |

No description provided.