* feat: support reading Brave API key from a file
* chore: add secret file template and gitignore local keys
* docs: document optional Docker Compose secrets workflow
* fix: trim whitespace API keys and exclude secrets from Docker build
* docs: clarify container paths for BRAVE_API_KEY_FILE
* test: cover API key file config and expand Docker build context ignores
* test: isolate getOptions tests from local env vars
* docs: clarify optional use of BRAVE_API_KEY_FILE
* docs: document BRAVE_API_KEY_FILE in AWS Marketplace catalog template
* fix: validate and parse HTTP port as integer
Commander leaves --port as a string, so invalid values like abc previously
passed numeric range checks. Parse ports strictly before starting HTTP transport.
* test: add parsePort unit tests and npm test script
Introduce node:test coverage for HTTP port parsing edge cases using the
existing tsx dev dependency.
* docs: correct README port default and image search description
Align BRAVE_MCP_PORT default with runtime behavior (8080) and remove the
outdated v1.x base64 image search note.
This prevents the following blocking interaction, e.g. on Fedora Linux:
```
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
? Please select an image:
▸ registry.fedoraproject.org/mcp/brave-search:latest
registry.access.redhat.com/mcp/brave-search:latest
docker.io/mcp/brave-search:latest
```
Allows administrators to specify either a whitelist or a blacklist for determining which tools are desired. This work introduces new command-line arguments `--enabled-tools` and `--disabled-tools`, which cannot be used together. Likewise, this work also considers environment variables `BRAVE_MCP_ENABLED_TOOLS` and `BRAVE_MCP_DISABLED_TOOLS` as another means of communicating desired or undesired tools. See https://github.com/brave/brave-search-mcp-server/issues/62 for more on the motivation behind this feature.
The default transport mode is HTTP, but the NPX examples in README were missing the --transport stdio argument, causing MCP clients to fail connection.
When running 'npx -y @brave/brave-search-mcp-server' without arguments, the server starts in HTTP mode and outputs 'Server is running on http://0.0.0.0:8080/mcp', but MCP clients expect stdio communication.
This commit adds '--transport stdio' to all NPX examples to ensure proper connection.
HTTP streaming is the default. To launch with STDIO the user must pass the `--transport stdio` CLI arguments. This has been documented in the README.md file.