DEV Community

support 110250
support 110250

Posted on

ERROR connecting to MCP server: Session terminated

Hello, everything went fine until starting the client. I get:

┌──(myenv)─(dav㉿kingofkali)-2026-03-02 11:48:38-[~/DAV/Agentic_AI/mcp-ollama-tutorial]
└─$ python client_ollama.py

🔍 Loading MCP tools...
❌ ERROR connecting to MCP server: Session terminated

Make sure the server is running:
python mcp_server.py

Of course, mcp server is running so any clue ?
Thx a lot for any answer.
Dav

Top comments (0)