exa-mcp-server icon indicating copy to clipboard operation
exa-mcp-server copied to clipboard

4 Claude: Workarround while Problems installing and using exa-mcp-server

Open gniiial opened this issue 11 months ago • 4 comments
trafficstars

If you may have trouble (WIN only):

Clone the repository: clone (I did it with the desktop app!) use the link to the reposity https://github.com/exa-labs/exa-mcp-server set YOUR personal path where to find it

open cmd as administrator cd PATH/TO/YOUR/git-clone/

Follow: Installation instructions

Install dependencies: npm install --save axios dotenv

Build the project: npm run build

Create a global link (this makes the server executable from anywhere): npm link

Create in a folder: C:\Users\YOUR-USERNAME\AppData\Roaming\npm\node_modules@modelcontextprotocol exa-server

in there create a folder: dist

NOW go into PATH/TO/YOUR/git-clone/build and copy: index.js types.js

paste into: C:\Users\YOUR-USERNAME\AppData\Roaming\npm\node_modules@modelcontextprotocol\exa-server\dist

NOW go into PATH/TO/YOUR/git-clone/ and copy:

node_modules (the whole folder) package.json README.md

paste into: C:\Users\YOUR-USERNAME\AppData\Roaming\npm\node_modules@modelcontextprotocol\exa-server

then open C:\Users\YOUR-USERNAME\AppData\Roaming\Claude open: claude_desktop_config.json

fill in the following lines: "exa-mcp-server": { "command": "node", "args": [ "C:/Users/YOUR-USERNAME/AppData/Roaming/npm/node_modules/@modelcontextprotocol/exa-server/dist/index.js" ], "env": { "YOUR-API-KEY" }

},

What did we do?! We not just copied and cloned something. We also seperated all necessary files and structured them FOR Claude in the order the other MCP's are arranged. Then we can match exactly the acctual workaround for using the MCP's.

I hope it helps.

gniiial avatar Dec 12 '24 12:12 gniiial

Thanks, it worked with a minor edit on args:

"args": ["C:\\Users\\YOUR-USERNAME\\AppData\\Roaming\\npm\\node_modules@modelcontextprotocol\\exa-server\\dist\\index.js"]

On Windows, since the file path is using backslash '\', so it needs to be escaped by adding another '\'.

tyu1996 avatar Dec 13 '24 03:12 tyu1996

i'd better try https://github.com/Tar-ive/exa-mcp-server/tree/main, and for windows, i added this

"env": {
        "EXA_API_KEY": "your apis"
      }

below args label

Yalums avatar Feb 18 '25 22:02 Yalums

Hey! The looks like it's resolved. Let me know if the issue still exists. Thanks

Feel-ix-343 avatar Mar 19 '25 09:03 Feel-ix-343

i believe this is solved

but still lets keep this issue open for other windows user to see and follow the steps if they encounter the same issue

theishangoswami avatar Mar 20 '25 12:03 theishangoswami