We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/keyurgit45/expense-tracker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
run_mcp.py•581 B
#!/usr/bin/env python3
"""Direct MCP server runner"""
import sys
import os
# Add project root to Python path
project_root = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, project_root)
# Also ensure we can import from app module
if __name__ == "__main__":
try:
# Import and run the MCP server from new structure
from app.servers.mcp.server import mcp
mcp.run()
except ImportError as e:
print(f"Import error: {e}")
print(f"Python executable: {sys.executable}")
print(f"Python path: {sys.path}")
raise