初始化提交
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
This commit is contained in:
41
crates/openfang-extensions/integrations/slack.toml
Normal file
41
crates/openfang-extensions/integrations/slack.toml
Normal file
@@ -0,0 +1,41 @@
|
||||
id = "slack"
|
||||
name = "Slack"
|
||||
description = "Access Slack channels, messages, and users through the MCP server"
|
||||
category = "communication"
|
||||
icon = "💬"
|
||||
tags = ["chat", "messaging", "team", "channels", "collaboration"]
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
args = ["@modelcontextprotocol/server-slack"]
|
||||
|
||||
[[required_env]]
|
||||
name = "SLACK_BOT_TOKEN"
|
||||
label = "Slack Bot Token"
|
||||
help = "A bot user OAuth token starting with xoxb-"
|
||||
is_secret = true
|
||||
get_url = "https://api.slack.com/apps"
|
||||
|
||||
[[required_env]]
|
||||
name = "SLACK_TEAM_ID"
|
||||
label = "Slack Team ID"
|
||||
help = "Your Slack workspace team ID (found in workspace settings or URL)"
|
||||
is_secret = false
|
||||
get_url = ""
|
||||
|
||||
[oauth]
|
||||
provider = "slack"
|
||||
scopes = ["channels:read", "chat:write", "users:read"]
|
||||
auth_url = "https://slack.com/oauth/v2/authorize"
|
||||
token_url = "https://slack.com/api/oauth.v2.access"
|
||||
|
||||
[health_check]
|
||||
interval_secs = 60
|
||||
unhealthy_threshold = 3
|
||||
|
||||
setup_instructions = """
|
||||
1. Go to https://api.slack.com/apps and create a new Slack app (or use an existing one). Add the 'channels:read', 'chat:write', and 'users:read' bot token scopes.
|
||||
2. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-).
|
||||
3. Paste the bot token and your workspace Team ID into the fields above, or use the OAuth flow to authorize directly.
|
||||
"""
|
||||
Reference in New Issue
Block a user