MCP - Error while handling SSE connection

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

Baserow version: 1.35.1

If you are self-hosting, which installation method do you use to run Baserow?

Docker IDK the exact version

What are the exact steps to reproduce this issue?

When i start Claude with Baserow MCP, I have mcp error in the docker console.
Baserow actions from Claude are not available. I can’t see them.

Attach screenshots, videos, or logs that demonstrate the issue.



Here is the first part of the error :

[BACKEND][2025-11-10 10:34:34] 195.101.82.105:0 - "POST /api/builder/workflow_action/91908/dispatch/ HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:35] 195.101.82.105:0 - "OPTIONS /api/builder/domains/published/data-source/41654/dispatch/ HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:35] 195.101.82.105:0 - "OPTIONS /api/builder/domains/published/data-source/41704/dispatch/?offset=0&count=20&search_query=UGECAM+COUBERT HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:35] 213.139.10.85:0 - "POST /mcp/messages/?session_id=fdfeb520325a4ef2b333fcf2db998dcc HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:35] 213.139.10.85:0 - "POST /mcp/messages/?session_id=fdfeb520325a4ef2b333fcf2db998dcc HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:35] 195.101.82.105:0 - "POST /api/builder/domains/published/data-source/41654/dispatch/ HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:35] 836|2025-11-10 10:34:35.560|ERROR|baserow.core.mcp:handle_sse:138 - Error while handling SSE connection  
 [BACKEND][2025-11-10 10:34:35] Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/anyio/streams/memory.py", line 111, in receive  
 [BACKEND][2025-11-10 10:34:35]     return self.receive_nowait()  
 [BACKEND][2025-11-10 10:34:35]            β”‚    β”” <function MemoryObjectReceiveStream.receive_nowait at 0x7fccb29100e0>  
 [BACKEND][2025-11-10 10:34:35]            β”” MemoryObjectReceiveStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=0, open_rece...  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/anyio/streams/memory.py", line 106, in receive_nowait  
 [BACKEND][2025-11-10 10:34:35]     raise WouldBlock  
 [BACKEND][2025-11-10 10:34:35]           β”” <class 'anyio.WouldBlock'>  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] anyio.WouldBlock  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] During handling of the above exception, another exception occurred:  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/lowlevel/server.py", line 489, in run  
 [BACKEND][2025-11-10 10:34:35]     async with anyio.create_task_group() as tg:  
 [BACKEND][2025-11-10 10:34:35]                β”‚     β”‚                      β”” <anyio._backends._asyncio.TaskGroup object at 0x7fcca366aa90>  
 [BACKEND][2025-11-10 10:34:35]                β”‚     β”” <function create_task_group at 0x7fccb2a813a0>  
 [BACKEND][2025-11-10 10:34:35]                β”” <module 'anyio' from '/baserow/venv/lib/python3.11/site-packages/anyio/__init__.py'>  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 771, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]     raise exc_val  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/lowlevel/server.py", line 490, in run  
 [BACKEND][2025-11-10 10:34:35]     async for message in session.incoming_messages:  
 [BACKEND][2025-11-10 10:34:35]                          β”‚       β”” <property object at 0x7fccae06f9c0>  
 [BACKEND][2025-11-10 10:34:35]                          β”” <mcp.server.session.ServerSession object at 0x7fcca366a450>  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/anyio/abc/_streams.py", line 35, in __anext__  
 [BACKEND][2025-11-10 10:34:35]     return await self.receive()  
 [BACKEND][2025-11-10 10:34:35]                  β”‚    β”” <function MemoryObjectReceiveStream.receive at 0x7fccb2910180>  
 [BACKEND][2025-11-10 10:34:35]                  β”” MemoryObjectReceiveStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=0, open_rece...  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/anyio/streams/memory.py", line 119, in receive  
 [BACKEND][2025-11-10 10:34:35]     await receive_event.wait()  
 [BACKEND][2025-11-10 10:34:35]           β”‚             β”” <function Event.wait at 0x7fcca079dda0>  
 [BACKEND][2025-11-10 10:34:35]           β”” <anyio._backends._asyncio.Event object at 0x7fcca366af10>  
 [BACKEND][2025-11-10 10:34:35]   File "/usr/lib/python3.11/asyncio/locks.py", line 213, in wait  
 [BACKEND][2025-11-10 10:34:35]     await fut  
 [BACKEND][2025-11-10 10:34:35]           β”” <Future cancelled>  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] asyncio.exceptions.CancelledError: Cancelled by cancel scope 7fcca366a850  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] During handling of the above exception, another exception occurred:  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   + Exception Group Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/backend/src/baserow/core/mcp/sse.py", line 147, in connect_sse  
 [BACKEND][2025-11-10 10:34:35]   |     yield (read_stream, write_stream)  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚            β”” MemoryObjectSendStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=0, open_receive...  
 [BACKEND][2025-11-10 10:34:35]   |            β”” MemoryObjectReceiveStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=1, open_rece...  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/backend/src/baserow/core/mcp/__init__.py", line 123, in handle_sse  
 [BACKEND][2025-11-10 10:34:35]   |     await self._mcp_server.run(  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚           β”” <function Server.run at 0x7fccae05b7e0>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <mcp.server.lowlevel.server.Server object at 0x7fccaf0f7a10>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <baserow.core.mcp.BaserowMCPServer object at 0x7fccaf0f7950>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/lowlevel/server.py", line 483, in run  
 [BACKEND][2025-11-10 10:34:35]   |     async with AsyncExitStack() as stack:  
 [BACKEND][2025-11-10 10:34:35]   |                β”‚                   β”” <contextlib.AsyncExitStack object at 0x7fcca20c1fd0>  
 [BACKEND][2025-11-10 10:34:35]   |                β”” <class 'contextlib.AsyncExitStack'>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/usr/lib/python3.11/contextlib.py", line 733, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     raise exc_details[1]  
 [BACKEND][2025-11-10 10:34:35]   |           β”” (<class 'ExceptionGroup'>, ExceptionGroup('unhandled errors in a TaskGroup', [RuntimeError('Received request before initializ...  
 [BACKEND][2025-11-10 10:34:35]   |   File "/usr/lib/python3.11/contextlib.py", line 716, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     cb_suppress = await cb(*exc_details)  
 [BACKEND][2025-11-10 10:34:35]   |                         β”‚   β”” (<class 'ExceptionGroup'>, ExceptionGroup('unhandled errors in a TaskGroup', [RuntimeError('Received request before initializ...  
 [BACKEND][2025-11-10 10:34:35]   |                         β”” <bound method _AsyncGeneratorContextManager.__aexit__ of <contextlib._AsyncGeneratorContextManager object at 0x7fcc9b2a0890>>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/mcp/shared/session.py", line 210, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚           β”‚         β”‚         β”‚        β”” <traceback object at 0x7fcca3669b00>  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚           β”‚         β”‚         β”” CancelledError('Cancelled by cancel scope 7fcca366a850')  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚           β”‚         β”” <class 'asyncio.exceptions.CancelledError'>  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚           β”” <function TaskGroup.__aexit__ at 0x7fcca2f0a660>  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”” <anyio._backends._asyncio.TaskGroup object at 0x7fcca3668e90>  
 [BACKEND][2025-11-10 10:34:35]   |                  β”” <mcp.server.session.ServerSession object at 0x7fcca366a450>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 767, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     raise BaseExceptionGroup(  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)  
 [BACKEND][2025-11-10 10:34:35]   +-+---------------- 1 ----------------  
 [BACKEND][2025-11-10 10:34:35]     | Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/venv/lib/python3.11/site-packages/mcp/shared/session.py", line 324, in _receive_loop  
 [BACKEND][2025-11-10 10:34:35]     |     await self._received_request(responder)  
 [BACKEND][2025-11-10 10:34:35]     |           β”‚    β”‚                 β”” <mcp.shared.session.RequestResponder object at 0x7fcc88f24490>  
 [BACKEND][2025-11-10 10:34:35]     |           β”‚    β”” <function ServerSession._received_request at 0x7fccae059120>  
 [BACKEND][2025-11-10 10:34:35]     |           β”” <mcp.server.session.ServerSession object at 0x7fcca366a450>  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/session.py", line 163, in _received_request  
 [BACKEND][2025-11-10 10:34:35]     |     raise RuntimeError(  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     | RuntimeError: Received request before initialization was complete  
 [BACKEND][2025-11-10 10:34:35]     +------------------------------------  

The second part:

 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35] During handling of the above exception, another exception occurred:  
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   
 [BACKEND][2025-11-10 10:34:35]   + Exception Group Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/bin/gunicorn", line 7, in <module>  
 [BACKEND][2025-11-10 10:34:35]   |     sys.exit(run())  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚   β”‚    β”” <function run at 0x7fccb3ab85e0>  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚   β”” <built-in function exit>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <module 'sys' (built-in)>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 66, in run  
 [BACKEND][2025-11-10 10:34:35]   |     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚                                                       β”” None  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <class 'gunicorn.app.wsgiapp.WSGIApplication'>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/app/base.py", line 235, in run  
 [BACKEND][2025-11-10 10:34:35]   |     super().run()  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/app/base.py", line 71, in run  
 [BACKEND][2025-11-10 10:34:35]   |     Arbiter(self).run()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚       β”” <gunicorn.app.wsgiapp.WSGIApplication object at 0x7fccb390e490>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <class 'gunicorn.arbiter.Arbiter'>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/arbiter.py", line 201, in run  
 [BACKEND][2025-11-10 10:34:35]   |     self.manage_workers()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚    β”” <function Arbiter.manage_workers at 0x7fccb340fba0>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <gunicorn.arbiter.Arbiter object at 0x7fccb34e7610>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/arbiter.py", line 570, in manage_workers  
 [BACKEND][2025-11-10 10:34:35]   |     self.spawn_workers()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚    β”” <function Arbiter.spawn_workers at 0x7fccb340fce0>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <gunicorn.arbiter.Arbiter object at 0x7fccb34e7610>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/arbiter.py", line 641, in spawn_workers  
 [BACKEND][2025-11-10 10:34:35]   |     self.spawn_worker()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚    β”” <function Arbiter.spawn_worker at 0x7fccb340fc40>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <gunicorn.arbiter.Arbiter object at 0x7fccb34e7610>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker  
 [BACKEND][2025-11-10 10:34:35]   |     worker.init_process()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚      β”” <function UvicornWorker.init_process at 0x7fccb2b7d3a0>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <uvicorn.workers.UvicornWorker object at 0x7fccb293e110>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/workers.py", line 75, in init_process  
 [BACKEND][2025-11-10 10:34:35]   |     super().init_process()  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/gunicorn/workers/base.py", line 143, in init_process  
 [BACKEND][2025-11-10 10:34:35]   |     self.run()  
 [BACKEND][2025-11-10 10:34:35]   |     β”‚    β”” <function UvicornWorker.run at 0x7fccb293af20>  
 [BACKEND][2025-11-10 10:34:35]   |     β”” <uvicorn.workers.UvicornWorker object at 0x7fccb293e110>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/workers.py", line 107, in run  
 [BACKEND][2025-11-10 10:34:35]   |     return asyncio.run(self._serve())  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚       β”‚   β”‚    β”” <function UvicornWorker._serve at 0x7fccb293ae80>  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚       β”‚   β”” <uvicorn.workers.UvicornWorker object at 0x7fccb293e110>  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚       β”” <function run at 0x7fccb2bfbe20>  
 [BACKEND][2025-11-10 10:34:35]   |            β”” <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run  
 [BACKEND][2025-11-10 10:34:35]   |     return runner.run(main)  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚      β”‚   β”” <coroutine object UvicornWorker._serve at 0x7fccadbd6740>  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚      β”” <function Runner.run at 0x7fccb2c2cf40>  
 [BACKEND][2025-11-10 10:34:35]   |            β”” <asyncio.runners.Runner object at 0x7fcca98129d0>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run  
 [BACKEND][2025-11-10 10:34:35]   |     return self._loop.run_until_complete(task)  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚    β”‚     β”‚                  β”” <Task pending name='Task-1' coro=<UvicornWorker._serve() running at /baserow/venv/lib/python3.11/site-packages/uvicorn/worker...  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚    β”‚     β”” <cyfunction Loop.run_until_complete at 0x7fccb2972330>  
 [BACKEND][2025-11-10 10:34:35]   |            β”‚    β”” <uvloop.Loop running=True closed=False debug=False>  
 [BACKEND][2025-11-10 10:34:35]   |            β”” <asyncio.runners.Runner object at 0x7fcca98129d0>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi  
 [BACKEND][2025-11-10 10:34:35]   |     result = await app(  # type: ignore[func-returns-value]  
 [BACKEND][2025-11-10 10:34:35]   |                    β”” <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7fcca92357d0>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     return await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚   β”‚      β”‚        β”” <bound method RequestResponseCycle.send of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9e58...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚    β”” <channels.routing.ProtocolTypeRouter object at 0x7fcca8f5c190>  
 [BACKEND][2025-11-10 10:34:35]   |                  β”” <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7fcca92357d0>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/channels/routing.py", line 62, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     return await application(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚           β”‚      β”‚        β”” <bound method RequestResponseCycle.send of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9e58...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚           β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”‚           β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |                  β”” <baserow.config.helpers.ConcurrencyLimiterASGI object at 0x7fcca97befd0>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/backend/src/baserow/config/helpers.py", line 31, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”‚        β”” <bound method RequestResponseCycle.send of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9e58...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <channels.routing.URLRouter object at 0x7fcca8f99210>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <baserow.config.helpers.ConcurrencyLimiterASGI object at 0x7fcca97befd0>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/channels/routing.py", line 116, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     return await application(  
 [BACKEND][2025-11-10 10:34:35]   |                  β”” <starlette.applications.Starlette object at 0x7fcca8f7d890>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     await self.middleware_stack(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”‚      β”‚        β”” <bound method RequestResponseCycle.send of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9e58...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <starlette.middleware.errors.ServerErrorMiddleware object at 0x7fcca1ccb810>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <starlette.applications.Starlette object at 0x7fcca8f7d890>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     await self.app(scope, receive, _send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”‚        β”” <function ServerErrorMiddleware.__call__.<locals>._send at 0x7fcc9b7b9440>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7fcca172e810>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <starlette.middleware.errors.ServerErrorMiddleware object at 0x7fcca1ccb810>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚    β”‚     β”‚      β”‚        β”” <function ServerErrorMiddleware.__call__.<locals>._send at 0x7fcc9b7b9440>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚    β”‚     β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚    β”‚     β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚    β”” <starlette.requests.Request object at 0x7fcca20c3d10>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”” <starlette.routing.Router object at 0x7fcca8f7e490>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”” <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7fcca172e810>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <function wrap_app_handling_exceptions at 0x7fccae1a2020>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]   |     await app(scope, receive, sender)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0af20>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <starlette.routing.Router object at 0x7fcca8f7e490>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 714, in __call__  
 [BACKEND][2025-11-10 10:34:35]   |     await self.middleware_stack(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0af20>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚                β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <bound method Router.app of <starlette.routing.Router object at 0x7fcca8f7e490>>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <starlette.routing.Router object at 0x7fcca8f7e490>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 734, in app  
 [BACKEND][2025-11-10 10:34:35]   |     await route.handle(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚     β”‚      β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0af20>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚     β”‚      β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚     β”‚      β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚     β”” <function Route.handle at 0x7fccae1d0720>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” Route(path='/mcp/{key}/sse', name='handle_sse', methods=['GET', 'HEAD'])  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle  
 [BACKEND][2025-11-10 10:34:35]   |     await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0af20>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <function request_response.<locals>.app at 0x7fcca8e74400>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” Route(path='/mcp/{key}/sse', name='handle_sse', methods=['GET', 'HEAD'])  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, in app  
 [BACKEND][2025-11-10 10:34:35]   |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚        β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0af20>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚        β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”‚        β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”‚    β”” <starlette.requests.Request object at 0x7fcc9b61a1d0>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚                            β”” <function request_response.<locals>.app.<locals>.app at 0x7fcc9bc0bba0>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <function wrap_app_handling_exceptions at 0x7fccae1a2020>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]   |     await app(scope, receive, sender)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”‚      β”‚        β”” <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7fcc9bc0b420>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”‚      β”” <bound method RequestResponseCycle.receive of <uvicorn.protocols.http.httptools_impl.RequestResponseCycle object at 0x7fcc9b9...  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚   β”” {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8000), 'cl...  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <function request_response.<locals>.app.<locals>.app at 0x7fcc9bc0bba0>  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 73, in app  
 [BACKEND][2025-11-10 10:34:35]   |     response = await f(request)  
 [BACKEND][2025-11-10 10:34:35]   |                      β”‚ β”” <starlette.requests.Request object at 0x7fcc9b61a1d0>  
 [BACKEND][2025-11-10 10:34:35]   |                      β”” <function BaserowMCPServer.sse_app.<locals>.handle_sse at 0x7fcca905dda0>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   | > File "/baserow/backend/src/baserow/core/mcp/__init__.py", line 118, in handle_sse  
 [BACKEND][2025-11-10 10:34:35]   |     async with sse.connect_sse(  
 [BACKEND][2025-11-10 10:34:35]   |                β”‚   β”” <function DjangoChannelsSseServerTransport.connect_sse at 0x7fccae08f920>  
 [BACKEND][2025-11-10 10:34:35]   |                β”” <baserow.core.mcp.sse.DjangoChannelsSseServerTransport object at 0x7fcca92a1110>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/usr/lib/python3.11/contextlib.py", line 222, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     await self.gen.athrow(typ, value, traceback)  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”‚    β”‚      β”” <traceback object at 0x7fcca369e140>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”‚    β”” ExceptionGroup('unhandled errors in a TaskGroup', [RuntimeError('Received request before initialization was complete')])  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”‚      β”” <class 'ExceptionGroup'>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”‚   β”” <method 'athrow' of 'async_generator' objects>  
 [BACKEND][2025-11-10 10:34:35]   |           β”‚    β”” <async_generator object DjangoChannelsSseServerTransport.connect_sse at 0x7fcca3fe1fc0>  
 [BACKEND][2025-11-10 10:34:35]   |           β”” <contextlib._AsyncGeneratorContextManager object at 0x7fcca1f8cf50>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/backend/src/baserow/core/mcp/sse.py", line 138, in connect_sse  
 [BACKEND][2025-11-10 10:34:35]   |     async with anyio.create_task_group() as tg:  
 [BACKEND][2025-11-10 10:34:35]   |                β”‚     β”‚                      β”” <anyio._backends._asyncio.TaskGroup object at 0x7fcc9b61a490>  
 [BACKEND][2025-11-10 10:34:35]   |                β”‚     β”” <function create_task_group at 0x7fccb2a813a0>  
 [BACKEND][2025-11-10 10:34:35]   |                β”” <module 'anyio' from '/baserow/venv/lib/python3.11/site-packages/anyio/__init__.py'>  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   |   File "/baserow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 767, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]   |     raise BaseExceptionGroup(  
 [BACKEND][2025-11-10 10:34:35]   |  
 [BACKEND][2025-11-10 10:34:35]   | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)  
 [BACKEND][2025-11-10 10:34:35]   +-+---------------- 1 ----------------  
 [BACKEND][2025-11-10 10:34:35]     | Exception Group Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/backend/src/baserow/core/mcp/sse.py", line 147, in connect_sse  
 [BACKEND][2025-11-10 10:34:35]     |     yield (read_stream, write_stream)  
 [BACKEND][2025-11-10 10:34:35]     |            β”‚            β”” MemoryObjectSendStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=0, open_receive...  
 [BACKEND][2025-11-10 10:34:35]     |            β”” MemoryObjectReceiveStream(_state=MemoryObjectStreamState(max_buffer_size=0, buffer=deque([]), open_send_channels=1, open_rece...  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/backend/src/baserow/core/mcp/__init__.py", line 123, in handle_sse  
 [BACKEND][2025-11-10 10:34:35]     |     await self._mcp_server.run(  
 [BACKEND][2025-11-10 10:34:35]     |           β”‚    β”‚           β”” <function Server.run at 0x7fccae05b7e0>  
 [BACKEND][2025-11-10 10:34:35]     |           β”‚    β”” <mcp.server.lowlevel.server.Server object at 0x7fccaf0f7a10>  
 [BACKEND][2025-11-10 10:34:35]     |           β”” <baserow.core.mcp.BaserowMCPServer object at 0x7fccaf0f7950>  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/lowlevel/server.py", line 483, in run  
 [BACKEND][2025-11-10 10:34:35]     |     async with AsyncExitStack() as stack:  
 [BACKEND][2025-11-10 10:34:35]     |                β”‚                   β”” <contextlib.AsyncExitStack object at 0x7fcca20c1fd0>  
 [BACKEND][2025-11-10 10:34:35]     |                β”” <class 'contextlib.AsyncExitStack'>  
 [BACKEND][2025-11-10 10:34:35]     |   File "/usr/lib/python3.11/contextlib.py", line 733, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]     |     raise exc_details[1]  
 [BACKEND][2025-11-10 10:34:35]     |           β”” (<class 'ExceptionGroup'>, ExceptionGroup('unhandled errors in a TaskGroup', [RuntimeError('Received request before initializ...  
 [BACKEND][2025-11-10 10:34:35]     |   File "/usr/lib/python3.11/contextlib.py", line 716, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]     |     cb_suppress = await cb(*exc_details)  
 [BACKEND][2025-11-10 10:34:35]     |                         β”‚   β”” (<class 'ExceptionGroup'>, ExceptionGroup('unhandled errors in a TaskGroup', [RuntimeError('Received request before initializ...  
 [BACKEND][2025-11-10 10:34:35]     |                         β”” <bound method _AsyncGeneratorContextManager.__aexit__ of <contextlib._AsyncGeneratorContextManager object at 0x7fcc9b2a0890>>  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/venv/lib/python3.11/site-packages/mcp/shared/session.py", line 210, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]     |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)  
 [BACKEND][2025-11-10 10:34:35]     |                  β”‚    β”‚           β”‚         β”‚         β”‚        β”” <traceback object at 0x7fcca3669b00>  
 [BACKEND][2025-11-10 10:34:35]     |                  β”‚    β”‚           β”‚         β”‚         β”” CancelledError('Cancelled by cancel scope 7fcca366a850')  
 [BACKEND][2025-11-10 10:34:35]     |                  β”‚    β”‚           β”‚         β”” <class 'asyncio.exceptions.CancelledError'>  
 [BACKEND][2025-11-10 10:34:35]     |                  β”‚    β”‚           β”” <function TaskGroup.__aexit__ at 0x7fcca2f0a660>  
 [BACKEND][2025-11-10 10:34:35]     |                  β”‚    β”” <anyio._backends._asyncio.TaskGroup object at 0x7fcca3668e90>  
 [BACKEND][2025-11-10 10:34:35]     |                  β”” <mcp.server.session.ServerSession object at 0x7fcca366a450>  
 [BACKEND][2025-11-10 10:34:35]     |   File "/baserow/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 767, in __aexit__  
 [BACKEND][2025-11-10 10:34:35]     |     raise BaseExceptionGroup(  
 [BACKEND][2025-11-10 10:34:35]     |  
 [BACKEND][2025-11-10 10:34:35]     | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)  
 [BACKEND][2025-11-10 10:34:35]     +-+---------------- 1 ----------------  
 [BACKEND][2025-11-10 10:34:35]       | Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]       |  
 [BACKEND][2025-11-10 10:34:35]       |   File "/baserow/venv/lib/python3.11/site-packages/mcp/shared/session.py", line 324, in _receive_loop  
 [BACKEND][2025-11-10 10:34:35]       |     await self._received_request(responder)  
 [BACKEND][2025-11-10 10:34:35]       |           β”‚    β”‚                 β”” <mcp.shared.session.RequestResponder object at 0x7fcc88f24490>  
 [BACKEND][2025-11-10 10:34:35]       |           β”‚    β”” <function ServerSession._received_request at 0x7fccae059120>  
 [BACKEND][2025-11-10 10:34:35]       |           β”” <mcp.server.session.ServerSession object at 0x7fcca366a450>  
 [BACKEND][2025-11-10 10:34:35]       |   File "/baserow/venv/lib/python3.11/site-packages/mcp/server/session.py", line 163, in _received_request  
 [BACKEND][2025-11-10 10:34:35]       |     raise RuntimeError(  
 [BACKEND][2025-11-10 10:34:35]       |  
 [BACKEND][2025-11-10 10:34:35]       | RuntimeError: Received request before initialization was complete  
 [BACKEND][2025-11-10 10:34:35]       +------------------------------------  

The last part:

 [BACKEND][2025-11-10 10:34:35] [2025-11-10 10:34:35 +0000] [836] [ERROR] Exception in ASGI application  
 [BACKEND][2025-11-10 10:34:35] Traceback (most recent call last):  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi  
 [BACKEND][2025-11-10 10:34:35]     result = await app(  # type: ignore[func-returns-value]  
 [BACKEND][2025-11-10 10:34:35]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__  
 [BACKEND][2025-11-10 10:34:35]     return await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/channels/routing.py", line 62, in __call__  
 [BACKEND][2025-11-10 10:34:35]     return await application(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/backend/src/baserow/config/helpers.py", line 31, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/channels/routing.py", line 116, in __call__  
 [BACKEND][2025-11-10 10:34:35]     return await application(  
 [BACKEND][2025-11-10 10:34:35]            ^^^^^^^^^^^^^^^^^^  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await self.middleware_stack(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__  
 [BACKEND][2025-11-10 10:34:35]     raise exc  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await self.app(scope, receive, _send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]     raise exc  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]     await app(scope, receive, sender)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 714, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await self.middleware_stack(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 734, in app  
 [BACKEND][2025-11-10 10:34:35]     await route.handle(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle  
 [BACKEND][2025-11-10 10:34:35]     await self.app(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 76, in app  
 [BACKEND][2025-11-10 10:34:35]     await wrap_app_handling_exceptions(app, request)(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]     raise exc  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app  
 [BACKEND][2025-11-10 10:34:35]     await app(scope, receive, sender)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/routing.py", line 74, in app  
 [BACKEND][2025-11-10 10:34:35]     await response(scope, receive, send)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/responses.py", line 150, in __call__  
 [BACKEND][2025-11-10 10:34:35]     await send(  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 39, in sender  
 [BACKEND][2025-11-10 10:34:35]     await send(message)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 39, in sender  
 [BACKEND][2025-11-10 10:34:35]     await send(message)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in _send  
 [BACKEND][2025-11-10 10:34:35]     await send(message)  
 [BACKEND][2025-11-10 10:34:35]   File "/baserow/venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 554, in send  
 [BACKEND][2025-11-10 10:34:35]     raise RuntimeError(msg % message_type)  
 [BACKEND][2025-11-10 10:34:35] RuntimeError: Unexpected ASGI message 'http.response.start' sent, after response already completed.  
 [BACKEND][2025-11-10 10:34:37] 195.101.82.105:0 - "POST /api/builder/domains/published/data-source/41704/dispatch/?offset=0&count=20&search_query=UGECAM+COUBERT HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:37] 213.139.10.85:0 - "POST /mcp/messages/?session_id=fdfeb520325a4ef2b333fcf2db998dcc HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:37] 213.139.10.85:0 - "POST /mcp/messages/?session_id=fdfeb520325a4ef2b333fcf2db998dcc HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:39] 213.139.10.85:0 - "POST /mcp/messages/?session_id=fdfeb520325a4ef2b333fcf2db998dcc HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:40] 213.139.10.85:0 - "GET /mcp/xxx/sse HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:40] 213.139.10.85:0 - "POST /mcp/messages/?session_id=2de7d8c5e4c04e89b7643a4a1a22abd0 HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:40] 213.139.10.85:0 - "POST /mcp/messages/?session_id=2de7d8c5e4c04e89b7643a4a1a22abd0 HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:40] 213.139.10.85:0 - "POST /mcp/messages/?session_id=2de7d8c5e4c04e89b7643a4a1a22abd0 HTTP/1.1" 202  
 [BACKEND][2025-11-10 10:34:41] 127.0.0.1:52894 - "GET /api/_health/ HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:41] 195.101.82.105:0 - "OPTIONS /api/builder/workflow_action/91914/dispatch/ HTTP/1.1" 200  
 [BACKEND][2025-11-10 10:34:41] 195.101.82.105:0 - "OPTIONS /api/builder/domains/published/data-source/41704/dispatch/?offset=0&count=20&search_query=UGECAM+ HTTP/1.1" 200 

The full log file is available here.

Does anyone know why I have this error and how I can fix it ?

Thank you,

Does anyone already experienced something similar ?

Hey @Alex-Clapp, the team is extremely busy preparing for the Baserow 2.0 release, but I’ll ping the devs once more after the release (which should be around the end of next week). Hope for your understanding! :raised_hands:

1 Like

Hello Olga,

Do you think I can have a feedback on that?

Thanks,

Hey @Alex-Clapp,

Sorry for the delay.

Unfortunately, we haven’t fixed that error yet, but it shouldn’t prevent the MCP from working.
Because of how the MCP is currently built, it might have some issues in workspaces with a lot of tables.

Could you try enabling the MCP server in a workspace with only one table to verify if it works?
I’m trying to understand if the problem is with a specific table or just with having a high number of tables, regardless of which ones.

Hi @davide ,

Thank you for your reply.

Your intuition was correct. It works nicely with a new and almost empty project.

Do you know if it can be fixed in the next weeks ?

Thanks

Hi @davide

Just following up on this. Any updates on a fix for the MCP error? I’m still running into this issue on my self-hosted setup.

Thanks!