PUT /integrations/slack/settings
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| PUT | /v1/integrations/slack/settings |
curl -X PUT "https://api.ellipsis.dev/v1/integrations/slack/settings" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mcp_inclusion":"..."}'import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.integrations.slack.update_settings(
"all_sessions",
)
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.integrations.slack.updateSettings(
{ mcp_inclusion: 'all_sessions' },
);
console.log(result);Request
Example request body
{
"mcp_inclusion": "all_sessions"
}
Body parameters
mcp_inclusionenumrequired
Per-integration policy for whether that integration's MCP server is added to an agent session. - ALL_SESSIONS: the MCP is added to every session (the historical behavior and the default, so this is a no-op for existing customers). - OPT_IN: the MCP is added only to sessions whose automation names this integration in its `mcp_servers`. A config that does not opt in simply runs without the MCP — the same as if the integration were disconnected.
one of
all_sessionsopt_inResponse
Example response · 200
{
"ok": true
}