We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wblair8689/project-context-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
quick_test.pyโข1.21 kB
#!/usr/bin/env python3
"""
Quick test of the MCP server
"""
import sys
from pathlib import Path
# Add the project context path
sys.path.insert(0, str(Path(__file__).parent))
try:
from context_server import UnifiedProjectContextServer
print("๐งช Testing MCP Server Components")
print("=" * 40)
# Create server instance
project_root = "/Users/williamblair/AI-Game-Evolution-Platform"
server = UnifiedProjectContextServer(project_root)
print(f"โ Server created successfully")
print(f"๐ Project root: {project_root}")
# Test basic attributes
print(f"โ Config path: {server.config_path}")
print(f"โ Data path: {server.data_path}")
print(f"โ Swift project path: {server.swift_project_path}")
# Test if components are available
if hasattr(server, '_get_git_status'):
git_status = server._get_git_status()
print(f"โ Git status available: {git_status.get('available', False)}")
print(f"\n๐ MCP Server initialized successfully!")
print(f"๐ก Ready to accept MCP protocol connections")
except Exception as e:
print(f"โ Error: {e}")
import traceback
traceback.print_exc()