feat(api): add MCP user-identity forwarding (#36839)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Charles Yao
2026-06-08 04:32:11 +00:00
committed by GitHub
co-authored by Claude Opus 4.8 autofix-ci[bot]
parent db1aa683bc
commit 37e1d452b8
21 changed files with 673 additions and 41 deletions
+10
View File
@@ -14907,6 +14907,14 @@ Icon information model.
| ---- | ---- | ----------- | -------- |
| IconType | string | | |
#### IdentityMode
How Dify forwards the end-user's identity to an MCP server.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
| IdentityMode | string | How Dify forwards the end-user's identity to an MCP server. | |
#### Import
| Name | Type | Description | Required |
@@ -15217,6 +15225,7 @@ Enum class for large language model mode.
| icon | string | | Yes |
| icon_background | string | | No |
| icon_type | string | | Yes |
| identity_mode | [IdentityMode](#identitymode) | | No |
| name | string | | Yes |
| server_identifier | string | | Yes |
| server_url | string | | Yes |
@@ -15237,6 +15246,7 @@ Enum class for large language model mode.
| icon | string | | Yes |
| icon_background | string | | No |
| icon_type | string | | Yes |
| identity_mode | [IdentityMode](#identitymode) | | No |
| name | string | | Yes |
| provider_id | string | | Yes |
| server_identifier | string | | Yes |