Repository navigation
docs(mcp): document LITELLM_ENABLE_STDIO_MCP opt-in for stdio servers - #2017
Closed
devin-ai-integration[bot] wants to merge 1 commit into
Closed
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Closed
3 of 5 tasks
Contributor
Author
|
Closing because BerriAI/litellm#44066 replaces the code PR and uses LITELLM_ENABLE_MCP_STDIO instead. Reopen and rename the variable if these docs help |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs for the proxy change that turns stdio MCP transport off by default (BerriAI/litellm branch
litellm_disable_stdio_mcp_by_default). A stdio MCP server runs a command on the proxy host, and the command allowlist does not stoppython -c ...ornpx <any package>, so leaving stdio on turns any path to proxy admin into code execution on the host. The proxy now refuses stdio servers unless the operator setsLITELLM_ENABLE_STDIO_MCP=truein the process environment, and that key is ignored underenvironment_variablesin config or the DBdocs/mcp.mdgets a warning admonition at "Add STDIO MCP Server" that explains the risk, the opt-in, and the stdio-to-HTTP bridge alternative. The other stdio setup spots link back to it.docs/proxy/config_settings.mdadds theLITELLM_ENABLE_STDIO_MCProw, which the litellmtest_env_keysdoc check needs, and notes thatLITELLM_MCP_STDIO_EXTRA_COMMANDSonly applies once stdio is enabled.mcp_config_reference.md,security_owasp_llm_top10.md, andtutorials/claude_code_skills.mdare updated to matchMerge this before the litellm PR, because its env-key documentation test checks out this repo's main
Link to Devin session: https://app.devin.ai/sessions/55147bfac539478f9080942ee7f5b155
Open in Devin Desktop: https://app.devin.ai/desktop/session/55147bfac539478f9080942ee7f5b155?variant=devin