We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheAlchemist6/codecompass-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
verify-installation.shβ’2.54 KiB
#!/bin/bash
echo "π CodeCompass MCP Server Installation Verification"
echo "=================================================="
# Check Node.js version
echo "1. Checking Node.js version..."
node_version=$(node --version)
echo " Node.js version: $node_version"
if [[ "$node_version" < "v18" ]]; then
echo " β Node.js 18+ is required. Please upgrade."
exit 1
else
echo " β Node.js version is compatible"
fi
# Check if server is built
echo
echo "2. Checking if server is built..."
if [ -f "build/index.js" ]; then
echo " β Server is built"
else
echo " β Server not built. Running npm run build..."
npm run build
if [ $? -eq 0 ]; then
echo " β Build completed successfully"
else
echo " β Build failed"
exit 1
fi
fi
# Check Claude Code configuration
echo
echo "3. Checking Claude Code configuration..."
if [ -f "$HOME/.claude-code/mcp_servers.json" ]; then
echo " β Claude Code MCP configuration exists"
echo " Configuration file: $HOME/.claude-code/mcp_servers.json"
else
echo " β Claude Code MCP configuration not found"
echo " Please make sure Claude Code is installed and configured"
fi
# Test server startup
echo
echo "4. Testing server startup..."
timeout 5s node build/index.js > /dev/null 2>&1
exit_code=$?
if [ $exit_code -eq 124 ]; then
echo " β Server starts successfully (timeout as expected)"
elif [ $exit_code -eq 0 ]; then
echo " β Server starts successfully"
else
echo " β Server failed to start (exit code: $exit_code)"
exit 1
fi
# Check GitHub token (optional)
echo
echo "5. Checking GitHub token (optional)..."
if [ -n "$GITHUB_TOKEN" ]; then
echo " β GitHub token is set (higher rate limits)"
else
echo " β οΈ GitHub token not set (using public API limits)"
echo " To set a token: export GITHUB_TOKEN=your_token_here"
fi
echo
echo "π Installation verification complete!"
echo
echo "π Summary:"
echo " - Node.js: β Compatible"
echo " - Server built: β Ready"
echo " - Configuration: β Configured"
echo " - Server startup: β Working"
echo " - GitHub token: $([ -n "$GITHUB_TOKEN" ] && echo "β Set" || echo "β οΈ Not set")"
echo
echo "π You can now use the CodeCompass MCP server with Claude Code!"
echo
echo "Usage examples:"
echo " - 'Analyze this repository: https://github.com/user/repo'"
echo " - 'Extract reusable components from this React project'"
echo " - 'Transform this code to use modern JavaScript features'"
echo
echo "For more information, see the README.md file."