import sys
import os
# 添加当前目录到路径
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# 使用绝对导入
try:
# 先尝试直接导入
from server import main
except ImportError:
# 如果失败,尝试从当前目录导入
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from server import main
if __name__ == "__main__":
sys.exit(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/Heht571/ops-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server