Hosted OAuth
Use the hosted endpoint when the client supports remote MCP OAuth:/mcp in Claude Code if the server is listed as requiring authentication.
Local stdio
Install the local package once:Private HTTP
Start a local HTTP MCP server:http://127.0.0.1:8765/mcp as the client URL.