-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brave Search unable to be attached #63
Comments
getting same issues on windows 11/10. logs: |
I suspect that this is fixed by the https://github.com/modelcontextprotocol/inspector/releases/tag/0.2.3 release |
{ ERROR: You must supply a command. Execute binaries from npm packages. npx [options] [@Version] [command-arg]... npx [options] [-p|--package ]... [command-arg]... npx [options] -c '' npx --shell-auto-fallback [shell] Options: For the full documentation, see the manual page for npx(1). |
@dsp-ant I'm unsure, the merge has not been officialy released, at least I'm unable to upgrade either python or uv package at the moment |
https://www.npmjs.com/package/@modelcontextprotocol/inspector has been released. That being said, we have seen a few people having issues with npx on windows. One way to work around this is : # in the servers repo
npm install
npm run build {
"mcpServers": {
"brave-search": {
"command": "node",
"args": ["path/to/servers/src/brave-search/dist/index.js"],
"env": {
"BRAVE_KEY": "..."
}
}
}
} |
I have tried this method as you mentioned. Still unable to attach Brave Search MCP to Claude, this is the config file:
|
I'm seeing this issue as well but on mac os. |
I am having the same issue in Mac Sonoma 14.6.1. |
I successfully set up the Brave Search MCP server for Claude Desktop using the following steps:
|
@alexwhecht you saved my life :) two key points trying this method:
|
I'm running on Windows 10
This is my JSON config:
{ "mcpServers": { "brave-search": { "command": "npx", "args": [ "@modelcontextprotocol/server-brave-search" ], "env": { "BRAVE_API_KEY": "MY_KEY" } }, } }
This is the output from inspector:
An error occurred: [ { command: Command { killProcess: [Function (anonymous)], spawn: [Function: spawn], spawnOpts: [Object], index: 0, name: 'server', command: 'PORT= node C:\\Users\\{USER}\\AppData\\Local\\npm-cache\\_npx\\5a9d879542beca3a\\node_modules\\@modelcontextprotocol\\inspector\\server\\build\\index.js --env npx --args="-y @modelcontextprotocol/server-brave-search"', prefixColor: '', env: {}, cwd: '', ipc: undefined, close: [Subject], error: [Subject], stdout: [Subject], stderr: [Subject], timer: [Subject], messages: [Object], process: undefined, subscriptions: [], stdin: [Socket], pid: 6836, killed: false, exited: false, state: 'exited' }, index: 0, exitCode: 1, killed: false, timings: { startDate: 2024-11-26T17:55:34.422Z, endDate: 2024-11-26T17:55:34.435Z, durationSeconds: 0.0132205 } }, { command: Command { killProcess: [Function (anonymous)], spawn: [Function: spawn], spawnOpts: [Object], index: 1, name: 'client', command: 'PORT= node C:\\Users\\{USER}\\AppData\\Local\\npm-cache\\_npx\\5a9d879542beca3a\\node_modules\\@modelcontextprotocol\\inspector\\client\\bin\\cli.js', prefixColor: '', env: {}, cwd: '', ipc: undefined, close: [Subject], error: [Subject], stdout: [Subject], stderr: [Subject], timer: [Subject], messages: [Object], process: undefined, subscriptions: [], stdin: [Socket], pid: 26384, killed: true, exited: false, state: 'exited' }, index: 1, exitCode: 1, killed: true, timings: { startDate: 2024-11-26T17:55:34.435Z, endDate: 2024-11-26T17:55:34.447Z, durationSeconds: 0.0126171 } } ]
The text was updated successfully, but these errors were encountered: