Skip to content

Commit 745797d

Browse files
committed
Add headers support to HTTP transport schema
Added optional 'headers' field to HTTP transport definition. Values support ${input:ID} placeholders for injecting user-provided values into request headers. Enables Bearer token auth and other header-based authentication patterns. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
1 parent 14c030a commit 745797d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

schemas/server-definition.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@
167167
"format": "uri",
168168
"description": "HTTP endpoint URL (supports Streamable HTTP)"
169169
},
170+
"headers": {
171+
"type": "object",
172+
"additionalProperties": { "type": "string" },
173+
"description": "HTTP headers to include with requests. Values support ${input:ID} placeholders for user-provided values."
174+
},
170175
"metadata": {
171176
"$ref": "#/$defs/metadata"
172177
}

0 commit comments

Comments
 (0)