Skip to content

CI test runner connects then breaks MCP server #1010

@cjmanca

Description

@cjmanca

I have a github CI self hosted test runner on the same dev computer as I'm coding from.

A github action on commit will cause my test runner to pull and run tests against the Unity project. This works fine, however during the process of that, it looks like UnityMCP in that test runner project is connecting to the running UnityMCP for my actual dev instance.

Once the local github runner finishes, the MCP server exits, and my local instance loses connection to it, forcing me to continually re-launch the MCP server after each commit.

I would love to see an option to have it not attempt to connect to the MCP server if it's running as a headless tests-only CI launch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions