We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/araxiaonline/mysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
list.sh•628 B
#!/bin/bash
# List all MySQL connections in the MCP server
CONTAINER_NAME="${MCP_CONTAINER:-mysql-mcp}"
# Check if container is running
if ! docker ps --format '{{.Names}}' | grep -q "^${CONTAINER_NAME}$"; then
echo "Error: Container '${CONTAINER_NAME}' is not running."
exit 1
fi
docker exec -i "${CONTAINER_NAME}" python -c '
import asyncio
import json
import sys
sys.path.insert(0, "/app/src")
from server import call_tool
async def main():
result = await call_tool("list_connections", {})
for content in result:
if hasattr(content, "text"):
print(content.text)
asyncio.run(main())
'