
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: []
curl -H "Content-Type: application/json" --data-binary "@payload.json" "https://mcp.alphavantage.co/mcp?apikey=API_KEY"
{"jsonrpc":"2.0","method":"tools/list","params":{},"id":1}
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.