Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Fix npx executable resolution by renaming hidden .smithery/ to smithery/

Summary

Fixes #107. npx -y exa-mcp-server fails because npm cannot create symlinks in node_modules/.bin/ when the bin target path is inside a dot-prefixed (hidden) directory (.smithery/).

This PR renames all references from .smithery/smithery/ across the repo. The change is purely a directory rename — no logic, build, or runtime behavior changes.

Files changed: package.json, package-lock.json, Dockerfile, tsconfig.json, .gitignore, .vercelignore

Review & Testing Checklist for Human

  • Verify npx resolution works after publish: Build passes locally, but the actual fix can only be fully confirmed after an npm publish. Consider running npm pack and testing the tarball with npx to simulate.
  • Dockerfile ENTRYPOINT path: The existing ENTRYPOINT ["node", "smithery/index.cjs"] uses smithery/index.cjs (no subdirectory), while build outputs go to smithery/stdio/index.cjs and smithery/shttp/index.cjs. This is a pre-existing issue not introduced by this PR — just preserved as-is.
  • No missed references: Grep the repo for any remaining .smithery references that may have been missed.

Notes

…hery/ directory

npx fails to resolve the executable because npm cannot create symlinks
to files in dot-prefixed (hidden) directories. Renaming .smithery/ to
smithery/ fixes the bin resolution for npx -y exa-mcp-server.

Fixes #107

Co-Authored-By: unknown <>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
exa-mcp-server Ready Ready Preview, Comment Feb 6, 2026 3:24pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

npx fails to resolve executable due to hidden directory in bin field (.smithery/stdio/index.cjs)

0 participants