Abstract
Create custom headers and provide options for multiple server endpoints in your MCP integration.
There are two options for vendor specific customizations during integration development.
Custom headers
You can create custom HTTP headers for tool selection or configuration. To create custom HTTP headers, parse multiline header input using parse_custom_headers() and pass to the Client constructor.
Server selection dropdown
If you require multiple server endpoints such as production, staging, or regional, use a URL template with format() to construct the server URL based on the user’s selection. For an example, see Packs/CloudFlareMCP/Integrations/CloudFlareMCP.