Spaces:
Sleeping
Sleeping
Update server.py
Browse files14 unmodified lines15161718191820212223222414 unmodified lines
# Start the server with the transport's streamsasync def main(): # Use a dummy scope and empty receive/send functions as placeholders scope = {"type": "http", "method": "GET", "path": "/airtable/mcp"} async with transport.connect(host="0.0.0.0", port=7860) as (read_stream, write_stream): async with transport.connect_sse(scope, lambda: None, lambda x: None) as (read_stream, write_stream): await server.run(read_stream, write_stream, server.create_initialization_options())
if __name__ == "__main__": anyio.run(main) anyio.run(main, backend="asyncio")server.py+4-2