http_mcp_headers

Extract HTTP MCP header secrets and render them as environment variables.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/maxfraieho/garden-seedling --skill http-mcp-headers-maxfraieho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http_mcp_headers
Source: https://github.com/maxfraieho/garden-seedling/tree/main/gh-aw/skills/http-mcp-headers
Command: npx skills add https://github.com/maxfraieho/garden-seedling --skill http-mcp-headers-maxfraieho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HTTP MCP header secret handling and passthrough for Copilot MCP configurations, ensuring secrets are safely extracted and applied to the proper execution context.

Core Features & Use Cases

  • Extracts secrets from HTTP MCP headers and prepares them for env passthrough in mcp-config.json.
  • Renders MCP headers with env variable references to avoid exposing raw secrets.
  • Supports multiple MCP tools and environments with consistent, secure secret management.
  • Use Case: Enable a Copilot workflow that queries a Datadog MCP server with headers containing secrets.

Quick Start

Configure a workflow that includes an HTTP MCP tool with secret headers and run it to generate the mcp-config.json.

Frequently Asked Questions about http_mcp_headers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely pass secrets through HTTP headers in MCP config files?

To pass secrets through HTTP MCP headers, extract them from the header values and render them as environment variable references in the mcp-config.json, preventing raw secrets from leaking into configuration files.

How does Copilot MCP handle environment variable passthrough for HTTP headers?

Copilot MCP handles HTTP header secrets by automatically extracting them, rendering the headers with environment variable references, and propagating them through the MCP config to the proper execution context.

Can I use HTTP MCP headers with secrets for a Datadog MCP server workflow?

Yes, you can configure a Copilot workflow that queries a Datadog MCP server using HTTP headers containing secrets, and the system will automatically extract and manage them securely.

What is the best way to prevent secrets from leaking into MCP configuration files?

The best way to prevent secret leaks in MCP configurations is to enforce secret extraction and environment passthrough, rendering HTTP headers with environment variable references instead of raw values.

Does this MCP header secret extraction work across multiple tools and environments?

Yes, the secure secret extraction and environment passthrough mechanism applies across multiple MCP tools and environments, ensuring consistent and secure secret management throughout Copilot-driven workflows.