We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bvisible/mcp-ssh-manager'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test-claude-code.shβ’1.74 KiB
#!/bin/bash
echo "π§ Testing MCP SSH Manager for Claude Code"
echo "==========================================="
echo ""
# Check dependencies
echo "π¦ Checking dependencies..."
if [ -f "package.json" ]; then
echo "β package.json found"
else
echo "β package.json not found"
exit 1
fi
if [ -d "node_modules" ]; then
echo "β node_modules found"
else
echo "β node_modules not found. Run: npm install"
exit 1
fi
# Check .env
echo ""
echo "π Checking server configuration..."
if [ -f ".env" ]; then
echo "β .env file found"
server_count=$(grep -c "SSH_SERVER_.*_HOST=" .env)
echo "β $server_count servers configured"
else
echo "β .env file not found"
exit 1
fi
# Check Claude Code config
echo ""
echo "βοΈ Checking Claude Code configuration..."
config_file="$HOME/.config/claude-code/claude_code_config.json"
if [ -f "$config_file" ]; then
echo "β Claude Code config found"
if grep -q "ssh-manager" "$config_file"; then
echo "β SSH Manager is configured in Claude Code"
else
echo "β SSH Manager not found in Claude Code config"
echo " Run: python tools/server_manager.py"
echo " Then choose option 5"
fi
else
echo "β Claude Code config not found at $config_file"
fi
echo ""
echo "π― Configuration Summary:"
echo "========================"
echo "MCP Server Path: /Users/jeremy/mcp/mcp-ssh-manager/src/index.js"
echo "Servers configured: $(grep -c "SSH_SERVER_.*_HOST=" .env 2>/dev/null || echo 0)"
echo ""
echo "β Ready to use in Claude Code!"
echo ""
echo "Try these commands in Claude Code:"
echo " - 'Use the ssh_list_servers tool'"
echo " - 'Use ssh_execute on production to run ls'"
echo " - 'Use ssh_execute on staging to run hostname'"