Skip to content

Commit 990d8f6

Browse files
authored
Merge pull request #12 from cseiberling/main
2 parents 79a40b1 + 649637e commit 990d8f6

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,48 @@ The server implements two tools:
1919

2020
The MCP server relies upon Astral UV to run, please [install](https://docs.astral.sh/uv/getting-started/installation/)
2121

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.
63+
2264
## Configuration for Different IDEs
2365

2466
### Visual Studio Code Configuration

0 commit comments

Comments
 (0)