@@ -171,7 +171,7 @@ const UpsertAppConnectionRequest = {
171171
172172const PatchAppConnectionRequest = {
173173 config : {
174- allowedPrincipals : [ PrincipalType . USER ] ,
174+ allowedPrincipals : [ PrincipalType . USER , PrincipalType . MCP ] ,
175175 permission : Permission . WRITE_APP_CONNECTION ,
176176 } ,
177177 schema : {
@@ -189,7 +189,11 @@ const PatchAppConnectionRequest = {
189189
190190const ListAppConnectionsRequest = {
191191 config : {
192- allowedPrincipals : [ PrincipalType . USER , PrincipalType . SERVICE ] ,
192+ allowedPrincipals : [
193+ PrincipalType . MCP ,
194+ PrincipalType . USER ,
195+ PrincipalType . SERVICE ,
196+ ] ,
193197 permission : Permission . READ_APP_CONNECTION ,
194198 } ,
195199 schema : {
@@ -226,7 +230,7 @@ const DeleteAppConnectionRequest = {
226230
227231const GetAppConnectionRequest = {
228232 config : {
229- allowedPrincipals : [ PrincipalType . USER ] ,
233+ allowedPrincipals : [ PrincipalType . USER , PrincipalType . MCP ] ,
230234 permission : Permission . READ_APP_CONNECTION ,
231235 } ,
232236 schema : {
@@ -253,7 +257,7 @@ const GetAppConnectionRequest = {
253257
254258const GetConnectionMetadataRequest = {
255259 config : {
256- allowedPrincipals : [ PrincipalType . USER ] ,
260+ allowedPrincipals : [ PrincipalType . USER , PrincipalType . MCP ] ,
257261 permission : Permission . READ_APP_CONNECTION ,
258262 } ,
259263 schema : {
0 commit comments