Connect Slack to Microsoft Copilot as a Federated connector
November 30, 2026
You can add Slack to Microsoft Copilot as a custom Federated connector that points at Slack’s MCP server, https://mcp.slack.com/mcp. You create a Slack app, register its OAuth client in the Teams Developer Portal, and add the connector in the Microsoft 365 admin center. Each person signs in to Slack with their own account, so Copilot only sees what that person can see.
Slack doesn’t support Dynamic Client Registration, so this setup uses a manual OAuth 2.0 registration with a client ID and secret. For a connector that skips the registration step, see Atlassian in Microsoft Copilot with DCR.
The Slack steps come from my own testing. The admin center steps follow Set up custom federated connectors on Microsoft Learn. Field names in your tenant can differ, so check them against the screen.
How it works
- You register an OAuth client with Slack and with the Teams Developer Portal.
- You add the connector in the admin center with the registration ID.
- A user selects Sign in and approves access in Slack. Copilot stores and refreshes the token.
- Copilot calls the Slack tools at question time as that user. Nothing is indexed in Microsoft Graph.
Before you start
| You need | Notes |
|---|---|
| Slack app permissions | Permission to create an app in your Slack workspace |
| Slack app type | Only internal apps and apps published in the Slack Marketplace can use MCP. Unlisted distributed apps are blocked |
| Microsoft 365 admin role | Global Administrator or AI Administrator in the Microsoft 365 admin center |
| Teams Developer Portal | Access to the Teams Developer Portal in your tenant |
| Copilot licenses | Users need a Copilot license |
| Developer and legal details | Developer name, website URL, privacy policy URL, and terms of use URL, if your package asks for them |
| Network access | If your Slack organization restricts source IP addresses, allow the static egress IP addresses for Microsoft Copilot |
Create the Slack app
- Go to api.slack.com/apps and select Create New App > From scratch.
- Pick your workspace.
- On Basic Information, copy the Client ID and Client Secret. Keep the secret out of source control.
Turn on MCP for the app
- In the app settings, go to Features > Agents. Some workspaces label this page Agents & AI Apps.
- Set Model Context Protocol to On and save.
Skip this and sign-in still succeeds, but every call to the MCP server fails with HTTP 400.
Add the OAuth scopes
Under OAuth & Permissions > Scopes > User Token Scopes, add these scopes. Add nothing under Bot Token Scopes.
canvases:read, canvases:write, channels:history, channels:read, channels:write,
chat:write, emoji:read, files:read, files:write, groups:history, groups:read,
groups:write, im:history, im:read, im:write, lists:read, lists:write,
mpim:history, mpim:read, mpim:write, reactions:read, reactions:write,
search:read.files, search:read.im, search:read.mpim, search:read.private,
search:read.public, search:read.users, users:read, users:read.email
Slack publishes the current list at mcp.slack.com/.well-known/oauth-protected-resource. Match it. Leave out search:read and im:write.topic, which the MCP server doesn’t use.
Add the redirect URL
Under OAuth & Permissions > Redirect URLs, add this URL and select Save URLs:
https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect
Install the app
Select Install to Workspace, or Reinstall to Workspace after any scope change, and approve. If your workspace requires app approval, a Slack admin must approve the app first.
Optionally, turn on Token Rotation under OAuth & Permissions > Advanced token security to get refresh tokens. You can’t turn it off again. Without it, tokens don’t expire.
Register the OAuth client in the Teams Developer Portal
- Open the Teams Developer Portal, then select Tools > OAuth client registration > New OAuth client registration.
-
Enter these values:
Field Value Registration name SlackBase URL https://mcp.slack.com/mcpRestrict usage by organization My organization only Restrict usage by Teams app Your Teams app, or Any Teams app while testing Client ID Your Slack app’s client ID Client secret Your Slack app’s client secret Authorization endpoint https://slack.com/oauth/v2_user/authorizeToken endpoint https://slack.com/api/oauth.v2.user.accessRefresh endpoint https://slack.com/api/oauth.v2.user.accessScope The scopes from the previous section, comma-separated, with no spaces Enable PKCE Off Client password authentication method Request body parameters - Select Save and copy the OAuth client registration ID.
Microsoft Learn lists PKCE as optional. Leave it off for Slack. When PKCE is on, Slack treats the app as a public client, which doesn’t use a client secret, and that doesn’t work with the Teams Developer Portal registration. This flow relies on the client secret, which is why Client password authentication method is set to Request body parameters.
The scopes in the portal must match the scopes on the Slack app. If the portal requests a scope the app doesn’t have, Slack rejects the sign-in.
Create the connector
- Sign in to the Microsoft 365 admin center.
- Select Copilot > Connectors, then the Gallery tab.
- Under Created by your org, find Create a new connector and select Add.
- On the Custom connector page, under Connect to MCP server, select Add.
-
Enter these details:
Field Value Display name SlackDescription A summary of what Slack contains and what the tools do. See below Base URL https://mcp.slack.com/mcpAuthentication OAuth 2.0, with the registration ID from the Teams Developer Portal - Select Save.
For the description, Microsoft recommends the connector description generation skill. A specific description helps Copilot decide when to call Slack. For example:
Search and read Slack messages, threads, channels, canvases, files, and lists,
and send messages, schedule messages, add reactions, and create or update
canvases and lists as the signed-in user.
If you ship the connector in a plugin or app package instead, put the registration ID in the manifest as the referenceId of the remote MCP server’s OAuthPluginVault authorization, and set the server URL to https://mcp.slack.com/mcp. Then add the package’s connector in Copilot > Connectors.
Roll it out and sign in
- Open the connector in Your Connections and select Staged rollout.
- Choose Users or Groups and add your test users.
- When you’re ready, select Deploy to all users.
- Ask each user to open Copilot, go to Settings > Sources, and select Sign in for Slack.
- After approval in Slack, the connector’s tool list shows the Slack tools.
Changes can take up to 10 minutes to reach Microsoft 365 experiences. Users might need to refresh Copilot or start a new conversation.
Three admin center settings decide who can use the connector, and all of them must allow the user:
- Agents > Settings > Agent and plugin access: Allow agents and plugins built by your organization must be selected, or you must turn the connector on individually.
- Agents > Settings > User access: sets the maximum set of users.
- Staged rollout on the connector: narrows access within that set.
A connector that works only for you usually means staged rollout includes only you, or the other users haven’t signed in to Slack under Sources.
What you get
Slack’s MCP server exposes 30 tools.
Search and read
slack_search_public,slack_search_public_and_private,slack_search_channels,slack_search_users,slack_search_emojisslack_read_channel,slack_read_thread,slack_read_canvas,slack_read_user_profile,slack_read_fileslack_read_list,slack_read_list_comments,slack_list_channel_members,slack_list_user_channels,slack_get_reactions
Write
slack_send_message,slack_schedule_message,slack_send_message_draft,slack_add_reaction,slack_create_conversationslack_create_canvas,slack_update_canvas,slack_get_file_upload_url,slack_complete_file_uploadslack_create_list,slack_add_list_record,slack_add_list_comment,slack_update_list,slack_update_list_record,slack_update_list_comment
Write tools act as the signed-in person. If you want read-only access, omit the write scopes from the Slack app and the portal registration, and block individual tools under Agents > Tools where your admin center allows it.
Limitations
- Slack doesn’t support Dynamic Client Registration or server-sent events (SSE) for its MCP server, so you register the OAuth client yourself.
- Slack’s MCP server follows the same rate limits as the Slack Web API.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Sign-in works, but the admin center reports “The MCP server returned an error (HTTP 400)” or shows no tools | The Slack app isn’t enabled for MCP. Slack replies App is not enabled for Slack MCP |
Turn on Model Context Protocol in the app’s Agents settings, delete the connection, and sign in again |
| Slack shows “There’s been a glitch” when you approve | Scope changes aren’t installed, a scope isn’t valid for the app, or the redirect URL isn’t saved | Reinstall the app, compare its scopes with the list above, and confirm the redirect URL is saved |
Slack shows invalid_scope |
The portal’s Scope field requests a scope the Slack app doesn’t have | Make the portal scopes match the app’s user token scopes |
A browser page at teams.microsoft.com/api/platform/v1.0/oAuthRedirect says “Please contact the app owner” |
Expected if you ran the OAuth flow by hand. That page only completes sign-ins Microsoft started | Nothing to fix. The code in the address bar is the authorization code |
| Tokens never expire, or sign-in doesn’t refresh | Token Rotation is off, so Slack doesn’t issue a refresh token | Turn on Token Rotation if you want refresh |
| The connector is visible to you but not to users | Staged rollout, User access, or Agent and plugin access excludes them, or they haven’t signed in under Sources | Check each setting, then wait up to 10 minutes and refresh Copilot |
Test the MCP server directly
To see Slack’s real response for a token, send an initialize request:
$h = @{ Authorization = "Bearer $env:SLACK_USER_TOKEN"; Accept = 'application/json, text/event-stream' }
$body = '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"test","version":"1"}}}'
Invoke-WebRequest https://mcp.slack.com/mcp -Method Post -Headers $h -ContentType 'application/json' -Body $body -SkipHttpErrorCheck
Set SLACK_USER_TOKEN to a Slack user token (xoxp-...) for your app. A 200 with server info means the app is set up for MCP. A 400 includes the reason in the response body.