Authentication as MCP Server in Visual Studio Code not working
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 132
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 6
Description
I would like to use WorkIQ a MCP Server in Visual Studio Code, there authentication process is not well documented, following my issue:
-
I have added the following MCP Config:
{
"workiq": {
"command": "npx",
"args": ["-y", "@microsoft/workiq@latest", "mcp"],
"tools": ["*"]
}
} -
The MCP server is recognized, when I ask something like "What are my upcoming meetings this week?", i get the error
{"response":null,"conversationId":null,"error":"Authentication failed. Please re-authenticate by running \u0027workiq ask\u0027 interactively."} -
So I have installed work-iq globally with the command:
npm install -g @microsoft/workiq -
I have launched it with the command
workiq ask -
If I ask a question like "What are my upcoming meetings this week?", it works but each time multiple popup are open asking for account selection
-
When I return on Visual Studio code, although I did what asked it continues to not work with the same error
It's not clear from the documentation how the authentication process for the MCP server should occur and how it is persisted, even in the interactive mode since the account selection is asked multiple time for each run. Could someone clarify?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MCP configuration and the interactive workiq ask entry point, then trace how authentication is launched and persisted when WorkIQ runs from Visual Studio Code versus the global npm installation. Done means the documented authentication flow works for the MCP server without repeated account prompts or authentication failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, powershell, vscode
- Domain
- api, authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100