Skip to content

Conversation

@majiayu000
Copy link

Fixes #95

Changes

  • Add edge client methods for Slack Lists API (list, info, create, update, delete)
  • Add MCP tool handlers for Lists operations
  • Register 5 new MCP tools: lists_items_list, lists_items_info, lists_items_create, lists_items_update, lists_items_delete
  • Support pagination via cursor for listing items

Add MCP tools for interacting with Slack Lists:
- lists_items_list: Get items from a Slack List with pagination
- lists_items_info: Get detailed information about a specific item
- lists_items_create: Create new items in a List
- lists_items_update: Update existing items
- lists_items_delete: Delete items from a List

The implementation follows the existing handler patterns and outputs
data in CSV format for LLM-friendly consumption.

Closes korotovsky#95

Signed-off-by: majiayu000 <[email protected]>
@korotovsky
Copy link
Owner

Hi @majiayu000, have these edge API methods support all kind of tokens including xoxb & xoxp ?

@majiayu000
Copy link
Author

Hi @korotovsky, thanks for checking. I haven’t validated xoxb/xoxp yet. The Lists methods are routed via the Edge API client, which typically relies on browser session tokens (xoxc/xoxd). I can test OAuth tokens if needed and update the docs/implementation accordingly.

@korotovsky
Copy link
Owner

This MCP supports three token types: browser (xoxc / xoxd), bot (xoxb), and OAuth2 (xoxp). In many cases, methods support both xoxb and xoxp on edge endpoints.

If an edge endpoint does not support a specific token, we should check whether the same functionality can be implemented using the REST API or another suitable API where that token is:
a) accepted, and
b) the required functionality exists.

If no such API exists, the tool must be disabled for that token type and the README updated (worst case).

That’s why, before adding new tools, I always ask to implement them for all token types. This gives users a wide range of features and makes the Slack MCP “so cool” 🙂

This is also one reason why many PRs are still open: adding new tools requires extra effort. I’d appreciate it if you could check and confirm that the new tools work with all three token types. If they don’t, please find and implement the missing APIs where possible.

@korotovsky
Copy link
Owner

Hi @majiayu000, have you had a chance to validate other types?

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.

Slack Lists support

2 participants