Last active
July 29, 2025 00:55
-
-
Save ProxiBlue/456f1746bed04727ad8118873e19eaf2 to your computer and use it in GitHub Desktop.
MCP wrapper for junie and ddev projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source /home/lucas/.bash_profile | |
CONTAINER=$1 | |
MCP=$2 | |
cd $PROJECT_PATH | |
# If WORKING_DIR is set, change to that directory inside the container | |
if [ -n "$WORKING_DIR" ]; then | |
ddev exec -s $CONTAINER bash -c "cd $WORKING_DIR && npx -y $MCP" | |
else | |
ddev exec -s $CONTAINER npx -y $MCP | |
fi |
Author
ProxiBlue
commented
Jul 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment