Skip to content

Bug: TALXIS CLI MCP fails on Windows due to invalid ~ path expansion in process path / working directory #125

@zdeneksrejber

Description

@zdeneksrejber

Bug: TALXIS CLI MCP fails on Windows because ~ is resolved to invalid paths

Summary

On Windows, the TALXIS CLI MCP server fails to start from VS Code because a path under the user profile is rewritten to ~ and then resolved incorrectly.

Observed bad paths:

  • ~\.nuget\packages\talxis.cli.mcp\1.16.0\tools\net10.0\any\TALXIS.CLI.exe
  • c:\~\Sources\my-agent-team

Error:

System.ComponentModel.Win32Exception (267)
The directory name is invalid.

Environment

  • OS: Windows
  • Workspace: c:\Users\zdene\Sources\my-agent-team
  • Related repo also open: c:\Users\zdene\Sources\PCT21016
  • MCP config: c:\Users\zdene\Sources\my-agent-team\.vscode\mcp.json
  • txc version: 1.16.0+7c3d7b6f1f50617575ff5b0a1e59290d2b8947a1

MCP config

{
  "servers": {
    "TALXIS CLI": {
      "type": "stdio",
      "command": "dnx",
      "args": ["TALXIS.CLI.MCP", "--yes"]
    }
  }
}

Repro

  1. Open VS Code on Windows.
  2. Open a workspace under the user profile, e.g. c:\Users\zdene\Sources\my-agent-team.
  3. Configure the MCP server with dnx TALXIS.CLI.MCP --yes.
  4. Run any TALXIS CLI MCP operation.

Notes

  • Reproduces after VS Code reload and MCP restart.
  • txc --version works in terminal.
  • txc workspace explain works in terminal.
  • This appears to be MCP startup/path handling on Windows, not a repo issue.

Workaround

Use txc directly in a terminal instead of MCP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions