Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Server host | 0.0.0.0 |
| PORT | No | Server port | 8080 |
| LOG_LEVEL | No | Log level: trace, debug, info, warn, error, fatal | info |
| SLACK_SCOPES | Yes | Comma-separated bot scopes (e.g., chat:write,channels:history,channels:read) | |
| SESSION_TTL_MS | No | MCP session timeout in milliseconds (default: 15 minutes) | 900000 |
| ALLOWED_ORIGINS | No | Comma-separated allowed origins for CORS | |
| PUBLIC_BASE_URL | No | Public URL for OAuth redirects | http://localhost:8080 |
| SLACK_CLIENT_ID | Yes | Slack app client ID | |
| SLACK_REDIRECT_URI | Yes | OAuth callback URL (e.g., https://yourdomain.com/slack/oauth/callback) | |
| SLACK_CLIENT_SECRET | Yes | Slack app client secret | |
| AFFINITYBOTS_MCP_API_KEY | No | API key for MCP endpoint (recommended for security) |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |