From ccb20fd6f78a4788e8f88b530351e84e68061e0d Mon Sep 17 00:00:00 2001 From: Erik Brakke <113358559+erik-at-flipside@users.noreply.github.com> Date: Thu, 3 Jul 2025 13:19:20 -0600 Subject: [PATCH] Add permissions fix script for Claude Desktop DXT bug (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add script to workaround permissions * feat: include fix-permissions script in GitHub releases - Add fix-permissions.sh to release assets - Update release notes to mention the script for permission issues - Provides workaround for Claude Desktop DXT extraction bug 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --------- Co-authored-by: Claude --- .github/workflows/release.yml | 12 ++++++++++++ fix-permissions.sh | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100755 fix-permissions.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6604b5e..9cf37e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,6 +67,13 @@ jobs: - **Windows ARM64**: flipside-remote-mcp-proxy-windows-arm64.dxt For platforms that don't support DXT files, tar.gz versions are also available. + + ## Installation Issues? + If you encounter permission errors after installing the DXT extension, download and run the **fix-permissions.sh** script: + ```bash + chmod +x fix-permissions.sh + ./fix-permissions.sh + ``` draft: false prerelease: false @@ -87,6 +94,11 @@ jobs: gh release upload v${{ steps.get_version.outputs.version }} "$file" --clobber fi done + + # Upload fix-permissions script + if [ -f "fix-permissions.sh" ]; then + gh release upload v${{ steps.get_version.outputs.version }} "fix-permissions.sh" --clobber + fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/fix-permissions.sh b/fix-permissions.sh new file mode 100755 index 0000000..8eddcde --- /dev/null +++ b/fix-permissions.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Fix permissions for Flipside MCP Extension +USERNAME=$(whoami) +MCP_PROXY_PATH="/Users/$USERNAME/Library/Application Support/Claude/Claude Extensions/local.dxt.flipside.flipside-intelligence-mcp/remote-mcp-proxy" + +echo "Setting executable permissions for MCP proxy..." +chmod +x "$MCP_PROXY_PATH" + +if [ $? -eq 0 ]; then + echo "✓ Permissions fixed successfully!" +else + echo "✗ Failed to set permissions. Make sure the extension is installed." + exit 1 +fi \ No newline at end of file