Skip to content

Conversation

@geoh
Copy link

@geoh geoh commented Sep 24, 2025

Hello! I extended your bash MCP server and thought you might like the extra features...

Features:

  • Add cd/pwd tools for persistent working directory across tool calls
  • Add BASH_DEFAULT_CWD environment variable for default working directory
  • Add BASH_SHELL environment variable for custom shell configuration
  • Modify run/run_background tools to use persistent CWD by default
  • Enhanced path validation with security improvements

Technical:

  • Server-level state management for working directory
  • Cross-platform path handling (Windows forward/backslashes)
  • Backward compatibility maintained for explicit cwd parameters
  • Comprehensive documentation and examples added

🤖 Generated with Claude Code

Features:
- Add cd/pwd tools for persistent working directory across tool calls
- Add BASH_DEFAULT_CWD environment variable for default working directory
- Add BASH_SHELL environment variable for custom shell configuration
- Modify run/run_background tools to use persistent CWD by default
- Enhanced path validation with security improvements

Technical:
- Server-level state management for working directory
- Cross-platform path handling (Windows forward/backslashes)
- Backward compatibility maintained for explicit cwd parameters
- Comprehensive documentation and examples added

🤖 Generated with [Claude Code](https://claude.ai/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