We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesidshah/pokemon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
start-mcp.sh•378 B
#!/bin/bash
# Get the directory of this script
DIR="$(cd "$(dirname "$0")" && pwd)"
# Change to the script directory
cd "$DIR"
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "Installing dependencies..." >&2
npm install --silent >&2
fi
# Run the MCP server directly with tsx
# Use exec to replace the shell process with tsx
exec npx tsx index.ts