Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69ace9d

Browse files
committed
feat(all): add per-team remote MCP server permission - global setting
1 parent 1c70523 commit 69ace9d

File tree

16 files changed

+6288
-2
lines changed

16 files changed

+6288
-2
lines changed

services/backend/api-spec.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33933,6 +33933,10 @@
3393333933
"type": "integer",
3393433934
"description": "Team member limit"
3393533935
},
33936+
"allow_remote_mcp": {
33937+
"type": "boolean",
33938+
"description": "Allow remote MCP servers"
33939+
},
3393633940
"created_at": {
3393733941
"type": "string",
3393833942
"description": "ISO8601 timestamp"
@@ -33951,6 +33955,7 @@
3395133955
"non_http_mcp_limit",
3395233956
"mcp_server_limit",
3395333957
"member_limit",
33958+
"allow_remote_mcp",
3395433959
"created_at",
3395533960
"updated_at"
3395633961
]
@@ -34126,6 +34131,10 @@
3412634131
"type": "integer",
3412734132
"description": "Team member limit"
3412834133
},
34134+
"allow_remote_mcp": {
34135+
"type": "boolean",
34136+
"description": "Allow remote MCP servers"
34137+
},
3412934138
"created_at": {
3413034139
"type": "string",
3413134140
"description": "ISO8601 timestamp"
@@ -34144,6 +34153,7 @@
3414434153
"non_http_mcp_limit",
3414534154
"mcp_server_limit",
3414634155
"member_limit",
34156+
"allow_remote_mcp",
3414734157
"created_at",
3414834158
"updated_at"
3414934159
]
@@ -34303,6 +34313,10 @@
3430334313
"type": "integer",
3430434314
"minimum": 1,
3430534315
"description": "Maximum number of members allowed in this team"
34316+
},
34317+
"allow_remote_mcp": {
34318+
"type": "boolean",
34319+
"description": "Allow team to install MCP servers from remote sources not in the catalog"
3430634320
}
3430734321
},
3430834322
"additionalProperties": false
@@ -34382,6 +34396,10 @@
3438234396
"type": "integer",
3438334397
"description": "Team member limit"
3438434398
},
34399+
"allow_remote_mcp": {
34400+
"type": "boolean",
34401+
"description": "Allow remote MCP servers"
34402+
},
3438534403
"created_at": {
3438634404
"type": "string",
3438734405
"description": "ISO8601 timestamp"
@@ -34400,6 +34418,7 @@
3440034418
"non_http_mcp_limit",
3440134419
"mcp_server_limit",
3440234420
"member_limit",
34421+
"allow_remote_mcp",
3440334422
"created_at",
3440434423
"updated_at"
3440534424
]

services/backend/api-spec.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24010,6 +24010,9 @@ paths:
2401024010
member_limit:
2401124011
type: integer
2401224012
description: Team member limit
24013+
allow_remote_mcp:
24014+
type: boolean
24015+
description: Allow remote MCP servers
2401324016
created_at:
2401424017
type: string
2401524018
description: ISO8601 timestamp
@@ -24025,6 +24028,7 @@ paths:
2402524028
- non_http_mcp_limit
2402624029
- mcp_server_limit
2402724030
- member_limit
24031+
- allow_remote_mcp
2402824032
- created_at
2402924033
- updated_at
2403024034
required:
@@ -24145,6 +24149,9 @@ paths:
2414524149
member_limit:
2414624150
type: integer
2414724151
description: Team member limit
24152+
allow_remote_mcp:
24153+
type: boolean
24154+
description: Allow remote MCP servers
2414824155
created_at:
2414924156
type: string
2415024157
description: ISO8601 timestamp
@@ -24160,6 +24167,7 @@ paths:
2416024167
- non_http_mcp_limit
2416124168
- mcp_server_limit
2416224169
- member_limit
24170+
- allow_remote_mcp
2416324171
- created_at
2416424172
- updated_at
2416524173
required:
@@ -24274,6 +24282,10 @@ paths:
2427424282
type: integer
2427524283
minimum: 1
2427624284
description: Maximum number of members allowed in this team
24285+
allow_remote_mcp:
24286+
type: boolean
24287+
description: Allow team to install MCP servers from remote sources not in the
24288+
catalog
2427724289
additionalProperties: false
2427824290
parameters:
2427924291
- schema:
@@ -24329,6 +24341,9 @@ paths:
2432924341
member_limit:
2433024342
type: integer
2433124343
description: Team member limit
24344+
allow_remote_mcp:
24345+
type: boolean
24346+
description: Allow remote MCP servers
2433224347
created_at:
2433324348
type: string
2433424349
description: ISO8601 timestamp
@@ -24344,6 +24359,7 @@ paths:
2434424359
- non_http_mcp_limit
2434524360
- mcp_server_limit
2434624361
- member_limit
24362+
- allow_remote_mcp
2434724363
- created_at
2434824364
- updated_at
2434924365
required:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "teams" ADD COLUMN "allow_remote_mcp" boolean DEFAULT false NOT NULL;

0 commit comments

Comments
 (0)