Open
Description
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
- Run
npx @auth0/auth0-mcp-server init
- Re-launch Claude
- Not working
Additional context
No response
auth0-mcp-server version
0.1.0-beta.2
Node.js version
22.14.0