Home / Servers / Slack API / oauth_access
Exchanges a temporary OAuth verifier code for an access token.
An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.
Exchanges a temporary OAuth verifier code for an access token. [GET /oauth.access]
Name on the gateway: slack_api__oauth_access · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
client_id | string | Issued when you created your application. |
client_secret | string | Issued when you created your application. |
code | string | The code param returned via the OAuth callback. |
redirect_uri | string | This must match the originally submitted URI (if one was sent). |
single_channel | boolean | Request the user to add your app only to a single channel. Only valid with a… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "slack_api__oauth_access",
"arguments": {}
}Or connect the Slack API server directly, which lists 174 tools including this one:
claude mcp add --transport http hj-slack-api https://mcp.hjlabs.in/mcp/slack-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the exchanges a temporary oauth verifier code for an access token. tool with client_id set to ….
More from Slack API
- Approve an app for installation on a workspace.
- List approved apps for an org or workspace.
- List app requests for a team/workspace.
- Restrict an app for installation on a workspace.
- List restricted apps for an org or workspace.
- Archive a public or private channel.
- Convert a public channel to a private channel.
- Create a public or private channel-based conversation.
- All 174