Home / Servers / Slack API / views_publish

Publish a static view for a User.

An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.

Publish a static view for a User. [GET /views.publish]

Name on the gateway: slack_api__views_publish · read-only.

Parameters

NameTypeDescription
user_id requiredstringid of the user you want publish a view to.
view requiredstringA view payload. This must be a JSON-encoded string.
hashstringA string that represents view state to protect against possible race conditions.

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:

call_tool arguments
{
  "name": "slack_api__views_publish",
  "arguments": {
    "user_id": "…",
    "view": "…"
  }
}

Or connect the Slack API server directly, which lists 174 tools including this one:

Run in your terminal
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 publish a static view for a user. tool with user_id set to ….

More from Slack API