Skip to content

feat(slack-advanced): add send_channel_message tool#40

Merged
Joao208 merged 2 commits into
mainfrom
joao-barros-/-add-send-channel-message
Apr 14, 2026
Merged

feat(slack-advanced): add send_channel_message tool#40
Joao208 merged 2 commits into
mainfrom
joao-barros-/-add-send-channel-message

Conversation

@Joao208

@Joao208 Joao208 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Contexto

O slack-advanced-mcp só tinha send_dm pra enviar mensagens diretas. Não tinha como postar em canais.

Mudanças

Nova tool: send_channel_message

  • Aceita channel ID (e.g. C01EXAMPLE) ou nome (e.g. #general)
  • Resolve nomes de canal via conversations.list com paginação
  • Suporta reply em thread via thread_ts
  • Converte links markdown text pra Slack mrkdwn <url|text> quando content_type: text/markdown

Novo método no SlackClient: resolveChannelId

  • Se o identifier já é um ID (uppercase alphanumeric), retorna direto
  • Senão, pagina conversations.list buscando pelo nome

Arquivos alterados

  • types.ts: schema SendChannelMessageParamsSchema
  • tools/messaging.ts: método sendChannelMessage + helper convertMarkdownLinksToMrkdwn
  • slack-client.ts: método resolveChannelId
  • server.ts: registro da tool
  • package.json: bump 1.0.0 → 1.1.0

- New tool to post messages to Slack channels by ID or #name
- Resolves channel names via conversations.list with pagination
- Supports thread replies via thread_ts
- Converts markdown [text](url) links to Slack mrkdwn <url|text> when content_type is text/markdown
- Bump version to 1.1.0
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Joao208 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 51 minutes and 54 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 51 minutes and 54 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 226d502e-ffc4-4701-a230-aaa57421b515

📥 Commits

Reviewing files that changed from the base of the PR and between 07ab848 and b75e302.

📒 Files selected for processing (5)
  • packages/slack-advanced/package.json
  • packages/slack-advanced/src/server.ts
  • packages/slack-advanced/src/slack-client.ts
  • packages/slack-advanced/src/tools/messaging.ts
  • packages/slack-advanced/src/types.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch joao-barros-/-add-send-channel-message

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Joao208 Joao208 merged commit 4c2ef7a into main Apr 14, 2026
4 checks passed
@Joao208 Joao208 deleted the joao-barros-/-add-send-channel-message branch April 14, 2026 01:19
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