claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

MCP Servers Fail on Raspberry Pi ARM64

Open Simplycissmus opened this issue 6 months ago • 1 comments

Claude Code MCP Bug Report - Raspberry Pi ARM64

System Information

  • Platform: Raspberry Pi (ARM64)
  • OS: Linux 6.8.0-1028-raspi
  • Architecture: aarch64
  • Node.js: v20.x (via nvm)
  • Claude Code Version: Latest (as of 2025-06-16)

Issue Description

MCP servers consistently fail on Raspberry Pi ARM64 systems. Even a single essential MCP server (Supabase) cannot remain stable.

Symptoms

  1. MCP servers show as "failed" immediately after adding
  2. Servers disappear from config after some time
  3. Node.js processes appear to crash on ARM architecture
  4. Cannot maintain even a single MCP server (want to use 5+)

Steps to Reproduce

  1. Add Supabase MCP: claude mcp add supabase -s user npx supabase-mcp
  2. Set environment: export SUPABASE_ACCESS_TOKEN="sb********************9"
  3. Check status: claude mcp list → Shows as failed
  4. Server eventually disappears from config entirely

What We've Tried

  • Fresh installs of Claude Code
  • Removing and re-adding MCP servers
  • Using only one MCP server instead of multiple
  • Different Node.js versions
  • Setting environment variables in various ways
  • User-level (-s user) and system-level configurations

Environment Variables

export SUPABASE_ACCESS_TOKEN="sxxxxxxx9"

Current MCP Config Location

  • User config: ~/.claude.json
  • Log files: /home/patric/.cache/claude-cli-nodejs/-home-patric

Expected Behavior

MCP servers should remain stable and functional on ARM64 systems, especially for essential services like Supabase.

Additional Context

  • This is a production infrastructure host
  • Need Supabase MCP for database and edge function management
  • Would like to use additional MCP servers (GitHub, filesystem, etc.)
  • The issue seems specific to ARM64/Raspberry Pi architecture

Debug Output

When running claude --debug, the MCP server immediately shows as failed without detailed error messages.

Request

Please investigate ARM64 compatibility for MCP servers, particularly:

  1. Node.js process stability on ARM
  2. MCP server subprocess management
  3. Memory/resource constraints on Raspberry Pi

This is blocking our ability to use Claude Code effectively in our infrastructure.

Simplycissmus avatar Jun 16 '25 14:06 Simplycissmus

@Simplycissmus does the server work with other MCP clients? It might be good to try it with the MCP inspector's CLI: https://github.com/modelcontextprotocol/inspector?tab=readme-ov-file#cli-mode

ashwin-ant avatar Jun 16 '25 22:06 ashwin-ant

Thanks, it did the job

Simplycissmus avatar Jun 17 '25 06:06 Simplycissmus

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 10 '25 14:08 github-actions[bot]