Skip to main content
Glama
debug-mcp.sh683 B
#!/bin/bash # Debug wrapper for MCP server LOG_FILE="/tmp/mcp-deep-search-debug.log" echo "[$(date)] Debug wrapper started" >> "$LOG_FILE" echo "Working directory: $(pwd)" >> "$LOG_FILE" echo "Arguments: $@" >> "$LOG_FILE" echo "Environment:" >> "$LOG_FILE" env | grep -E "(ENV_FILE|PATH|NODE)" >> "$LOG_FILE" # Change to the correct directory cd /Users/zemaj/www/just-every/mcp-deep-search echo "[$(date)] Changed to directory: $(pwd)" >> "$LOG_FILE" echo "[$(date)] Starting node server..." >> "$LOG_FILE" # Run the actual server and capture all output # Use exec to replace the shell process and maintain stdin/stdout properly exec node bin/mcp-deep-search.js 2>> "$LOG_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/just-every/mcp-deep-search'

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