ory / ory/lumen

Windows: path mangled to Cygwin format (/cygdrive/e/...) causing all MCP tools to fail

Open
#162 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
297
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Environment

  • OS: Windows 11 Pro 10.0.26200
  • Shell: PowerShell (native, no Cygwin/MSYS2 installed)
  • Plugin version: 0.0.40
  • Binary: bin/lumen-windows-amd64.exe
  • Embedding backend: Ollama at http://localhost:11434
  • Embedding model: ordis/jina-embeddings-v2-base-code

What happened

health_check works fine, but index_status and semantic_search fail with a path translation error. The plugin converts a native Windows path into a Cygwin-style path that doesn't exist on the system.

Input path supplied by Claude Code:
e:\depot\TradeAlert

Path the plugin attempts to access:
/cygdrive/e/depot/TradeAlert

Error returned:
ensure fresh: build merkle tree: GetFileAttributesEx /cygdrive/e/depot/TradeAlert: The system cannot find the path specified.

The same error occurs whether the path is passed via the path or cwd parameter, and with both backslash and forward-slash variants.

Steps to reproduce

  1. Install Lumen plugin v0.0.40 on Windows 11 (PowerShell, no Cygwin)
  2. Confirm Ollama is running and health_check returns OK
  3. Call index_status or semantic_search with path: "e:\\depot\\TradeAlert" (any Windows path)
  4. Observe the Cygwin path error

Expected behavior

lumen-windows-amd64.exe should accept native Windows paths without translating them to /cygdrive/... format.

Actual behavior

All filesystem-touching MCP tools are broken on Windows — semantic search is completely unavailable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Windows path handling used by the index_status and semantic_search entry points in bin/lumen-windows-amd64.exe, focusing on how path and cwd values are processed. Reproduce the failure with a native PowerShell path and verify that filesystem-touching MCP tools accept it without converting it to /cygdrive/... format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.