Skip to main content
Glama

IBKR TWS MCP Server

by haymant
quick_test.py581 B
#!/usr/bin/env python3 """Quick test of MCP server endpoints""" import asyncio import httpx async def test(): base = "http://localhost:8000" async with httpx.AsyncClient(timeout=10.0) as client: # Test SSE endpoint print("Testing /api/v1/sse endpoint...") try: response = await client.get(f"{base}/api/v1/sse") print(f"Status: {response.status_code}") print(f"Headers: {dict(response.headers)}") except Exception as e: print(f"Error: {e}") if __name__ == "__main__": asyncio.run(test())

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/haymant/tws-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server