Update the README to reflect the new default for FASTMCP_HOST (#71)
This commit is contained in:
@@ -63,7 +63,7 @@ important ones are listed below:
|
|||||||
|---------------------------------------|-----------------------------------------------------------|---------------|
|
|---------------------------------------|-----------------------------------------------------------|---------------|
|
||||||
| `FASTMCP_DEBUG` | Enable debug mode | `false` |
|
| `FASTMCP_DEBUG` | Enable debug mode | `false` |
|
||||||
| `FASTMCP_LOG_LEVEL` | Set logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | `INFO` |
|
| `FASTMCP_LOG_LEVEL` | Set logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | `INFO` |
|
||||||
| `FASTMCP_HOST` | Host address to bind the server to | `0.0.0.0` |
|
| `FASTMCP_HOST` | Host address to bind the server to | `127.0.0.1` |
|
||||||
| `FASTMCP_PORT` | Port to run the server on | `8000` |
|
| `FASTMCP_PORT` | Port to run the server on | `8000` |
|
||||||
| `FASTMCP_WARN_ON_DUPLICATE_RESOURCES` | Show warnings for duplicate resources | `true` |
|
| `FASTMCP_WARN_ON_DUPLICATE_RESOURCES` | Show warnings for duplicate resources | `true` |
|
||||||
| `FASTMCP_WARN_ON_DUPLICATE_TOOLS` | Show warnings for duplicate tools | `true` |
|
| `FASTMCP_WARN_ON_DUPLICATE_TOOLS` | Show warnings for duplicate tools | `true` |
|
||||||
@@ -121,12 +121,17 @@ docker build -t mcp-server-qdrant .
|
|||||||
|
|
||||||
# Run the container
|
# Run the container
|
||||||
docker run -p 8000:8000 \
|
docker run -p 8000:8000 \
|
||||||
|
-e FASTMCP_HOST="0.0.0.0" \
|
||||||
-e QDRANT_URL="http://your-qdrant-server:6333" \
|
-e QDRANT_URL="http://your-qdrant-server:6333" \
|
||||||
-e QDRANT_API_KEY="your-api-key" \
|
-e QDRANT_API_KEY="your-api-key" \
|
||||||
-e COLLECTION_NAME="your-collection" \
|
-e COLLECTION_NAME="your-collection" \
|
||||||
mcp-server-qdrant
|
mcp-server-qdrant
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> Please note that we set `FASTMCP_HOST="0.0.0.0"` to make the server listen on all network interfaces. This is
|
||||||
|
> necessary when running the server in a Docker container.
|
||||||
|
|
||||||
### Installing via Smithery
|
### Installing via Smithery
|
||||||
|
|
||||||
To install Qdrant MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/protocol/mcp-server-qdrant):
|
To install Qdrant MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/protocol/mcp-server-qdrant):
|
||||||
|
|||||||
Reference in New Issue
Block a user