We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/isdaniel/pgtuner-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__main__.py•458 B
"""
Main entry point for the pgtuner_mcp server.
"""
import asyncio
import sys
from .server import main
def run():
"""Run the server with the appropriate event loop for the platform."""
# On Windows, psycopg async requires SelectorEventLoop instead of ProactorEventLoop
if sys.platform == "win32":
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
asyncio.run(main())
if __name__ == "__main__":
run()