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
- Open VS Code on Windows.
- Open a workspace under the user profile, e.g.
c:\Users\zdene\Sources\my-agent-team.
- Configure the MCP server with
dnx TALXIS.CLI.MCP --yes.
- 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.
Bug: TALXIS CLI MCP fails on Windows because
~is resolved to invalid pathsSummary
On Windows, the
TALXIS CLIMCP 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.exec:\~\Sources\my-agent-teamError:
Environment
c:\Users\zdene\Sources\my-agent-teamc:\Users\zdene\Sources\PCT21016c:\Users\zdene\Sources\my-agent-team\.vscode\mcp.jsontxcversion:1.16.0+7c3d7b6f1f50617575ff5b0a1e59290d2b8947a1MCP config
{ "servers": { "TALXIS CLI": { "type": "stdio", "command": "dnx", "args": ["TALXIS.CLI.MCP", "--yes"] } } }Repro
c:\Users\zdene\Sources\my-agent-team.dnx TALXIS.CLI.MCP --yes.Notes
txc --versionworks in terminal.txc workspace explainworks in terminal.Workaround
Use
txcdirectly in a terminal instead of MCP.