Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cseiberling opened this issue May 9, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cseiberling
Copy link
Contributor

cseiberling commented May 9, 2025

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.
@cseiberling cseiberling added the bug Something isn't working label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants