Skip to content

Conversation

@babakamyljanovssw
Copy link
Member

@babakamyljanovssw babakamyljanovssw commented Jan 21, 2026

  1. AI Development - Prompt & Model (include prompts/models used or N/A)

✏️ Gemini 3 Flash

  1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

✏️ #624

  1. What was changed?

✏️ Removed old flow for MCP OAuth, and integrated with backend instead
✏️ Removed GitHub client id and secret from pipeline

  1. I paired or mob programmed with:

✏️ @Lewkans

@github-actions
Copy link
Contributor

github-actions bot commented Jan 21, 2026

PR Metrics

Thanks for keeping your pull request small.
⚠️ Consider adding additional tests.

Lines
Product Code 335
Test Code 2
Subtotal 337
Ignored Code 3
Total 340

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title WIP: Added MCP OAuth integration with backend XS⚠️ ◾ WIP: Added MCP OAuth integration with backend Jan 21, 2026
@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1768977061

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1768980014

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769045999

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769061131

@babakamyljanovssw babakamyljanovssw changed the title XS⚠️ ◾ WIP: Added MCP OAuth integration with backend XS⚠️ ◾ Added MCP OAuth integration with backend Jan 22, 2026
@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769064120

@github-actions github-actions bot changed the title XS⚠️ ◾ Added MCP OAuth integration with backend S⚠️ ◾ Added MCP OAuth integration with backend Jan 23, 2026
@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769150259

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769151406

@github-actions
Copy link
Contributor

Hi there!

This PR has been here a while.

Did you know you should avoid merge debt?

Please review and merge or close.

Thanks!

@github-actions github-actions bot added the Stale label Jan 25, 2026
@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769405173

): Promise<OAuthTokens> {
const start = Date.now();
console.log(`[McpOAuth] Polling for tokens for server ${serverId} (Timeout: ${timeoutMs}ms)`);
while (Date.now() - start < timeoutMs) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is blocking code ... i don't know if thats a good idea or if it's better to use something like setInterval

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, implemented more robust and efficient solution:

  1. Whenever token is saved in the safe storage, it sends an event about it
  2. Then here instead of polling tokens every second to check if it exists, we just wait for the event with the given timeout
  3. When event received, Promise resolves immediately


return (
<McpCard
isReadOnly
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this now using the oAuth and we do not need to specify the "catalog" ssw or ssw2 anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently DevOps using stdio transport protocol not remote http MCP server. OAuth is only for remote MCP servers. Just checked their docs, seems like they don't have support for remote http server yet.

https://github.com/microsoft/azure-devops-mcp?tab=readme-ov-file#steps

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed isReadOnly so users can edit DevOps Mcp Server

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769480172

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769567510

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769584918

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769586225

@github-actions
Copy link
Contributor

🚀 Pre-release build is available for this PR:
https://github.com/SSWConsulting/SSW.YakShaver.Desktop/releases/tag/0.6.0-beta.627.1769588735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants