Skip to content

Commit ff2d6a0

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2026/08/11
1 parent 634d664 commit ff2d6a0

15 files changed

Lines changed: 1169 additions & 0 deletions
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"desc": "List third-party app MCP servers approved for an organization, derived from the org's MCP server allowlist. Entries reflect allowlist state, not install/scope liveness: servers of apps that are uninstalled (but not deleted) are still listed.",
3+
"http_method": "POST",
4+
"scope": {
5+
"user": [
6+
"admin.apps:read"
7+
]
8+
},
9+
"rate_limits": "t3",
10+
"json_input_supported": true,
11+
"args": {
12+
"type": "object",
13+
"required": [
14+
"token"
15+
],
16+
"properties": {
17+
"token": {
18+
"type": "string",
19+
"subtype": "auth",
20+
"desc": "Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.",
21+
"example": "xxxx-xxxxxxxxx-xxxx"
22+
},
23+
"limit": {
24+
"type": "integer",
25+
"desc": "The maximum number of items to return. Must be between 1 - 1000 both inclusive.",
26+
"default": 100,
27+
"minimum": 1,
28+
"maximum": 1000
29+
},
30+
"cursor": {
31+
"type": "string",
32+
"desc": "Set `cursor` to `next_cursor` returned by the previous call to list items in the next page",
33+
"example": "5c3e53d5"
34+
}
35+
}
36+
},
37+
"output": {
38+
"type": "object",
39+
"required": [
40+
"servers"
41+
],
42+
"properties": {
43+
"servers": {
44+
"type": "array",
45+
"maxItems": 1000,
46+
"items": {
47+
"type": "object",
48+
"required": [
49+
"server_id",
50+
"server_name",
51+
"url",
52+
"auth_type",
53+
"app_id",
54+
"app_name"
55+
],
56+
"properties": {
57+
"server_id": {
58+
"type": "string",
59+
"desc": "Encoded ID of the MCP server",
60+
"example": "Amcp0000000001"
61+
},
62+
"server_name": {
63+
"type": "string",
64+
"desc": "Name of the MCP server"
65+
},
66+
"url": {
67+
"type": "string",
68+
"desc": "The URL of the MCP server"
69+
},
70+
"auth_type": {
71+
"desc": "The authentication type for the MCP server",
72+
"schema": ""
73+
},
74+
"app_id": {
75+
"type": "string",
76+
"desc": "Encoded ID of the app that provides this MCP server",
77+
"example": "A0000000001"
78+
},
79+
"app_name": {
80+
"type": "string",
81+
"desc": "Name of the app that provides this MCP server"
82+
}
83+
}
84+
}
85+
},
86+
"response_metadata": {
87+
"type": "object",
88+
"required": [
89+
"next_cursor"
90+
],
91+
"properties": {
92+
"next_cursor": {
93+
"type": "string"
94+
}
95+
}
96+
}
97+
}
98+
},
99+
"errors": {
100+
"restricted_action": {
101+
"desc": "User does not have permission to perform this action."
102+
},
103+
"invalid_auth": {
104+
"desc": "Invalid authorization token"
105+
},
106+
"invalid_cursor": {
107+
"desc": "Value passed for `cursor` was not valid or is no longer valid."
108+
},
109+
"not_an_enterprise": {
110+
"desc": "This feature is only available on Enterprise Grid plans."
111+
},
112+
"internal_error": {
113+
"desc": "Internal error"
114+
},
115+
"feature_not_enabled": {
116+
"desc": "The MCP server admin API feature is not enabled for this team."
117+
}
118+
},
119+
"examples": {}
120+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"desc": "List MCP servers for an app with their access control permissions",
3+
"http_method": "POST",
4+
"scope": {
5+
"user": [
6+
"admin.apps:read"
7+
]
8+
},
9+
"rate_limits": "t3",
10+
"json_input_supported": true,
11+
"args": {
12+
"type": "object",
13+
"required": [
14+
"token",
15+
"app_id"
16+
],
17+
"properties": {
18+
"token": {
19+
"type": "string",
20+
"subtype": "auth",
21+
"desc": "Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.",
22+
"example": "xxxx-xxxxxxxxx-xxxx"
23+
},
24+
"app_id": {
25+
"type": "string",
26+
"desc": "Encoded ID of the app",
27+
"example": "A0000000001"
28+
}
29+
}
30+
},
31+
"output": {
32+
"type": "object",
33+
"required": [
34+
"servers"
35+
],
36+
"properties": {
37+
"servers": {
38+
"type": "array",
39+
"maxItems": 500,
40+
"items": {
41+
"schema": ""
42+
}
43+
}
44+
}
45+
},
46+
"errors": {
47+
"restricted_action": {
48+
"desc": "User does not have permission to perform this action."
49+
},
50+
"invalid_auth": {
51+
"desc": "Invalid authorization token"
52+
},
53+
"app_not_found": {
54+
"desc": "This app does not exist."
55+
},
56+
"not_an_enterprise": {
57+
"desc": "This feature is only available on Enterprise Grid plans."
58+
},
59+
"feature_not_enabled": {
60+
"desc": "The MCP server ACL feature is not enabled for this team."
61+
},
62+
"internal_error": {
63+
"desc": "An internal error occurred while resolving the app's approved domains or ACLs. Retry the request."
64+
}
65+
},
66+
"examples": {}
67+
}
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"desc": "Set the access control permission for who can use an MCP server",
3+
"http_method": "POST",
4+
"scope": {
5+
"user": [
6+
"admin.apps:write"
7+
]
8+
},
9+
"rate_limits": "t3",
10+
"json_input_supported": true,
11+
"args": {
12+
"type": "object",
13+
"required": [
14+
"token",
15+
"app_id",
16+
"server_id",
17+
"permission_type"
18+
],
19+
"properties": {
20+
"token": {
21+
"type": "string",
22+
"subtype": "auth",
23+
"desc": "Authentication token bearing required scopes. Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.",
24+
"example": "xxxx-xxxxxxxxx-xxxx"
25+
},
26+
"app_id": {
27+
"type": "string",
28+
"desc": "Encoded ID of the app",
29+
"example": "A0000000001"
30+
},
31+
"server_id": {
32+
"type": "string",
33+
"desc": "Encoded ID of the MCP server",
34+
"example": "Amcp0000000001"
35+
},
36+
"permission_type": {
37+
"desc": "The type of permission that defines who can use this MCP server",
38+
"type": "string",
39+
"enum": [
40+
"everyone",
41+
"no_one",
42+
"named_entities",
43+
"named_entities_exclude"
44+
]
45+
},
46+
"user_ids": {
47+
"type": "array",
48+
"desc": "List of user IDs to set for named_entities or named_entities_exclude",
49+
"example": "['U00000001', 'U00000002']",
50+
"items": {
51+
"schema": "user_id"
52+
},
53+
"maxItems": 200,
54+
"uniqueItems": true
55+
},
56+
"usergroup_ids": {
57+
"type": "array",
58+
"desc": "List of encoded usergroup IDs",
59+
"example": "S00000001,S00000002",
60+
"items": {
61+
"schema": "subteam_id"
62+
},
63+
"maxItems": 200,
64+
"uniqueItems": true
65+
}
66+
}
67+
},
68+
"output": {
69+
"schema": "mcp_server_acl"
70+
},
71+
"errors": {
72+
"restricted_action": {
73+
"desc": "User does not have permission to perform this action."
74+
},
75+
"invalid_auth": {
76+
"desc": "Invalid authorization token"
77+
},
78+
"app_not_found": {
79+
"desc": "This app does not exist."
80+
},
81+
"server_not_found": {
82+
"desc": "The specified MCP server does not exist for this app."
83+
},
84+
"not_an_enterprise": {
85+
"desc": "This feature is only available on Enterprise Grid plans."
86+
},
87+
"feature_not_enabled": {
88+
"desc": "The MCP server ACL feature is not enabled for this team."
89+
},
90+
"invalid_permission_type": {
91+
"desc": "The permission_type value is not valid."
92+
},
93+
"named_entities_cannot_be_empty": {
94+
"desc": "Must pass at least one valid named entity when permission_type is named_entities or named_entities_exclude."
95+
},
96+
"no_valid_named_entities": {
97+
"desc": "None of the provided named entities were valid."
98+
},
99+
"too_many_named_entities": {
100+
"desc": "Too many named entities provided."
101+
},
102+
"user_not_found": {
103+
"desc": "One or more user IDs are not valid."
104+
},
105+
"usergroup_not_found": {
106+
"desc": "One or more usergroup IDs are not valid."
107+
},
108+
"server_acl_type_broader_than_app": {
109+
"desc": "The chosen permission type is broader than the app-level ACL allows."
110+
},
111+
"server_acl_entities_not_in_scope": {
112+
"desc": "One or more entities in the server ACL are not in scope of the app-level ACL."
113+
}
114+
},
115+
"examples": {}
116+
}

0 commit comments

Comments
 (0)