Skip to main content
Glama
debug-mcp.sh574 B
#!/bin/bash # Generic MCP debug wrapper for code-graph-context # Logs debug output to /tmp for troubleshooting # Log everything to a debug file exec 2>>/tmp/mcp-code-graph-debug.log echo "=== MCP Server Start $(date) ===" >&2 echo "PWD: $(pwd)" >&2 echo "Args: $@" >&2 # Find the script directory and change to it SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" echo "Script directory: $SCRIPT_DIR" >&2 echo "Node version: $(node --version)" >&2 echo "===================" >&2 # Execute the MCP server exec node dist/mcp/mcp.server.js "$@"

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/drewdrewH/code-graph-context'

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