Skip to content

← All questions

sdods mcp --http exits immediately with HTTP mode needs a bearer token

Asked 6,740 views2 answers

Trying to reach the server from a container on the same box, so stdio is out.

bash
sdods mcp --http --port 4001
text
AUTH_FAILED  HTTP mode needs a bearer token.
  → Pass --token <secret> (dev) or set SDODS_MCP_TOKEN. Production deployments use scoped tokens
    from `sdods tokens create` via the web server.

Exit code 2. I did not expect auth on localhost. Is there a way to turn it off for a dev box?

asked by Nikhil Sane487 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related