Skip to content

Claude Desktop unable to launch MCP server #42

Open
@Will956

Description

@Will956

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Hello,

I tried to set up the server and use it with Claude Desktop App, but Claude doesn't succeed in launching the server. Here are the logs

2025-05-06T12:03:13.117Z [auth0] [info] Initializing server...
2025-05-06T12:03:13.132Z [auth0] [info] Server started and connected successfully
2025-05-06T12:03:13.133Z [auth0] [info] Message from client: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0}
npx: installed 4 in 1.132s
Unexpected token '('
2025-05-06T12:03:16.879Z [auth0] [info] Server transport closed
2025-05-06T12:03:16.879Z [auth0] [info] Client transport closed
2025-05-06T12:03:16.880Z [auth0] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-05-06T12:03:16.880Z [auth0] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}
2025-05-06T12:03:16.880Z [auth0] [info] Client transport closed

It looks like the npx: installed 4 in 1.132s line breaks it.

When I run npx @auth0/auth0-mcp-server run --tools '*' separately, there is no issue since the npx installation line is not present.

Thanks for you help 🙌

Reproduction

  1. Run npx @auth0/auth0-mcp-server init
  2. Re-launch Claude
  3. Not working

Additional context

No response

auth0-mcp-server version

0.1.0-beta.2

Node.js version

22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions