Skip to main content
Glama

Local Dev Bridge MCP

push-to-github.sh•2.25 kB
#!/bin/bash echo "šŸš€ GitHub Repository Setup for local-dev-bridge-mcp" echo "==================================================" echo "" # Check if already authenticated gh auth status &>/dev/null if [ $? -ne 0 ]; then echo "šŸ“‹ You need to authenticate with GitHub first." echo "This script will guide you through the process." echo "" echo "Press Enter to authenticate with GitHub..." read # Authenticate with GitHub gh auth login if [ $? -ne 0 ]; then echo "āŒ Authentication failed. Please try again." exit 1 fi fi echo "āœ… GitHub authentication confirmed!" echo "" # Check if remote already exists git remote get-url origin &>/dev/null if [ $? -eq 0 ]; then echo "āš ļø A remote 'origin' already exists." echo "Current remote: $(git remote get-url origin)" echo "" echo "Do you want to remove it and create a new GitHub repo? (y/n)" read -r response if [[ "$response" != "y" && "$response" != "Y" ]]; then echo "Exiting without changes." exit 0 fi git remote remove origin fi # Create GitHub repository echo "šŸ“¦ Creating GitHub repository..." gh repo create local-dev-bridge-mcp \ --public \ --source=. \ --remote=origin \ --description="MCP server for local development - bridges Claude Desktop with your local file system" \ --push if [ $? -eq 0 ]; then echo "" echo "šŸŽ‰ Success! Your repository has been created and pushed to GitHub!" echo "" echo "šŸ“ Repository URL: https://github.com/$(gh api user --jq .login)/local-dev-bridge-mcp" echo "" echo "šŸ“‹ Share this with your teammates:" echo " git clone https://github.com/$(gh api user --jq .login)/local-dev-bridge-mcp.git" echo "" echo "They can then run ./setup.sh (Mac/Linux) or setup.bat (Windows) to install!" else echo "" echo "āŒ Failed to create repository. The repository might already exist." echo "" echo "Try manually:" echo "1. Go to https://github.com/new" echo "2. Create a repo named 'local-dev-bridge-mcp'" echo "3. Then run:" echo " git remote add origin https://github.com/YOUR_USERNAME/local-dev-bridge-mcp.git" echo " git push -u origin main" fi

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/talentedmrweb/local-dev-bridge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server