#!/bin/bash
# This wrapper script ensures proper STDIO handling for the MCP server in Docker
# Export required environment variables
export MCP_DISABLE_LOGGING=true
export DISABLE_LOGGING=true
export TRANSPORT_MODE=stdio
# Create a log directory
mkdir -p /tmp/logs
# Run the server with proper redirection
# All stdout goes to the MCP proxy, while stderr goes to a file
exec /app/multidb-linux -t stdio 2>/tmp/logs/server.log
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/FreePeak/db-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server