Skip to content
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

Cannot find module @modelcontextprotocol/sdk/dist/cjs/server/mcp.js #82

Open
Luks3110 opened this issue Mar 12, 2025 · 2 comments
Open

Comments

@Luks3110
Copy link

npx @agentdeskai/browser-tools-mcp@1.2.0
node:internal/modules/cjs/loader:646
      throw e;
      ^

Error: Cannot find module '/.npm/_npx/dcd6f0de5842aab6/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:1261:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:1250:15)
    at resolveExports (node:internal/modules/cjs/loader:639:14)
    at Function._findPath (node:internal/modules/cjs/loader:728:31)
    at Function._resolveFilename (node:internal/modules/cjs/loader:1211:27)
    at Function._load (node:internal/modules/cjs/loader:1055:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16) {
  code: 'MODULE_NOT_FOUND',
  path: '/.npm/_npx/dcd6f0de5842aab6/node_modules/@modelcontextprotocol/sdk'
}

Node.js v22.14.0

@tedjames
Copy link
Contributor

hey! are you trying to run this from your terminal?

this command: npx @agentdeskai/browser-tools-mcp@1.2.0

is supposed to be put into your cursor mcp settings, not run in terminal if that's what you're trying to do

@cybermonkjbot
Copy link

Yes, true, but the reason cursur is unable to run it is because it is displaying that error. cursur would also try to run the command using cmd

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

No branches or pull requests

3 participants