Skip to main content
Solved

LeanIX MCP + Microsoft Copilot Studio

  • March 3, 2026
  • 10 replies
  • 628 views

Hi everyone,

I’m trying to connect the LeanIX MCP server to a Microsoft Copilot Studio agent using the MCP onboarding wizard, following the official docs:

However, I’m running into issues and would love to understand if anyone has successfully implemented this end-to-end with Microsoft Copilot Studio.

Has anyone successfully connected LeanIX MCP to Copilot Studio and run actual tool calls in an agent conversation? What endpoint format, transport type and auth setup did you use for LeanIX?

Any tips, configs, samples or pointers to working setups would be hugely appreciated 🙏

Best answer by Dan.Harrison

Hi ​@bakari . Found this topic and thought I would add what worked for me. Yes this was a slight pain to get right as there wasn’t a great deal of instruction on this specific use-case. You need to follow the MCP wizard in Copilot Studio to add the MCP server with the following options:

Click Create and then you will need to choose ‘Create new connection’
 

Then in the next box it’s important to add the API key in the following format:

Token <API Key>

Basically including the word Token in-front of the key that is generated from your technical user

10 replies

  • Rookie
  • March 3, 2026

Hi,

Ive just managed to connect copilot just now actually.

Happy to connect on this?

Cheers,

Neil


  • Author
  • March 4, 2026

Hi ​@neilcook, That’s great to hear - thanks for sharing!

If possible, could you point me to any configuration notes, or examples you followed to get it working? I’ve already gone through the official LeanIX and Copilot Studio documentation, but I’m still running into issues - so any practical insights or reference setups would be really helpful.

If you’re able to share details here, that would be great so others can benefit too. But feel free to send me a private message if you prefer. Thanks a lot!

 


shreenithnaik
Community Manager
Forum|alt.badge.img+1
  • Community Manager
  • March 5, 2026

Agree with ​@bakari (appreciate the thought).. if you could please share details (as much as you can at least) here, it would certainly benefits others trying to implement the same. ​@neilcook 


  • Rookie
  • March 15, 2026

Same request here … Share the details would benefit us as well greatly ​@neilcook 

Thank you


Forum|alt.badge.img
  • Rookie
  • Answer
  • March 18, 2026

Hi ​@bakari . Found this topic and thought I would add what worked for me. Yes this was a slight pain to get right as there wasn’t a great deal of instruction on this specific use-case. You need to follow the MCP wizard in Copilot Studio to add the MCP server with the following options:

Click Create and then you will need to choose ‘Create new connection’
 

Then in the next box it’s important to add the API key in the following format:

Token <API Key>

Basically including the word Token in-front of the key that is generated from your technical user


simonsztabholz
Forum|alt.badge.img
  • Royalty For Loyalty
  • April 9, 2026

Hello,

Our connexion with the MCP server is unstable in Copiliot, we need to come back on a regular basis to Copilot Studio to re-establish the connexion with the MCP server.

Are you facing the same issue ?

Thank you!

Kind regards,


Graham Howe
Forum|alt.badge.img
  • Royalty For Loyalty
  • April 10, 2026

I do have the MCP connection working in Copilot studio and have successfully published an agent so that others can use it. However, there does seem to be a problem with the API key approach. It seems that each user needs to provide this API key before the connection to MCP server is established. This is not practical, I certainly don’t want to share the API key, I don’t even want users of the Agent to have to establish the connection. I am going to continue to investigate to see what work arounds there may be, the responses from the agent are pretty impressive, so I certainly see a lot of value in getting this working.


  • Author
  • April 21, 2026

Hi ​@Graham Howe, Copilot Studio does support running this with a shared credential. The key is making sure the setting is applied in the right place.

Here’s exactly where to check it https://learn.microsoft.com/en-us/microsoft-copilot-studio/advanced-connectors#use-connectors-with-maker-provided-credentials :

  1. Go to your agent in Copilot Studio
  2. Open Tools and select your MCP connection
  3. Go to the Overview tab
  4. Scroll to Details → Additional details
  5. Set:
    • Ask the end user before running → No
    • Credentials to use → Maker-provided credentials
  6. Save and republish the agent

By default Copilot Studio uses end-user credentials, which is why you’re seeing the API key prompt in the first place. When you switch to maker-provided credentials, the agent should call the MCP server using your stored key, without asking users to authenticate.


  • Rookie
  • May 8, 2026

I tried both authentication methods, in my case with MCP Inspector. 

 

  1. Technical user: Using Bearer token from technical user in LeanIX in the header. Works, but I prefer to have the user context with OAuth.
  2. User based Outh: Just leaving the header empty. Using the right instance in the URL e.g., instead https://mcp.leanix.net/services/mcp-server/v1/mcphttps://de-1.leanix.net/services/mcp-server/v1/mcp. This skips the selection of the correct instance, even when LeanIX remembers your last selection users will not know what to enter.

geoffrey.lowney
Forum|alt.badge.img+2

I have successfully connected Copilot Studio to the MCP server using a technical user token. But I am unable to connect things up using OAuth2. I have tried both tps://mcp.leanix.net/services/mcp-server/v1/mcp!--scriptorendfragment--> (which prompts for our instance name) https://rei.leanix.net/services/mcp-server/v1/mcp. But both seem to be ignoring our Entra ID SSO configuration (with the result being an error saying the Shibboleth.sso configuration, which we no longer use, is disabled). Our SSO configuration is workspace-specific, but the MCP OAuth connection prompt is not allowing us to specify the workspace. Has anyone found a way to make this work (or does this require a bug report)?!--scriptorstartfragment-->