﻿---
title: "MCP 动态 HTTP 头"
filename: "~/.codex/config.toml"
canonical: /templates/http-headers-helper/
---

# MCP 动态 HTTP 头

本机 HTTP 才支持。命令打印 JSON 头。不要把令牌写进仓库。

```
[mcp_servers.docs]
url = "https://mcp.example.com/mcp"
http_headers_helper = "python3 /home/you/.codex/mcp-headers.py"

```
