How do I connect Claude Code with an API key instead of browser sign-in?
Add the key as a header to the first command:
claude mcp add --transport http talewright https://app.usetalewright.com/mcp \
--header "Authorization: Bearer $TALEWRIGHT_API_KEY"
More: MCP, Client setup