From f6a227116575e4be8ebb3ab1171b612619c6a8cf Mon Sep 17 00:00:00 2001 From: Sampson Date: Fri, 12 Sep 2025 09:09:14 -0500 Subject: [PATCH] chore: bumps version to 2.0.0 --- README.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e070a1f..4876c8f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ An MCP server implementation that integrates the Brave Search API, providing comprehensive search capabilities including web search, local business search, image search, video search, news search, and AI-powered summarization. This project supports both STDIO and HTTP transports, with STDIO as the default mode. +## Migration + +### 1.x to 2.x + +#### Default transport now STDIO + +To follow established MCP conventions, the server now defaults to STDIO. If you would like to continue using HTTP, you will need to set the `BRAVE_MCP_TRANSPORT` environment variable to `http`, or provide the runtime argument `--transport http` when launching the server. + +#### Response structure of `brave_image_search` + +Version 1.x of the MCP server would return base64-encoded image data along with image URLs. This dramatically slowed down the response, as well as consumed unnecessarily context in the session. Version 2.x removes the base64-encoded data, and returns a response object that more closely reflects the original Brave Search API response. The updated output schema is defined in [`src/tools/images/schemas/output.ts`](https://github.com/brave/brave-search-mcp-server/blob/main/src/tools/images/schemas/output.ts). + ## Tools ### Web Search (`brave_web_search`) diff --git a/package.json b/package.json index 9ae93b3..d3614af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@brave/brave-search-mcp-server", - "version": "1.3.7", + "version": "2.0.0", "description": "MCP server for Brave Search. Uses the Brave Search API to return results from the web, including ranked links, images, and videos, as well as AI summaries of pages, rich results, and more.", "keywords": [ "api",