#!/usr/bin/env python3
"""Wrapper script to run MCP server with proper environment setup"""
import sys
import os
import asyncio
from pathlib import Path
# Add the source directory to Python path
script_dir = Path(__file__).parent.absolute()
sys.path.insert(0, str(script_dir / 'src'))
sys.path.insert(0, str(script_dir))
# Import and run the server
from postgres_mcp_allaccess.server import main
if __name__ == "__main__":
asyncio.run(main())
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/yty-build/postgres_mcp_allaccess'
If you have feedback or need assistance with the MCP directory API, please join our Discord server