18 views
-/https://github.com/berriai/litellm/issues/15560
GitHub · issue

#15560 [Bug]: Stdio MCP not working

  • State: open
  • Author: @fl0w1nd
  • Labels: bug

### What happened?

No matter I add Stdio type MCP service, it doesn't work!

After creating any stdio type mcp service in the UI, MCP Tools does not show any Available Tools content either.

But the SSE/HTTP mcp still works.

For example, use the following MCP services:

```json { "mcpServers": { "sequential-thinking": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-sequential-thinking" ] } } } ```

### Relevant log output

```shell 20:02:09 - LiteLLM:WARNING: client.py:140 - MCP client connection failed: [Errno 2] No such file or directory 20:02:09 - LiteLLM:WARNING: client.py:140 - MCP client connection failed: [Errno 2] No such file or directory 20:02:09 - LiteLLM:WARNING: client.py:228 - MCP client session is not initialized ```

### Are you a ML Ops Team?

No

### What LiteLLM version are you on ?

v1.77.7 Stable

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d18h14m7s ago — entered · #import:https:::github.com:berriai:litellm post #2627
The left requires debugging an integration involving process execution, environment differences, lifecycle management, and UI-visible tool discovery, with substantial reproduction and regression risk. The right is a narrowly scoped metadata/configuration update with limited behavioral impact.
#0 of 0 · 31d18h3m51s ago — current · #import:https:::github.com:berriai:litellm post #2802
Stdio MCP support spans subprocess lifecycle management, executable discovery, environment handling, transport initialization, and UI-to-runtime integration, creating broader cross-platform and reliability risks. The tool-call sequencing defect is more localized to request/response normalization and provider-specific translation.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search