http_mcp_headers
SKILL.md
HTTP MCP Header Secret Support - Implementation Summary
This document demonstrates the complete implementation of HTTP MCP header secret support for the copilot engine.
Problem Statement
When using HTTP MCP tools with headers containing GitHub Actions secrets, the generated mcp-config.json needs to:
- Extract secrets from headers (e.g.,
${{ secrets.DD_API_KEY }}) - Declare those env variables in the execution step
- Configure the MCP config's "env" section to passthrough those variables
- Use the passed variables in the headers section