Skip to main content
Glama

CodeCompass MCP

verify-installation.sh•2.6 kB
#!/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."

Latest Blog Posts

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/TheAlchemist6/codecompass-mcp'

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