Bug Description
When trying to index a codebase using the index_codebase tool, it consistently fails with a gRPC DEADLINE_EXCEEDED error during collection creation validation.
Error Message
Error validating collection creation: 4 DEADLINE_EXCEEDED: Deadline exceeded after 15.001s, metadata filters: 0.001s, remote_addr=34.111.198.99:443
Environment
- MCP Package:
@zilliz/claude-context-mcp@latest
- Embedding Provider: VoyageAI (
voyage-code-3)
- Milvus Address: Zilliz serverless cluster (
*.serverless.gcp-us-west1.cloud.zilliz.com)
- OS: macOS Darwin 24.6.0
- Claude Code: CLI
Steps to Reproduce
- Configure
claude-context MCP with a Zilliz serverless cluster
- Call
index_codebase with an absolute path to a local directory
- Error is thrown immediately after 15 seconds
Network Diagnostics
The Zilliz cluster endpoint is reachable:
- ✅ DNS resolves correctly
- ✅ TCP connection to port 443 succeeds
- ✅ TLS handshake completes successfully (TLSv1.3)
- ✅ Ping responds with ~22ms latency, 0% packet loss
The issue appears to be at the gRPC layer — the HTTP/HTTPS connection works fine, but the gRPC call times out during collection creation validation.
Expected Behavior
The codebase should be indexed successfully.
Actual Behavior
The tool times out after 15 seconds with DEADLINE_EXCEEDED on every attempt.
Possible Cause
The default gRPC deadline of 15 seconds may be too short, especially when:
- The Zilliz serverless cluster is warming up / resuming from a paused state
- There is high latency on the gRPC metadata/collection API
Suggested Fix
- Increase the gRPC deadline timeout for collection creation validation (e.g., 30–60 seconds)
- Add retry logic with exponential backoff for transient timeout errors
- Provide a clearer error message indicating the cluster may be paused/warming up
Bug Description
When trying to index a codebase using the
index_codebasetool, it consistently fails with a gRPCDEADLINE_EXCEEDEDerror during collection creation validation.Error Message
Environment
@zilliz/claude-context-mcp@latestvoyage-code-3)*.serverless.gcp-us-west1.cloud.zilliz.com)Steps to Reproduce
claude-contextMCP with a Zilliz serverless clusterindex_codebasewith an absolute path to a local directoryNetwork Diagnostics
The Zilliz cluster endpoint is reachable:
The issue appears to be at the gRPC layer — the HTTP/HTTPS connection works fine, but the gRPC call times out during
collection creation validation.Expected Behavior
The codebase should be indexed successfully.
Actual Behavior
The tool times out after 15 seconds with
DEADLINE_EXCEEDEDon every attempt.Possible Cause
The default gRPC deadline of 15 seconds may be too short, especially when:
Suggested Fix