🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl --request PUT \
--url https://api.portkey.ai/v1/mcp-integrations/{mcpIntegrationId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"configurations": {
"custom_headers": {
"Authorization": "Bearer some-token",
"x-foo": "bar"
},
"passthrough_header": {
"x-user-id": {
"type": "string",
"example": "abc123"
},
"x-request-id": {
"type": "string",
"example": "req-0001"
}
}
},
"url": "<string>",
"auth_type": "oauth_auto",
"transport": "http"
}
'{}curl --request PUT \
--url https://api.portkey.ai/v1/mcp-integrations/{mcpIntegrationId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"configurations": {
"custom_headers": {
"Authorization": "Bearer some-token",
"x-foo": "bar"
},
"passthrough_header": {
"x-user-id": {
"type": "string",
"example": "abc123"
},
"x-request-id": {
"type": "string",
"example": "req-0001"
}
}
},
"url": "<string>",
"auth_type": "oauth_auto",
"transport": "http"
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
MCP Integration ID (UUID) or slug
OK
The response is of type object.
Was this page helpful?