Skip to content

Docs: clarify that mcpSettings SSRF allowlists apply to remote MCP connections, not stdio servers #909

Open

Description

@lidorshimoni

The mcpSettings page (https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_settings) documents SSRF protection for MCP server connections ("controls how MCP servers can connect to certain domains and IP addresses") via allowedDomains and allowedAddresses, but never mentions the stdio transport.

As I understand it, the allowlists are URL checks, so they apply to remote servers (sse, streamable-http, websocket) only. stdio servers spawn local processes on the LibreChat host; whatever those child processes do is outside these checks. The mcpServers page notes the same pattern for requiresOAuth: it "has no effect on stdio servers, which have no URL to authenticate against."

Since stdio servers can only be defined in librechat.yaml by an admin, this is not a permission boundary problem, but the current wording could read as if allowedDomains constrains every configured MCP server. A short scope note on the mcpSettings page would prevent that misreading. If stdio servers are in scope after all, documenting that would be equally useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions