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 :
Power Platform Community / Forums / Copilot Studio / Unable to add Alpha Va...
Copilot Studio
Suggested Answer

Unable to add Alpha Vantage MCP Remote Server as Agent Tool

(0) ShareShare
ReportReport
Posted on by
I'm trying to add the Alpha Vantage MCP server as a tool in Copilot Studio. However, the default configuration throws a jsonrpc 2.0 "Unsupported Media Type" error when the connector attempts to fetch the tools.
 
 
This is the default YAML generated for the custom connector found in Power Apps:
 

swagger: '2.0'
info:
  title: Alpha Vantage 2
  description: >-
    Primary source for company fundamental analysis and financial statements.
    Use this server to pull income statements, balance sheets, and cash flow
    data. It can also be used to fetch basic real-time and historical stock
    market prices when needed.
  version: 1.0.0
host: mcp.alphavantage.co
basePath: /
schemes:
  - https
paths:
  /mcp:
    post:
      responses:
        '200':
          description: Immediate Response
      x-ms-agentic-protocol: mcp-streamable-1.0
      operationId: InvokeServer
      summary: Alpha Vantage 2
      description: >-
        Primary source for company fundamental analysis and financial
        statements. Use this server to pull income statements, balance sheets,
        and cash flow data. It can also be used to fetch basic real-time and
        historical stock market prices when needed.
securityDefinitions:
  api_key:
    type: apiKey
    in: query
    name: apikey
security:
  - api_key: []

 
This is the curl command that I ran in PowerShell that actually works.
 curl -H "Content-Type: application/json" --data-binary "@payload.json" "https://mcp.alphavantage.co/mcp?apikey=API_KEY"
I had to package the jsonrpc body in payload.json for this to work.
{"jsonrpc":"2.0","method":"tools/list","params":{},"id":1}
I have no idea why the MCP tool is failing, and I don't know how to configure the YAML to produce the working curl.
I have the same question (0)
  • Suggested answer
    Sayali Profile Picture
    Microsoft Employee on at
    Hello ,
    Your connector fails because it isn’t sending a JSON-RPC body or the Content-Type: application/json header. The MCP server requires both, so you must update the Swagger to include a request body schema and consumes: application/json—this makes Copilot send the correct payload (like your working curl), fixing the “Unsupported Media Type” error.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 671

#2
Vish WR Profile Picture

Vish WR 266

#3
Haque Profile Picture

Haque 265

Last 30 days Overall leaderboard