web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Copilot Studio
Suggested Answer

Connectors issue

(0) ShareShare
ReportReport
Posted on by 2
Hi Folks,
 

 I am developing an agent and have these two MCP details, but my connectors cannot connect to them and return 500 errors along with many other issues. Could someone please assist? 
For your information, the credentials have been changed for security reasons. The main objective is to create two connectors that can retrieve the tools list and handle user queries, providing responses with the data so that business users can also understand what is happening. 
 
{
 "servers": {
  "SOC-MCP-Gateway": {
   "url": "https://regasn-iad1sa0.api.sacs.splunk.com/system/mcp-gateway/v1/",
   "type": "http",
   "headers": {
    "X-SF-REALM": "usdsds",
    "X-SF-TOKEN": "20sdsdskzUsVXQ"
   }
  },
  "SE-PROD-MCP": {
   "command": "npx",
    "args": [ 
     "-y",
     "mcp-remote",
     "https://splunk-search-rest.sass.glbas.prod.rsatg.aaswsspgi/services/mcp",
     "--header",
     "Authorization: Bearer cd2JdZQgDd0QF7gPkB9TxbZNjtu/tqxA0JMPzs4biJ+9IrKK+5E4Wy4Z86dO91NpI5usdsdsdsdsdNnVtZOQ0Fw03iMLATpPsdsdsdsd"
    ]
 }
}
}
  
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,749 on at
    A 500 Internal Server Error typically indicates that the request reached the MCP server, but the server failed to process it. Based on your configuration, the issue is more likely related to the MCP server, gateway, or authentication than Copilot Studio.
    Key points to check:
    • Test the MCP endpoint using Postman or curl to confirm whether the issue exists outside Copilot Studio.
    • Verify all required authentication headers (Authorization, X-SF-TOKEN, X-SF-REALM) are correct and valid.
    • Ensure the MCP server exposes a standard HTTP(S) endpoint. Copilot Studio does not support npx mcp-remote or other local command-based MCP clients.
    • Confirm the MCP server correctly implements tool discovery and tool execution endpoints.
    • Review the MCP server/gateway logs for the root cause of the HTTP 500 error.
    • Check for firewall, proxy, TLS, or network restrictions that could affect connectivity.
    If the HTTP endpoint still returns a 500 after these checks, the issue is most likely on the MCP server side and should be investigated by the server owner using the server logs and request details.
  • Tulsiram Methre Profile Picture
    2 on at

    Hi Manish,

     

    Thank you for the detailed response. Your guidance helped me separate the Copilot Studio connector issue from the MCP server and transport configuration.

    I have now successfully connected the SOC MCP Gateway to Copilot Studio using the native Model Context Protocol option.

    The SOC endpoint is working as a Streamable HTTP MCP server, and Copilot Studio is now dynamically discovering the individual o11y_* tools. The tools can be enabled individually and are no longer displayed as one generic connector action.

    The working connector configuration uses:


    • Streamable HTTP transport
      A single POST operation
      x-ms-agentic-protocol: mcp-streamable-1.0
      X-SF-REALM
      X-SF-TOKEN
      Content-Type: application/json
      Accept: application/json, text/event-stream

    •  

    One important point I found was that the MCP connector definition should not explicitly add a request body. Copilot Studio/Power Platform generates its own MCP request body internally. Adding another in: body parameter caused the OpenAPI validation error: “Operation can have only one body parameter.”

    The SOC MCP tools are now visible and working. The Resources (Preview) section still shows “No resources available / Connector request failed,” but the server appears to expose MCP tools rather than a resource catalogue, so that seems separate from tool discovery and execution.

    My remaining issue is with the SE MCP server. The configuration supplied to me currently uses:

    npx
    mcp-remote
    <SE MCP endpoint>
    Authorization: Bearer <token>

    Based on your response, I understand that Copilot Studio cannot execute npx mcp-remote, because that is a local command-based client configuration.

    Could you please advise on the following?


    1. If the underlying SE /services/mcp endpoint already implements native Streamable HTTP, can I connect Copilot Studio directly to that URL and remove npx and mcp-remote?
    2. Can the Copilot Studio MCP onboarding wizard use an API key configured with the header name Authorization, where the connection value is entered as Bearer <token>?
    3. If Copilot Studio’s API-key connection does not preserve the Bearer prefix correctly, should this be handled using a custom MCP connector or a request-header policy?
    4. If the SE endpoint depends on mcp-remote for protocol translation, does that mean we need to deploy an externally reachable Streamable HTTP MCP proxy or gateway in front of it?
    5. What is the best way to verify whether the SE endpoint itself supports Streamable HTTP—should a JSON-RPC initialize POST request directly to the endpoint return the MCP server capabilities?

    6.  

    The SOC portion is resolved. I am mainly trying to determine whether the SE endpoint is already directly compatible with Copilot Studio or whether mcp-remote is currently providing a required transport/protocol bridge.

     

    Thanks again for pointing me in the right direction.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 160 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 145

#3
Haque Profile Picture

Haque 121

Last 30 days Overall leaderboard