Hosted OAuth
Use the hosted endpoint when the client supports remote MCP OAuth:.qwen/settings.json for one project or ~/.qwen/settings.json for all projects.
/mcp auth in Qwen Code if the server needs authentication.
Local stdio
Install the local package once:.qwen/settings.json or ~/.qwen/settings.json.
Private HTTP
Start a local HTTP MCP server:http://127.0.0.1:8765/mcp as the client URL.