Open
Description
Bug Description
When using Cursor on MacOS the following errors are thrown, and the MCP server fails to connect to the CodeLogic instance:
2025-04-16 15:47:22.789 [error] -mcp: Error in MCP: Client closed
2025-04-16 15:47:22.790 [info] -mcp: Handling ListOfferings action
2025-04-16 15:47:22.798 [error] -mcp: No server info found
Steps To Reproduce
- Installed Astral UV.
- Configured the MCP server in Cursor using the recommended configuration
- Restarted Cursor.
- Added Cursor global rule.
- Attempted to connect Cursor to the MCP server.
- Observed the following errors in the Cursor Problems section.
2025-04-16 15:47:22.789 [error] -mcp: Error in MCP: Client closed
2025-04-16 15:47:22.790 [info] -mcp: Handling ListOfferings action
2025-04-16 15:47:22.798 [error] -mcp: No server info found
Expected Behavior
Cursor will be able to connect to the MCP server and use the MCP tools to run impact analysis.
Screenshots
No response
Operating System
macOS
Python Version
3.9
Package Version
1.0.2
Client Implementation
Cursor
Model(s) Used
Cursor
Additional Context
This appears to be a problem with Astral uvx running on MacOS. The following can be used as a workaround.
- Clone this project.
- Configure the mcp.json to use uv rather than uvx.
{
"mcpServers": {
"codelogic-mcp-server": {
"type": "stdio",
"command": "<PATH_TO_UV>/uv",
"args": [
"--directory",
"<PATH_TO_THIS_REPO>/codelogic-mcp-server-main",
"run",
"codelogic-mcp-server"
],
"env": {
"CODELOGIC_SERVER_HOST": "<url to the server e.g. https://myco.app.codelogic.com>",
"CODELOGIC_USERNAME": "<my username>",
"CODELOGIC_PASSWORD": "<my password>",
"CODELOGIC_MV_NAME": "<my workspace>",
"CODELOGIC_DEBUG_MODE": "true"
}
}
}
}
- Restart Cursor.
- Make sure the Cursor Global Rule is in place.
- Refresh codelogic-mcp-server in the Cursor MCP tab.
- Ask Cursor to make a code change in an existing class, the MCP server will now run the impact analysis.
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't working