-
-
Notifications
You must be signed in to change notification settings - Fork 6k
feat(mcp): Migrate from SSE to HTTP transport and add configurable port #1519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
leoric-crown
wants to merge
22
commits into
unclecode:main
from
leoric-crown:feature/mcp-http-transport-migration
Closed
Changes from 8 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
16f72de
feat(mcp): migrate from SSE to FastMCP HTTP transport
leoric-crown 05dc97c
chore(docker): remove deprecated sse-starlette from requirements
leoric-crown 20ce5a6
fix(mcp): resolve critical issues from code review
leoric-crown b0fc577
fix(mcp): enhance Pydantic model handling in MCP tool wrappers
leoric-crown 14ea300
feat(docker): enhance MCP server with improved parameter handling and…
leoric-crown 14f30b0
fix(mcp): harden http bridge and refresh smoke tests
leoric-crown 4b669c1
chore(docker): update server version in /health to 0.7.4
leoric-crown b18fe57
feat(docker): add configurable host port mapping
leoric-crown d9fd23c
fix(docker): update Docker configuration for environment variables an…
leoric-crown 26cbc45
fix(mcp): address code review feedback
leoric-crown cb8e095
fix(mcp): address additional code review feedback
leoric-crown 1085c89
fix: prevent file collisions in screenshot/PDF exports
leoric-crown ca84054
feat(docker): enhance API reliability and backward compatibility
leoric-crown c3f1c25
fix(mcp): improve schema endpoint and remove fallback inspection
leoric-crown 2688a16
fix: address critical feedback issues
leoric-crown 7142db8
fix: enhance security and documentation
leoric-crown 7eb7d9e
fix(api): improve result normalization for single CrawlResult objects
leoric-crown 6c7e833
fix(api): improve JSON serialization to preserve datetime and Path ob…
leoric-crown 487ccf0
fix(api): implement recursive normalization for nested Path/datetime …
leoric-crown 3e82fad
fix(api): properly extract results from CrawlResultContainer objects
leoric-crown f60e6ae
fix(api): properly unwrap container results in fallback retry path
leoric-crown ae348c4
refactor: implement protocol-based architecture for result normalizat…
leoric-crown File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Docker Compose Configuration | ||
| # This file is used by docker-compose for variable substitution in docker-compose.yml | ||
| # Copy this file to .env and customize as needed | ||
|
|
||
| # ────────────────────────────────────────────────────────────────── | ||
| # Port Configuration | ||
| # ────────────────────────────────────────────────────────────────── | ||
| # Host port mapping (container always runs on 11235 internally) | ||
| HOST_PORT=11235 | ||
|
|
||
| # ────────────────────────────────────────────────────────────────── | ||
| # Image Selection | ||
| # ────────────────────────────────────────────────────────────────── | ||
| # Use pre-built image from Docker Hub (recommended) | ||
| # IMAGE=unclecode/crawl4ai:latest | ||
| # TAG=latest | ||
|
|
||
| # ────────────────────────────────────────────────────────────────── | ||
| # Build Configuration (only applies when building locally) | ||
| # ────────────────────────────────────────────────────────────────── | ||
|
|
||
| # INSTALL_TYPE: Feature set for the installation | ||
| # - default: Basic installation (~2-3GB image) | ||
| # Includes: JsonCssExtractionStrategy, JsonXPathExtractionStrategy, | ||
| # LLMExtractionStrategy (API-based, no local ML) | ||
| # Best for: Standard web crawling, structured extraction, LLM-based extraction | ||
| # | ||
| # - all: Full installation with ML dependencies (~6-8GB image) | ||
| # Adds: PyTorch, transformers, sentence-transformers, scikit-learn, NLTK | ||
| # Enables: CosineStrategy (semantic clustering), local transformer models | ||
| # Best for: Advanced ML-based extraction, semantic content analysis | ||
| # | ||
| # - torch: PyTorch + scikit-learn + NLTK (no transformers) | ||
| # - transformer: Transformers + sentence-transformers (no PyTorch) | ||
| # | ||
| INSTALL_TYPE=default | ||
|
|
||
| # ENABLE_GPU: Enable NVIDIA CUDA support for GPU acceleration | ||
| # - false: CPU-only (works on all platforms) | ||
| # - true: Adds CUDA toolkit (AMD64/x86_64 only, requires NVIDIA GPU) | ||
| # | ||
| # Note: GPU support only available on AMD64 architecture | ||
| # ARM64 (Apple Silicon) will skip GPU installation | ||
| # | ||
| ENABLE_GPU=false |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.