Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
323 changes: 177 additions & 146 deletions crates/mcp-brain-server/Cargo.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions crates/mcp-brain-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ tower-http = { version = "0.6", features = ["cors", "trace", "limit", "set-heade
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# HTTP client (for Firestore/GCS REST APIs)
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# HTTP client (for Firestore/GCS REST APIs + Common Crawl)
# Using native-tls for compatibility with servers that don't send TLS close_notify
reqwest = { version = "0.12", features = ["json", "native-tls"], default-features = false }

# Crypto
sha2 = "0.10"
Expand Down
4 changes: 3 additions & 1 deletion crates/mcp-brain-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ FROM rustlang/rust:nightly-bookworm AS builder

WORKDIR /app

# Install build dependencies
# Install build dependencies (native-tls requires OpenSSL)
RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libssl-dev \
openssl \
&& rm -rf /var/lib/apt/lists/*

# Copy minimal workspace file (only includes required crates)
Expand Down Expand Up @@ -73,6 +74,7 @@ FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
libssl3 \
&& rm -rf /var/lib/apt/lists/*

# Copy binary from builder
Expand Down
1 change: 1 addition & 0 deletions crates/mcp-brain-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ pub mod web_memory;
pub mod web_ingest;
pub mod web_store;
pub mod pubmed;
pub mod quantization;
Loading
Loading