Creating a Connected App for MCP Access
Overview
This article shows you how to create a Connected App and get the Client id and Client secret values for the DevOps MCP (Model Context Protocol) server. AI assistants, such as ChatGPT and Claude, use these values to connect to the DevOps MCP server and work with your DevOps data.
One Connected App for All Users
Your tenant needs only one Connected App for MCP access, and every user connects through it. Each user signs in with their own Flosum user when they connect an AI assistant, so the assistant connects to DevOps as the user who signed in, not as the user who created the Connected App.
Create Connected App
Configure the Connected App
Click the Connected App you just created.

Click Edit.

Click the Authentication flows dropdown menu.
Check the Authorization code checkbox.
Check the Refresh token checkbox.
In the Refresh token lifetime fields, enter the lifetime to use for the token. See the hint below for more details.

Refresh Token Lifetime
The Refresh token lifetime sets how long users stay connected. It counts from when a user signs in, not from when they last used their AI assistant. For example, with a lifetime of 30 days, users sign in again every 30 days, even if they use their AI assistant every day.
Flosum recommends 30 days. If your security policy requires it, you can set a shorter lifetime. The value must be between 5 minutes and 365 days.
Leave Access token lifetime at 5 minutes. When the access token expires, the connection uses the refresh token to get a new one without asking the user to sign in again.
Callback URLs
Leave Allowed callback URLs empty for now. Each AI provider supplies its own callback URL, and a SystemAdministrator adds it with ADD URL when that provider is connected. One Connected App can hold the callback URLs for several AI providers. The following articles include this step.
Click Save.

Copy Client ID and Client Secret
You enter the Client id and Client secret when you connect an AI assistant to the DevOps MCP server. You can copy these values from your Connected App.
Click the Client id field to copy this value.
Save the copied value.
Click the Client secret field to copy this value.
Save the copied value.

Last updated
Was this helpful?



