Skip to content

Comments

Fix directory creation for MCP stdio mode#3

Open
keithschacht wants to merge 1 commit intoparruda:mainfrom
keithschacht:fix-mcp-dir
Open

Fix directory creation for MCP stdio mode#3
keithschacht wants to merge 1 commit intoparruda:mainfrom
keithschacht:fix-mcp-dir

Conversation

@keithschacht
Copy link

Problem

When launched via MCP stdio mode, the current directory may be read-only (e.g., Claude launches from /). The gem was trying to create .hbt in the current directory, causing: Read-only file system @ dir_s_mkdir - ./.hbt

Solution

Changed from ./.hbt to ~/.hbt so the gem always uses the user's home directory regardless of where it's launched from.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant