Commit Graph
151 Commits
Author SHA1 Message Date
Mihai PLESA 5f9d23dbe2 version fixes 2025-09-19 12:28:19 +01:00
github-actions[bot] fc216f78f7 ci: update build assets (v2.0.6) 2025-09-19 09:35:54 +00:00
Mihai PLESA f647f3ede8 version fix 2025-09-19 10:35:07 +01:00
Mihai PLESA 346e889bd7 wait for npm package to be available 2025-09-19 10:34:45 +01:00
github-actions[bot] 9a9f094c00 ci: update build assets (v2.0.5) 2025-09-19 09:30:40 +00:00
Mihai PLESA a671d6676a version fix 2025-09-19 10:29:57 +01:00
Mihai PLESA bbd3b0f444 add server.json 2025-09-19 10:29:18 +01:00
github-actions[bot] d29aa4d37a ci: update build assets (v2.0.4) 2025-09-19 09:17:43 +00:00
Mihai PLESA 87e8812065 oidc token permissions 2025-09-19 10:16:38 +01:00
github-actions[bot] 61bcaa118b ci: update build assets (v2.0.3) 2025-09-19 09:02:55 +00:00
Mihai PLESA 202f781141 Update CI workflow to include MCP publishing to GitHub 2025-09-19 10:02:17 +01:00
Sampson 9e650e0a67 chore(package.json): more concise description
In anticipation of registering with the MCP Registry, we are moving to a sub-100-char description string.
2025-09-18 09:44:19 -05:00
renovate[bot] a4892a11ce fix(deps): update dependency @modelcontextprotocol/sdk to v1.18.0 (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 09:20:50 -05:00
github-actions[bot] bc6415bdb5 ci: update build assets (v2.0.1) 2025-09-12 14:17:33 +00:00
Sampson f6a2271165 chore: bumps version to 2.0.0 2025-09-12 09:09:14 -05:00
renovate[bot] ad955556ca chore(deps): update node.js to 3e843c6 (#73)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-11 10:12:41 -05:00
renovate[bot] ec574003b0 chore(deps): update actions/setup-node action to v5 (#72)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-10 17:27:45 -05:00
renovate[bot] 9c3417a3e2 chore(deps): update softprops/action-gh-release action to v2.3.3 (#71)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-10 17:26:10 -05:00
renovate[bot] d2cc9879d8 chore(deps): update dependency @types/node to v24.3.1 (#70)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-10 15:15:48 -05:00
Sampson d9e509da6f fix(config): Defer retrieval of tool names
No longer attempts to calculate tool names as module-load time, but instead defers it until the values are needed. Additionally, this change updates the schema to support optional tool exposure when using smithery.ai.
2025-09-10 14:21:57 -05:00
Sampson 69eb8c9354 chore(logging): removes custom handling
With the release of version 1.17.5 of the SDK, servers no longer need to have their own custom handler for the SetLevelRequestSchema. See https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/1.17.5.
2025-09-10 10:45:53 -05:00
Sampson fb7b959f54 chore(deps): updates dotenv to 17.2.2 2025-09-10 10:06:22 -05:00
renovate[bot] 7049274edb fix(deps): update dependency dotenv to v17.2.2 (#69)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-10 09:50:54 -05:00
renovate[bot] 6595b159b2 fix(deps): update dependency @modelcontextprotocol/sdk to v1.17.5 (#67)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-10 09:05:39 -05:00
Sampson 9f87c8bb93 feat(tools): implements optional tool exposure (#68)
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.
2025-09-10 09:03:58 -05:00
Sampson 0bca1a42b3 sets stdio as the default transport
This is a breaking change, requiring a new major release of the server.

Resolves https://github.com/brave/brave-search-mcp-server/issues/63
2025-09-09 09:46:50 -05:00
Sampson f3c0a65fec removes unnecessary dev-dep 2025-09-08 14:23:56 -05:00
Sampson 4fb81fb605 improve response structure of image tool (#52)
Tool now more closely resembles the documented response shape of the image API endpoint. This tool also no longer preemptively loads base64-encoded image data. The images tool now uses a structured content response. Following the suggestion in https://modelcontextprotocol.io/specification/2025-06-18/server/tools#output-schema, we also provide an Output Schema, enabling clients to validate the response. As a result of this work, the Images tool requires a slightly different registration approach. For this reason, registration can now be handled via a local "register" method in each tool module. When tools were registered externally in a for-loop, the type system was unable to infer the shape of each tool due to the overloaded union (resulting from only the Image tool having an OutputSchema export).
2025-09-06 10:35:08 -05:00
Sampson 398e88ffb8 implement smithery.ai changes (#66)
- Modifies project slightly to support distribution via smithery.ai.
- Resolves https://github.com/brave/brave-search-mcp-server/issues/65
- Overrides outdated formdata-node
2025-09-05 12:59:40 -05:00
Sampson 943b176f2a defer access to config 2025-09-05 11:26:03 -05:00
renovate[bot] d012e190c2 fix(deps): update dependency @modelcontextprotocol/sdk to v1.17.4 (#61)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-02 08:44:15 -05:00
Mihai PLESA c0c251c080 Merge pull request #58 from brave/renovate/node-alpine
chore(deps): update node.js to be4d5e9
2025-09-02 12:23:31 +01:00
renovate[bot] 213b5e0cf8 chore(deps): update node.js to be4d5e9 2025-08-31 09:48:57 +00:00
github-actions[bot] d8e966bd36 ci: update build assets (v1.3.7) 2025-08-28 17:43:38 +00:00
Sampson 0d751f748e fixes goggle-list support (#57)
Multiple goggles cannot be passed in a single comma-separated list. This change repeats the goggles parameter when multiple goggle URLs are used.
2025-08-28 12:42:28 -05:00
Mihai PLESA 05aefde033 Merge pull request #54 from brave/renovate/node-24-x
chore(deps): update dependency @types/node to v24.3.0
2025-08-26 22:22:11 +01:00
Anton Pidkuiko 32a7ced8cc Fix: Add missing --transport stdio argument to NPX examples (#53)
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.
2025-08-26 15:09:58 -05:00
renovate[bot] 03d1c5c848 chore(deps): update dependency @types/node to v24.3.0 2025-08-26 03:40:04 +00:00
renovate[bot] 989f4a2d45 chore(deps): update dependency @types/node to v24.2.1 (#50)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 10:11:23 -05:00
github-actions[bot] 93a432cbdc ci: update build assets (v1.3.6) 2025-08-20 01:03:00 +00:00
Sampson 3f006ba83a update openssl (#51) 2025-08-19 14:18:47 -05:00
Mihai PLESA ef0a87da77 Merge pull request #49 from brave/renovate/node-alpine
chore(deps): update node.js to 51dbfc7
2025-08-19 09:53:38 +01:00
renovate[bot] 9674cfce04 chore(deps): update node.js to 51dbfc7 2025-08-19 01:45:07 +00:00
Sampson b64b2fea18 single server per transport (#48)
resolves https://github.com/brave/brave-search-mcp-server/issues/47

- Updates SDK to 1.17.3
- Creates a single server instance per transport
- Removes unnecessary ClientLogger (tool execution methods have access to a sendNotification method if so desired)
- Other small syntactic cleanups
2025-08-18 10:37:19 -05:00
github-actions[bot] 9b6e458c66 ci: update build assets (v1.3.5) 2025-08-14 16:18:20 +00:00
Sampson 426811f549 enhanced logging support 2025-08-14 11:17:02 -05:00
SampsonandCopilot 60adaebcda Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 11:11:10 -05:00
SampsonandCopilot b8d1459d38 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 11:07:55 -05:00
Mihai PLESA 04afd427f0 Merge pull request #45 from brave/renovate/actions-checkout-5-x
chore(deps): update actions/checkout action to v5
2025-08-14 17:04:49 +01:00
SampsonandCopilot 5e2ddaea2a Update src/ClientLogger.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:41:15 -05:00