diff --git a/librechat.railway.yaml b/librechat.railway.yaml new file mode 100644 index 0000000..4eb8e5a --- /dev/null +++ b/librechat.railway.yaml @@ -0,0 +1,66 @@ +# LibreChat Configuration File +# For more information, see: https://www.librechat.ai/docs/configuration/librechat_yaml + +version: 1.3.1 + +# Cache settings +cache: true + +# Interface configuration +interface: + fileCitations: true + + # MCP Servers configuration + # Controls user permissions for MCP (Model Context Protocol) server management + mcpServers: + use: true # Allow users to use configured MCP servers + share: false # Allow users to share MCP servers with other users + create: true # Allow users to create and manage new MCP servers + public: false # Allow users to share MCP servers publicly (with everyone) + +mcpSettings: + allowedDomains: + - "*.railway.internal" + +endpoints: + agents: + capabilities: + [ + 'hide_sequential_outputs', + 'end_after_tools', + 'execute_code', + 'file_search', + 'web_search', + 'artifacts', + 'actions', + 'context', + 'tools', + 'chain', + 'ocr', + ] + +mcpServers: + clickhouse-mcp: + type: streamable-http + url: http://clickhouse-mcp-server.railway.internal:8000/mcp + timeout: 60000 + headers: + Authorization: 'Bearer ${CLICKHOUSE_MCP_AUTH_TOKEN}' + clickhouse: + command: "uv" + args: + - run + - --with + - mcp-clickhouse==0.1.5 + - --python + - "3.13" + - mcp-clickhouse + env: + CLICKHOUSE_HOST: "sql-clickhouse.clickhouse.com" + CLICKHOUSE_PORT: "8443" + CLICKHOUSE_USER: "demo" + CLICKHOUSE_PASSWORD: "" + CLICKHOUSE_SECURE: "true" + CLICKHOUSE_VERIFY: "true" + CLICKHOUSE_CONNECT_TIMEOUT: "30" + CLICKHOUSE_SEND_RECEIVE_TIMEOUT: "30"