We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielsteman/filmladder-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_server.py•676 B
"""Simple test script to verify the MCP server can be imported and initialized."""
from __future__ import annotations
import asyncio
from src.server import app, handle_list_tools
async def test_list_tools() -> None:
"""Test that list_tools works."""
tools = await handle_list_tools()
print(f"Found {len(tools)} tools:")
for tool in tools:
print(f" - {tool.name}: {tool.description}")
async def main() -> None:
"""Run basic server tests."""
print("Testing MCP server...")
print(f"Server name: {app.name}")
await test_list_tools()
print("\n✅ Basic server tests passed!")
if __name__ == "__main__":
asyncio.run(main())