Configure authentication

Choose between OAuth (recommended) and API token authentication to connect the Cloudbees CI MCP Router to Cloudbees CI. OAuth is recommended because each request carries the identity of the user or tool that made it, and the Cloudbees CI MCP Router holds only short-lived tokens scoped to the controllers it needs to reach.

1 minute read

The Cloudbees CI MCP Router supports two ways to authenticate to Cloudbees CI: OAuth and API token. OAuth is recommended because each request carries the identity of the user or tool that made it. The Cloudbees CI MCP Router stores only short-lived tokens scoped to the controllers it needs to access, rather than relying on a single shared token.

Choose the method that fits your environment: