Environment Variables

PriceMinder MCP Server supports the following environment variable configuration.
stdio Mode Environment Variables
Applicable to local stdio mode (uvx sentinel-mcp-server):
| Variable | Description | Default Value |
|---|---|---|
SENTINEL_API_BASE | Sentinel REST API address | https://priceminder.online/api/v1 |
SENTINEL_TOKEN | User authentication Token (required) | — |
SENTINEL_TIMEOUT | HTTP request timeout (seconds) | 30 |
TIP
The token is obtained from the Chrome extension settings page, or created via the POST /auth/init API endpoint.
HTTP Hosted Mode Environment Variables
Applicable to self-hosted HTTP mode deployment (see Deployment Guide):
| Variable | Description | Default Value |
|---|---|---|
SENTINEL_API_BASE | Backend API address | https://priceminder.online/shopee |
SENTINEL_MCP_INTERNAL_KEY | Internal communication key | sentinel-mcp-internal-2026 |
SENTINEL_TOKEN | Required only in stdio mode | — |
MCP_MODE | Running mode | http |
MCP_HOST | Listening address | 0.0.0.0 |
MCP_PORT | Listening port | 8020 |
LOG_LEVEL | Log level | info |
Configuration Examples
stdio Mode (Client Configuration)
Set the env field in your AI client's MCP configuration:
json
{
"mcpServers": {
"sentinel": {
"command": "uvx",
"args": ["sentinel-mcp-server"],
"env": {
"SENTINEL_API_BASE": "https://priceminder.online/api/v1",
"SENTINEL_TOKEN": "your-token",
"SENTINEL_TIMEOUT": "30"
}
}
}
}HTTP Mode (Docker / systemd)
bash
docker run -d \
--name sentinel-mcp \
-p 127.0.0.1:8020:8020 \
-e SENTINEL_API_BASE=https://priceminder.online/shopee \
-e SENTINEL_MCP_INTERNAL_KEY=sentinel-mcp-internal-2026 \
-e MCP_MODE=http \
-e MCP_HOST=0.0.0.0 \
-e MCP_PORT=8020 \
-e LOG_LEVEL=info \
sentinel-mcp