Thanks this finally worked for me. I was also having issues with Brave Search but got that fixed by adding the API key to the Brave Search file.
Sequential Thinking Server Setup
- Install the package globally:
Copy
npm install -g @modelcontextprotocol/server-sequential-thinking
- In Cursor’s MCP configuration, use this command:
Copy
node C:/Users/[YourUsername]/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-sequential-thinking/dist/index.js
(Replace [YourUsername] with your Windows username)
Brave Search Server Setup
- Install the package globally:
Copy
npm install -g @modelcontextprotocol/server-brave-search
- You’ll need to modify the server’s index.js file to include your API key:
- Open this file in a text editor:
Copy
C:/Users/[YourUsername]/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-brave-search/dist/index.js
- Add this line before the
const BRAVE_API_KEY
declaration:
javascript
Copy
process.env.BRAVE_API_KEY = 'YOUR_API_KEY_HERE';
- In Cursor’s MCP configuration, use this command:
Copy
node C:/Users/[YourUsername]/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-brave-search/dist/index.js
Important Notes:
- Use forward slashes (/) in paths instead of backslashes
- Don’t use quotes around the paths
- Avoid spaces in paths
- If you see flashing terminals, it usually means the server is crashing - check for missing environment variables or incorrect paths
This workaround is particularly useful since Cursor currently has issues handling environment variables through its UI.