File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ Just search -> crawl -> rerank -> grounded prompt.
3434
3535## Quick start
3636
37- Run TinySearch as an MCP server over Streamable HTTP:
37+ Run TinySearch with its own SearXNG instance as an MCP server over Streamable
38+ HTTP. Docker Compose loads the configuration directly from GitHub, so you do
39+ not need to clone the repository or create any configuration files:
3840
3941``` bash
40- docker run --rm -p 8000:8000 -e MCP_TRANSPORT=streamable-http -e MCP_HOST=0.0.0.0 marcellm01/tinysearch:latest
42+ docker compose -f " https://github.com/MarcellM01/TinySearch.git#main:compose.quickstart.yaml " up -d
4143```
4244
4345Then connect your MCP client to:
@@ -52,6 +54,12 @@ Then connect your MCP client to:
5254}
5355```
5456
57+ Stop and remove the containers later with:
58+
59+ ``` bash
60+ docker compose -f " https://github.com/MarcellM01/TinySearch.git#main:compose.quickstart.yaml" down
61+ ```
62+
5563TinySearch exposes one MCP tool:
5664
5765``` text
Original file line number Diff line number Diff line change 1+ name : tinysearch
2+
3+ services :
4+ searxng :
5+ image : searxng/searxng:latest
6+ restart : unless-stopped
7+ configs :
8+ - source : searxng_settings
9+ target : /etc/searxng/settings.yml
10+
11+ tinysearch :
12+ image : marcellm01/tinysearch:latest
13+ restart : unless-stopped
14+ ports :
15+ - " 8000:8000"
16+ shm_size : " 1gb"
17+ volumes :
18+ - models:/data/models
19+ environment :
20+ MCP_TRANSPORT : streamable-http
21+ MCP_HOST : 0.0.0.0
22+ MCP_PORT : 8000
23+ SEARXNG_URL : http://searxng:8080/search
24+ depends_on :
25+ - searxng
26+
27+ configs :
28+ searxng_settings :
29+ content : |
30+ use_default_settings: true
31+ search:
32+ formats:
33+ - html
34+ - json
35+ server:
36+ secret_key: "tinysearch-local-only"
37+ limiter: false
38+ image_proxy: false
39+
40+ volumes :
41+ models :
You can’t perform that action at this time.
0 commit comments