Home / Servers / Slack API / users_set_photo
Set the user profile photo
An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.
Set the user profile photo [POST /users.setPhoto]
Name on the gateway: slack_api__users_set_photo · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
token required | string | Authentication token. Requires scope: users.profile:write |
crop_w | string | Width/height of crop box (always square) |
crop_x | string | X coordinate of top-left corner of crop box |
crop_y | string | Y coordinate of top-left corner of crop box |
image | string | File contents via multipart/form-data. |
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__users_set_photo",
"arguments": {
"token": "…"
}
}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 set the user profile photo tool with token 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