You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,48 @@ The server implements two tools:
19
19
20
20
The MCP server relies upon Astral UV to run, please [install](https://docs.astral.sh/uv/getting-started/installation/)
21
21
22
+
### MacOS Workaround for uvx
23
+
24
+
There is a known issue with `uvx` on **MacOS** where the CodeLogic MCP server may fail to launch in certain IDEs (such as Cursor), resulting in errors like:
25
+
See [issue #11](https://github.com/CodeLogicIncEngineering/codelogic-mcp-server/issues/11)
26
+
```
27
+
Failed to connect client closed
28
+
```
29
+
30
+
This appears to be a problem with Astral `uvx` running on MacOS. The following can be used as a workaround:
31
+
32
+
1. Clone this project locally.
33
+
2. Configure your `mcp.json` to use `uv` instead of `uvx`. For example:
34
+
35
+
```json
36
+
{
37
+
"mcpServers": {
38
+
"codelogic-mcp-server": {
39
+
"type": "stdio",
40
+
"command": "<PATH_TO_UV>/uv",
41
+
"args": [
42
+
"--directory",
43
+
"<PATH_TO_THIS_REPO>/codelogic-mcp-server-main",
44
+
"run",
45
+
"codelogic-mcp-server"
46
+
],
47
+
"env": {
48
+
"CODELOGIC_SERVER_HOST": "<url to the server e.g. https://myco.app.codelogic.com>",
49
+
"CODELOGIC_USERNAME": "<my username>",
50
+
"CODELOGIC_PASSWORD": "<my password>",
51
+
"CODELOGIC_MV_NAME": "<my workspace>",
52
+
"CODELOGIC_DEBUG_MODE": "true"
53
+
}
54
+
}
55
+
}
56
+
}
57
+
```
58
+
59
+
3. Restart Cursor.
60
+
4. Ensure the Cursor Global Rule for CodeLogic is in place.
61
+
5. Open the MCP tab in Cursor and refresh the `codelogic-mcp-server`.
62
+
6. Ask Cursor to make a code change in an existing class. The MCP server should now run the impact analysis successfully.
0 commit comments