@modelcontextprotocol/server-brave-search 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,11 +38,16 @@ Add this to your `claude_desktop_config.json`:
38
38
 
39
39
  ```json
40
40
  {
41
- "brave-search": {
42
- "command": "npx",
43
- "args": ["-y", "@modelcontextprotocol/server-brave-search"],
44
- "env": {
45
- "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
41
+ "mcpServers": {
42
+ "brave-search": {
43
+ "command": "npx",
44
+ "args": [
45
+ "-y",
46
+ "@modelcontextprotocol/server-brave-search"
47
+ ],
48
+ "env": {
49
+ "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
50
+ }
46
51
  }
47
52
  }
48
53
  }
package/dist/index.js CHANGED
@@ -2,7 +2,6 @@
2
2
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
5
- import fetch from "node-fetch";
6
5
  const WEB_SEARCH_TOOL = {
7
6
  name: "brave_web_search",
8
7
  description: "Performs a web search using the Brave Search API, ideal for general queries, news, articles, and online content. " +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelcontextprotocol/server-brave-search",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "MCP server for Brave Search API integration",
5
5
  "license": "MIT",
6
6
  "author": "Anthropic, PBC (https://anthropic.com)",
@@ -19,8 +19,7 @@
19
19
  "watch": "tsc --watch"
20
20
  },
21
21
  "dependencies": {
22
- "@modelcontextprotocol/sdk": "0.5.0",
23
- "node-fetch": "^3.3.2"
22
+ "@modelcontextprotocol/sdk": "1.0.1"
24
23
  },
25
24
  "devDependencies": {
26
25
  "@types/node": "^20.10.0",