--client-id, --client-secret, and --callback-port.
PipesHub exposes discovery at /.well-known/oauth-protected-resource/mcp, so Claude Code auto-discovers the authorization and token endpoints.
Before you start, create an OAuth app in PipesHub and note your Client ID and Client Secret. See MCP Server Overview.
Add with CLI
--client-secret without a value prompts for masked input. To skip the prompt, set the MCP_CLIENT_SECRET environment variable:Add with JSON
Project-Scoped (.mcp.json)
Create a .mcp.json file in your project root. This can be committed to version control (secrets stay out via env vars):
The client secret is stored in the system keychain, not in config files. You’ll be prompted to enter it when you first authenticate via
/mcp.Authenticate
After adding the server, run/mcp inside Claude Code and follow the browser login flow. Tokens are stored securely and refreshed automatically.