Skip to content

feat: add slackbot mcp client block-kit rich responses example#102

Draft
zimeg wants to merge 6 commits into
mainfrom
feat/rich-responses-block-kit
Draft

feat: add slackbot mcp client block-kit rich responses example#102
zimeg wants to merge 6 commits into
mainfrom
feat/rich-responses-block-kit

Conversation

@zimeg

@zimeg zimeg commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

This pull request adds a Block Kit rich responses example at ai/slackbot-mcp-client/rich-responses/block-kit/.

  • Extends the slack-identity example with _meta.slack.blocks in tool responses
  • Demonstrates card block type for profile display (icon, title, subtitle, body)
  • Shows section block with install button as fallback when app is not installed
  • Adds supportsBlockKit: true tool metadata declaration
  • Adds CI matrix entry and dependabot config for the new package

The example sits alongside rich-responses/mcp-apps/ and demonstrates the Block Kit path documented at https://docs.slack.dev/ai/slackbot-mcp-client/returning-rich-responses#block-kit.

Testing

  • Run cd ai/slackbot-mcp-client/rich-responses/block-kit && npm test to verify all 3 tests pass (card block response, install button fallback, unsigned rejection)
  • Start the server with npm start and send a signed MCP request to /mcp to see the Block Kit card response

zimeg added 4 commits June 22, 2026 23:20
Extends the slack-identity example with Block Kit responses via
_meta.slack.blocks, demonstrating the card block type for profile
display and a section block with install button as fallback.
@zimeg zimeg changed the title feat: add block-kit rich responses example feat: add slackbot mcp client block-kit rich responses example Jul 14, 2026
zimeg and others added 2 commits July 21, 2026 09:35
…abot

Matches the other example entries, which block both 25.x and 26.x per
the #107 revert. The block-kit entry predated that change and only
ignored 25.x.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant