Skip to content

Commit a9dff02

Browse files
author
Lasim
committed
feat(backend): add total MCP server installation limit per team
1 parent 2344764 commit a9dff02

File tree

14 files changed

+5450
-22
lines changed

14 files changed

+5450
-22
lines changed

services/backend/api-spec.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30597,6 +30597,10 @@
3059730597
"type": "integer",
3059830598
"description": "Non-HTTP MCP server limit"
3059930599
},
30600+
"mcp_server_limit": {
30601+
"type": "integer",
30602+
"description": "Total MCP server limit"
30603+
},
3060030604
"created_at": {
3060130605
"type": "string",
3060230606
"description": "ISO8601 timestamp"
@@ -30613,6 +30617,7 @@
3061330617
"owner_id",
3061430618
"is_default",
3061530619
"non_http_mcp_limit",
30620+
"mcp_server_limit",
3061630621
"created_at",
3061730622
"updated_at"
3061830623
]
@@ -30780,6 +30785,10 @@
3078030785
"type": "integer",
3078130786
"description": "Non-HTTP MCP server limit"
3078230787
},
30788+
"mcp_server_limit": {
30789+
"type": "integer",
30790+
"description": "Total MCP server limit"
30791+
},
3078330792
"created_at": {
3078430793
"type": "string",
3078530794
"description": "ISO8601 timestamp"
@@ -30796,6 +30805,7 @@
3079630805
"owner_id",
3079730806
"is_default",
3079830807
"non_http_mcp_limit",
30808+
"mcp_server_limit",
3079930809
"created_at",
3080030810
"updated_at"
3080130811
]
@@ -30945,6 +30955,11 @@
3094530955
"type": "integer",
3094630956
"minimum": 0,
3094730957
"description": "Maximum number of non-HTTP (stdio) MCP servers the team can install"
30958+
},
30959+
"mcp_server_limit": {
30960+
"type": "integer",
30961+
"minimum": 0,
30962+
"description": "Maximum total number of MCP servers the team can install (all transport types)"
3094830963
}
3094930964
},
3095030965
"additionalProperties": false
@@ -31016,6 +31031,10 @@
3101631031
"type": "integer",
3101731032
"description": "Non-HTTP MCP server limit"
3101831033
},
31034+
"mcp_server_limit": {
31035+
"type": "integer",
31036+
"description": "Total MCP server limit"
31037+
},
3101931038
"created_at": {
3102031039
"type": "string",
3102131040
"description": "ISO8601 timestamp"
@@ -31032,6 +31051,7 @@
3103231051
"owner_id",
3103331052
"is_default",
3103431053
"non_http_mcp_limit",
31054+
"mcp_server_limit",
3103531055
"created_at",
3103631056
"updated_at"
3103731057
]

services/backend/api-spec.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21668,6 +21668,9 @@ paths:
2166821668
non_http_mcp_limit:
2166921669
type: integer
2167021670
description: Non-HTTP MCP server limit
21671+
mcp_server_limit:
21672+
type: integer
21673+
description: Total MCP server limit
2167121674
created_at:
2167221675
type: string
2167321676
description: ISO8601 timestamp
@@ -21681,6 +21684,7 @@ paths:
2168121684
- owner_id
2168221685
- is_default
2168321686
- non_http_mcp_limit
21687+
- mcp_server_limit
2168421688
- created_at
2168521689
- updated_at
2168621690
required:
@@ -21795,6 +21799,9 @@ paths:
2179521799
non_http_mcp_limit:
2179621800
type: integer
2179721801
description: Non-HTTP MCP server limit
21802+
mcp_server_limit:
21803+
type: integer
21804+
description: Total MCP server limit
2179821805
created_at:
2179921806
type: string
2180021807
description: ISO8601 timestamp
@@ -21808,6 +21815,7 @@ paths:
2180821815
- owner_id
2180921816
- is_default
2181021817
- non_http_mcp_limit
21818+
- mcp_server_limit
2181121819
- created_at
2181221820
- updated_at
2181321821
required:
@@ -21913,6 +21921,11 @@ paths:
2191321921
type: integer
2191421922
minimum: 0
2191521923
description: Maximum number of non-HTTP (stdio) MCP servers the team can install
21924+
mcp_server_limit:
21925+
type: integer
21926+
minimum: 0
21927+
description: Maximum total number of MCP servers the team can install (all
21928+
transport types)
2191621929
additionalProperties: false
2191721930
parameters:
2191821931
- schema:
@@ -21962,6 +21975,9 @@ paths:
2196221975
non_http_mcp_limit:
2196321976
type: integer
2196421977
description: Non-HTTP MCP server limit
21978+
mcp_server_limit:
21979+
type: integer
21980+
description: Total MCP server limit
2196521981
created_at:
2196621982
type: string
2196721983
description: ISO8601 timestamp
@@ -21975,6 +21991,7 @@ paths:
2197521991
- owner_id
2197621992
- is_default
2197721993
- non_http_mcp_limit
21994+
- mcp_server_limit
2197821995
- created_at
2197921996
- updated_at
2198021997
required:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "teams" ADD COLUMN "mcp_server_limit" integer DEFAULT 5 NOT NULL;

0 commit comments

Comments
 (0)