Skip to content

[Bug]: No server info found error when invoking the MCP server on MacOS #11

Open
@cseiberling

Description

@cseiberling

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

  1. Installed Astral UV.
  2. Configured the MCP server in Cursor using the recommended configuration
  3. Restarted Cursor.
  4. Added Cursor global rule.
  5. Attempted to connect Cursor to the MCP server.
  6. 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.

  1. Clone this project.
  2. 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"
      }
    }
  }
}
  1. Restart Cursor.
  2. Make sure the Cursor Global Rule is in place.
  3. Refresh codelogic-mcp-server in the Cursor MCP tab.
  4. Ask Cursor to make a code change in an existing class, the MCP server will now run the impact analysis.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions