Commit Graph
67 Commits
Author SHA1 Message Date
Sampson 1ae40e8bcd adds deepwiki badge (#196)
By adding this badge, our project will be indexed and refreshed on a weekly basis, giving up-to-date information for those visiting https://deepwiki.com/brave/brave-search-mcp-server.
2025-12-17 07:28:49 -06:00
Sampson 750ec2179d creates glama.json (#167)
Creating the glama.json root file enables us to claim https://glama.ai/mcp/servers/@brave/brave-search-mcp-server
2025-11-14 09:12:25 -06:00
Sampson 3ed76a76c0 Update build-release.yml 2025-10-06 13:22:00 -05: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
Sampson f6a2271165 chore: bumps version to 2.0.0 2025-09-12 09:09:14 -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
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
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
Sampson 3f006ba83a update openssl (#51) 2025-08-19 14:18:47 -05: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
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
SampsonandCopilot 5e2ddaea2a Update src/ClientLogger.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:41:15 -05:00
SampsonandCopilot d0ddbf0dd2 Update src/BraveAPI/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:41:00 -05:00
Sampson 02e83be68d Merge pull request #44 from brave/renovate/typescript-5-x
chore(deps): update dependency typescript to v5.9.2
2025-08-14 10:01:41 -05:00
Sampson a26d2868e6 Merge pull request #43 from brave/renovate/node-24-x
chore(deps): update dependency @types/node to v24.2.0
2025-08-14 10:01:26 -05:00
Sampson cdad327120 Merge pull request #42 from brave/renovate/modelcontextprotocol-sdk-1-x
fix(deps): update dependency @modelcontextprotocol/sdk to v1.17.2
2025-08-14 10:01:03 -05:00
Sampson a94e4dadab feat: adds proper logging support 2025-08-14 09:33:58 -05:00
Sampson 8ad2521abc unify string parts 2025-08-14 09:33:58 -05:00
Sampson 77617c93a8 chore(deps): update mcp sdk to v1.17.2 2025-08-14 09:33:57 -05:00
Sampson 80480a2d0b Merge pull request #40 from brave/renovate/node-alpine
chore(deps): update node.js to e8e882c
2025-08-14 09:30:58 -05:00
Sampson 0e44d803d7 Merge pull request #33 from brave/renovate/modelcontextprotocol-sdk-1-x
fix(deps): update dependency @modelcontextprotocol/sdk to v1.17.1
2025-08-14 09:15:36 -05:00
Sampson 04c06eb17e Merge pull request #34 from slimslenderslacks/slim/stdoutfix 2025-08-04 11:47:37 -05:00
Sampson 9e65645d93 Merge pull request #25 from brave/renovate/node-24-x
chore(deps): update dependency @types/node to v24.0.14
2025-07-24 20:42:35 -05:00
Sampson 01b739f751 Merge pull request #12 from brave/renovate/modelcontextprotocol-sdk-1-x
fix(deps): update dependency @modelcontextprotocol/sdk to v1.16.0
2025-07-24 20:42:17 -05:00
Sampson 9be19fb1e0 Merge pull request #26 from brave/renovate/zod-3-x
fix(deps): update dependency zod to v3.25.76
2025-07-24 20:41:44 -05:00
Sampson f306484424 Merge pull request #29 from brave/sampson-improved-testing
improves testing with dotenv and mcp-inspector
2025-07-24 20:21:20 -05:00
Sampson 9c61acdb63 improves testing with dotenv and mcp-inspector 2025-07-24 20:18:10 -05:00
Sampson 96975d4b45 Merge pull request #28 from nadetastic/validation-error
remove duplicate enum in result_filter
2025-07-24 17:24:04 -05:00
Sampson 54832c884b Merge pull request #20 from brave/sampson-updates-package.json 2025-07-16 14:46:04 -05:00
Sampson 711bb73377 updates package.json 2025-07-16 14:36:30 -05:00
Sampson 9f20286141 Merge pull request #18 from brave/jonathansampson-patch-1
Create LICENSE
2025-07-16 13:25:15 -05:00
Sampson b646489474 Create LICENSE
Project started originally as a fork from the modelcontextprotocol/servers effort. Although little-to-no aspects of that original codebase persist to this point, attribution is to be preserved.
2025-07-16 12:51:06 -05:00
Sampson 33e1741fdf newer/more-secure base image (#17)
* newer/more-secure base image

* patches openssl
2025-07-14 15:33:42 -07:00
Sampson 05f66d611f removes session-id generation/deps (#16) 2025-07-11 11:43:01 -07:00
Sampson 96b50d2925 Merge pull request #15 from brave/sampson-even-less-invocation
now with even less invocation!
2025-07-08 19:26:25 -05:00
Sampson fff3ddf188 now with even less invocation 2025-07-08 19:25:43 -05:00
Sampson beab641192 adds /ping and /invocations endpoints 2025-07-08 15:35:48 -05:00
Sampson 65c569f01e Merge pull request #13 from brave/sampson-updated-readme
updates README contents
2025-07-08 12:37:20 -05:00
Sampson 8e3dbecc55 updates README contents
A lot has changed in the project over the last few commits, so the README.md needed a deep refresh as well.
2025-07-08 12:34:18 -05:00
Sampson bb6c97876d introduces support for summarizer 2025-07-07 11:17:28 -05:00
Sampson 1ba80e2312 filename pattern consistency 2025-07-03 12:48:02 -05:00
Sampson 52113e3246 retrieve api key from config alone
improves api key management; no longer retrieving it in different ways from different parts of the application
2025-07-02 18:07:24 -05:00
Sampson 8f942b9eee Refactor configuration and API; added endpoints for image, video, and news. 2025-07-02 17:04:22 -05:00
Sampson 7789f05087 updates deps, adds prettier 2025-07-02 09:56:01 -05:00
Sampson b4e4fb5cfd removes stub endpoints 2025-06-26 10:14:24 -05:00
Sampson 5f29ef8a47 improved structure and implementation 2025-06-25 16:09:59 -05:00
Sampson bde68396e8 Merge pull request #9 from brave/dockerize-app
dockerize application
2025-06-25 15:57:42 -05:00
Sampson 79060cb8e8 Merge pull request #8 from brave/sampson-streamable-http
restructures project; adds HTTP support
2025-06-20 10:26:11 -05:00
Sampson c1aa0761cb Update constants.ts 2025-06-20 09:08:10 -05:00
Sampson 971cee1cac pin deps 2025-06-18 12:33:09 -05:00
Sampson 81f1c0d6db adds http streaming support to server
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.
2025-06-18 12:21:16 -05:00
Sampson 486d4f06f5 restructures project for maintainability 2025-06-18 12:18:22 -05:00
Sampson 03b2ab31ce uses api_key convention 2025-06-16 16:21:10 -05:00
Sampson 3a319d5017 Merge pull request #4 from brave-experiments/sampson-repo-prep
- sets up src/dist directories
- configures tsc for project
- updates paths for dockerfile
- updates outdated deps
- creates gitignore
2025-06-16 16:05:50 -05:00
Sampson 057728bf62 adds development guide to README 2025-06-16 16:04:08 -05:00
Sampson 3c7d5b487d update refs/code in README.md 2025-06-16 14:42:30 -05:00
Sampson f20539b104 prep work for new clone
sets up src/dist directories
configures tsc for project
updates paths for dockerfile
updates outdated deps
creates gitignore
2025-06-16 14:15:35 -05:00
Sampson 4077de0040 Update package.json 2025-06-13 15:43:52 -05:00