
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
ai-agent-slack-mcp-server
Advanced tools
MCP server for Slack integration (messaging, channels, users, files)
A Model Context Protocol (MCP) server that provides Slack integration capabilities, including messaging, channel management, user management, and file uploads.
slack_send_message
Send a message to a Slack channel or user.
Parameters:
channel
(required): Channel ID or name (e.g., "#general" or "C1234567890")text
(required): Message text to sendconfirm
(required): Must be true to confirm sending the messageuser_id
(optional): User ID for authentication (defaults to "default")thread_ts
(optional): Thread timestamp to reply to a specific messageslack_get_channels
Get a list of channels in the Slack workspace.
Parameters:
user_id
(optional): User ID for authentication (defaults to "default")types
(optional): Channel types to include (default: "public_channel")slack_get_messages
Get messages from a Slack channel.
Parameters:
channel
(required): Channel ID or nameuser_id
(optional): User ID for authentication (defaults to "default")limit
(optional): Number of messages to retrieve (default: 10, max: 100)oldest
(optional): Start timestamp for message rangelatest
(optional): End timestamp for message rangeslack_get_users
Get a list of users in the Slack workspace.
Parameters:
user_id
(optional): User ID for authentication (defaults to "default")slack_upload_file
Upload a file to Slack channels.
Parameters:
channels
(required): Comma-separated list of channel IDsfile_path
(required): Path to the file to uploadconfirm
(required): Must be true to confirm uploading the fileuser_id
(optional): User ID for authentication (defaults to "default")title
(optional): Title of the fileinitial_comment
(optional): Initial comment with the fileslack_authenticate
Check authentication status or get authentication instructions.
Parameters:
user_id
(optional): User ID to check (defaults to "default")npm install
npm run build
Set up OAuth credentials (obtain from Slack App configuration):
export SLACK_CLIENT_ID="your-slack-client-id"
export SLACK_CLIENT_SECRET="your-slack-client-secret"
Authenticate with Slack:
ai-agent auth login slack
Add to AI Agent CLI configuration (~/.agent-fleet/config.json
):
{
"mcpServers": [{
"name": "slack",
"url": "node /path/to/slack-mcp-server/dist/server.js",
"oauth": {
"service": "slack",
"userId": "default"
}
}]
}
Use with an agent:
ai-agent chat --agent slack-assistant
To use this MCP server, you need to create a Slack App and configure OAuth:
Go to api.slack.com/apps
Create a new app
Configure OAuth & Permissions with these scopes:
channels:read
channels:history
chat:write
files:read
files:write
users:read
team:read
groups:read
groups:history
im:read
im:history
mpim:read
mpim:history
Set redirect URL to: http://localhost:3000/oauth/callback
Copy the Client ID and Client Secret to your environment variables
# Run in development mode
npm run dev
# Build
npm run build
# Type check
npm run typecheck
# Lint
npm run lint
# Format
npm run format
/src/auth
- OAuth2 authentication management/src/handlers
- Slack API interaction handlers/src/types
- TypeScript type definitions/src/server.ts
- Main MCP server implementationThe server provides comprehensive error handling with helpful messages:
ai-agent auth login slack
This MCP server is designed to work seamlessly with the AI Agent CLI's OAuth system:
FAQs
MCP server for Slack integration (messaging, channels, users, files)
The npm package ai-agent-slack-mcp-server receives a total of 3 weekly downloads. As such, ai-agent-slack-mcp-server popularity was classified as not popular.
We found that ai-agent-slack-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.