Skip to content

feat: add block-kit rich responses example#102

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

feat: add block-kit rich responses example#102
zimeg wants to merge 4 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.
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