MCP Endpoint
https://petstore.docoapi.com/mcp
// ~/.cursor/mcp.json
{
"mcpServers": {
"petstore": {
"url": "https://petstore.docoapi.com/mcp",
"headers": {
"api_key": "${env:PETSTORE_API_KEY}"
}
}
}
}Then set your API key:
export PETSTORE_API_KEY=your_api_key_here🔒Your API key is never sent to DocoAPI — it goes directly to the Swagger Petstore - OpenAPI 3.0 API servers.