Skip to main content
Glama

Beep Boop MCP

CONFIGURATION.mdβ€’13.7 kB
# Beep/Boop MCP Server Configuration The Beep/Boop MCP server supports extensive configuration through environment variables, allowing you to customize behavior for different environments and use cases. ## πŸš€ Quick Start Choose a configuration template based on your environment: ```bash # Development (fast cleanup, debug logging) cp mcp-config.development.json mcp-config.json # Production (secure defaults, audit logging) cp mcp-config.json mcp-config.production.json # CI/CD (aggressive cleanup, minimal logging) cp mcp-config.ci.json mcp-config.json # Enterprise (team prefixes, notifications, compliance) cp mcp-config.enterprise.json mcp-config.json ``` ## πŸ“‹ Environment Variables Reference ### Core Settings | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_DEFAULT_MAX_AGE_HOURS` | `24` | Default hours before boop files are considered stale | | `BEEP_BOOP_AUTO_CLEANUP_ENABLED` | `false` | Enable automatic cleanup of stale files globally | | `BEEP_BOOP_MAX_AGENT_ID_LENGTH` | `100` | Maximum allowed length for agent IDs | | `BEEP_BOOP_FILE_PERMISSIONS` | `0644` | File permissions for created beep/boop files | ### Logging and Debugging | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_LOG_LEVEL` | `info` | Logging level: `error`, `warn`, `info`, `debug` | | `BEEP_BOOP_TIMEZONE` | `UTC` | Timezone for timestamps | ### Security and Access Control | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_ALLOWED_DIRECTORIES` | `` | Comma-separated list of allowed directories (empty = all allowed) | | `BEEP_BOOP_BLOCKED_DIRECTORIES` | `/tmp,/var,/etc` | Comma-separated list of blocked directories | | `BEEP_BOOP_REQUIRE_TEAM_PREFIX` | `false` | Require agent IDs to have team prefixes | | `BEEP_BOOP_TEAM_PREFIXES` | `` | Comma-separated list of required team prefixes | ### Backup and Recovery | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_BACKUP_ENABLED` | `false` | Enable backup of coordination files before operations | | `BEEP_BOOP_BACKUP_DIR` | `./.beep-boop-backups` | Directory for storing backups | ### Monitoring and Metrics | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_ENABLE_METRICS` | `false` | Enable metrics collection | | `BEEP_BOOP_ENABLE_NOTIFICATIONS` | `false` | Enable webhook notifications | | `BEEP_BOOP_NOTIFICATION_WEBHOOK` | `` | Webhook URL for notifications (legacy - see webhook-specific vars) | | `BEEP_BOOP_NOTIFICATION_SERVICE` | `both` | Notification target: `discord`, `slack`, or `both` | | `BEEP_BOOP_DISCORD_WEBHOOK_URL` | `` | Discord-specific webhook URL | | `BEEP_BOOP_SLACK_WEBHOOK_URL` | `` | Slack-specific webhook URL | | `BEEP_BOOP_NOTIFICATION_RETRY_ATTEMPTS` | `3` | Number of retry attempts for failed notifications | | `BEEP_BOOP_NOTIFICATION_TIMEOUT_MS` | `5000` | Timeout for notification requests in milliseconds | ### Audit and Compliance | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_AUDIT_LOG_ENABLED` | `false` | Enable audit logging | | `BEEP_BOOP_AUDIT_LOG_PATH` | `./logs/coordination-audit.log` | Path for audit log file | ### Work Management | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_MAX_WORK_DURATION_HOURS` | `48` | Maximum allowed work duration | | `BEEP_BOOP_WARN_THRESHOLD_HOURS` | `8` | Hours after which to warn about long-running work | | `BEEP_BOOP_ESCALATION_ENABLED` | `false` | Enable escalation for long-running work | | `BEEP_BOOP_ESCALATION_AFTER_HOURS` | `24` | Hours after which to escalate | ### Environment-Specific | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_DEV_MODE` | `false` | Enable development mode features | | `BEEP_BOOP_CI_MODE` | `false` | Enable CI/CD mode optimizations | | `BEEP_BOOP_WATCH_MODE` | `false` | Enable file watching for live updates | | `BEEP_BOOP_FORCE_CLEANUP_ON_START` | `false` | Clean all stale files on server start | | `BEEP_BOOP_FAIL_ON_STALE` | `false` | Fail operations if stale files detected | | `BEEP_BOOP_MAX_CONCURRENT_OPERATIONS` | `5` | Maximum concurrent file operations | ### Git Integration | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_MANAGE_GITIGNORE` | `true` | Automatically add beep/boop files to .gitignore | ### Ingress/Listener System | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_INGRESS_ENABLED` | `false` | Enable ingress message capture from Discord/Slack | | `BEEP_BOOP_INGRESS_PROVIDER` | `none` | Platform for message capture: `discord`, `slack`, or `none` | | `BEEP_BOOP_INGRESS_HTTP_ENABLED` | `true` | Enable HTTP API for captured messages | | `BEEP_BOOP_INGRESS_HTTP_PORT` | `7077` | Port for ingress HTTP server | | `BEEP_BOOP_INGRESS_HTTP_AUTH_TOKEN` | `` | Bearer token for securing HTTP endpoints | | `BEEP_BOOP_INGRESS_INBOX_DIR` | `~/.beep-boop-inbox` | Directory for storing captured messages | ### Central Listener Delegation | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_LISTENER_ENABLED` | `false` | Enable HTTP delegation to centralized listener | | `BEEP_BOOP_LISTENER_BASE_URL` | `http://localhost:7077` | Base URL of the HTTP listener service | | `BEEP_BOOP_LISTENER_AUTH_TOKEN` | `` | Bearer token for listener requests (auto-inherits from ingress if empty) | | `BEEP_BOOP_LISTENER_TIMEOUT_BASE_MS` | `10000` | Base timeout for listener requests | | `BEEP_BOOP_LISTENER_TIMEOUT_PER_CHAR_MS` | `5` | Additional timeout per character in request payload | | `BEEP_BOOP_LISTENER_TIMEOUT_MAX_MS` | `60000` | Maximum timeout cap for listener requests | | `BEEP_BOOP_MAX_CONCURRENT_LISTENER_REQUESTS` | `25` | Maximum concurrent requests to listener | ### Discord Integration | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_DISCORD_BOT_TOKEN` | `` | Discord bot token for message capture and responses | | `BEEP_BOOP_DISCORD_DEFAULT_CHANNEL_ID` | `` | Default channel for proactive agent messaging | ### Slack Integration | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_SLACK_APP_TOKEN` | `` | Slack app-level token (xapp-...) for Socket Mode | | `BEEP_BOOP_SLACK_BOT_TOKEN` | `` | Slack bot token (xoxb-...) for message sending | ### Conversation Flow Settings | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_CONVERSATION_TIMEOUT_MINUTES` | `5` | How long to wait for user responses in initiated conversations | | `BEEP_BOOP_CONVERSATION_POLL_INTERVAL_MS` | `2000` | How often to check for user responses (milliseconds) | ### Discord API Reliability Settings | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_DISCORD_API_RETRY_ATTEMPTS` | `3` | Number of retry attempts for Discord API calls | | `BEEP_BOOP_DISCORD_API_RETRY_BASE_DELAY_MS` | `1000` | Base delay between retries (exponential backoff) | | `BEEP_BOOP_DISCORD_API_TIMEOUT_MS` | `30000` | Timeout for individual Discord API calls | ### Automatic Startup Control | Variable | Default | Description | |----------|---------|-------------| | `BEEP_BOOP_START_INGRESS_WITH_SERVER` | `true` | Auto-start ingress sidecar with MCP server | ## πŸ—οΈ Configuration Profiles ### Development Environment ```json { "BEEP_BOOP_DEFAULT_MAX_AGE_HOURS": "1", "BEEP_BOOP_AUTO_CLEANUP_ENABLED": "true", "BEEP_BOOP_LOG_LEVEL": "debug", "BEEP_BOOP_BACKUP_ENABLED": "false", "BEEP_BOOP_ALLOWED_DIRECTORIES": "./src,./test,./examples", "BEEP_BOOP_ENABLE_METRICS": "true" } ``` **Features:** - Quick 1-hour stale timeout for rapid development - Auto-cleanup enabled for hands-off experience - Debug logging for troubleshooting - Restricted to development directories - Metrics enabled for optimization ### Production Environment ```json { "BEEP_BOOP_DEFAULT_MAX_AGE_HOURS": "24", "BEEP_BOOP_AUTO_CLEANUP_ENABLED": "false", "BEEP_BOOP_LOG_LEVEL": "info", "BEEP_BOOP_BACKUP_ENABLED": "true", "BEEP_BOOP_AUDIT_LOG_ENABLED": "true", "BEEP_BOOP_BLOCKED_DIRECTORIES": "/tmp,/var,/etc,node_modules" } ``` **Features:** - Conservative 24-hour timeout - Manual cleanup for safety - Full audit trail - Comprehensive directory protection - Backup enabled for recovery ### CI/CD Environment ```json { "BEEP_BOOP_DEFAULT_MAX_AGE_HOURS": "0.5", "BEEP_BOOP_AUTO_CLEANUP_ENABLED": "true", "BEEP_BOOP_FORCE_CLEANUP_ON_START": "true", "BEEP_BOOP_LOG_LEVEL": "warn", "BEEP_BOOP_MAX_CONCURRENT_OPERATIONS": "10" } ``` **Features:** - Aggressive 30-minute timeout - Force cleanup on start for clean builds - High concurrency for speed - Minimal logging to reduce noise - Auto-cleanup for unattended operation ### Enterprise Environment ```json { "BEEP_BOOP_REQUIRE_TEAM_PREFIX": "true", "BEEP_BOOP_TEAM_PREFIXES": "frontend-,backend-,devops-,qa-", "BEEP_BOOP_AUDIT_LOG_ENABLED": "true", "BEEP_BOOP_ENABLE_NOTIFICATIONS": "true", "BEEP_BOOP_ESCALATION_ENABLED": "true", "BEEP_BOOP_TIMEZONE": "America/New_York" } ``` **Features:** - Team-based agent ID requirements - Full audit logging for compliance - Webhook notifications for monitoring - Automatic escalation for stuck work - Timezone-aware operations ## πŸ”§ Advanced Configuration ### Directory Access Control **Allow only specific directories:** ```bash BEEP_BOOP_ALLOWED_DIRECTORIES="./src,./packages,./services" ``` **Block sensitive directories:** ```bash BEEP_BOOP_BLOCKED_DIRECTORIES="/tmp,/var,/etc,node_modules,dist,.git" ``` ### Team-Based Agent IDs **Require team prefixes:** ```bash BEEP_BOOP_REQUIRE_TEAM_PREFIX=true BEEP_BOOP_TEAM_PREFIXES="frontend-,backend-,devops-,mobile-" ``` **Valid agent IDs:** `frontend-alice`, `backend-bob`, `devops-charlie` **Invalid agent IDs:** `alice`, `random-agent`, `contractor-dave` ### Webhook Notifications **Slack integration:** ```bash BEEP_BOOP_ENABLE_NOTIFICATIONS=true BEEP_BOOP_NOTIFICATION_WEBHOOK="https://hooks.slack.com/services/YOUR/WEBHOOK/URL" ``` **Discord integration:** ```bash BEEP_BOOP_NOTIFICATION_WEBHOOK="https://discord.com/api/webhooks/YOUR/WEBHOOK" ``` ### Git Integration **Automatic .gitignore management (default enabled):** ```bash BEEP_BOOP_MANAGE_GITIGNORE=true ``` **Disable .gitignore management:** ```bash BEEP_BOOP_MANAGE_GITIGNORE=false ``` When enabled, the server automatically: - Adds `beep` and `boop` entries to `.gitignore` when creating coordination files - Creates `.gitignore` if it doesn't exist - Appends entries only if they don't already exist - Adds a section header for organization - Gracefully handles permission errors ### Audit Logging **Enable comprehensive audit trail:** ```bash BEEP_BOOP_AUDIT_LOG_ENABLED=true BEEP_BOOP_AUDIT_LOG_PATH="./logs/coordination-$(date +%Y-%m).log" ``` **Log format:** ``` 2024-08-20T12:30:00Z [INFO] CLAIM ./src/auth agent:frontend-alice desc:"Auth refactoring" 2024-08-20T14:15:00Z [INFO] COMPLETE ./src/auth agent:frontend-alice msg:"Refactoring done" 2024-08-20T15:00:00Z [WARN] STALE_DETECTED ./src/components age:25h agent:backend-bob ``` ## πŸ› Debugging ### Enable Debug Logging ```bash BEEP_BOOP_LOG_LEVEL=debug ``` ### Configuration Validation The server validates all configuration on startup and provides helpful error messages: ```bash ❌ BEEP_BOOP_DEFAULT_MAX_AGE_HOURS must be >= 0 ❌ BEEP_BOOP_LOG_LEVEL must be one of: error, warn, info, debug ❌ BEEP_BOOP_FILE_PERMISSIONS must be in octal format (e.g., 0644) ``` ### Configuration Summary In debug mode, the server prints a configuration summary on startup: ``` πŸ“‹ Beep/Boop Configuration: β€’ Environment: development β€’ Max age threshold: 1 hours β€’ Auto cleanup: enabled β€’ Log level: debug β€’ Allowed directories: ./src, ./test, ./examples β€’ Blocked directories: /tmp, /var, /etc, node_modules β€’ Team prefix required: false β€’ Backup enabled: false β€’ Audit logging: false ``` ## πŸ”„ Runtime Configuration ### Hot Reload (Development) ```bash BEEP_BOOP_WATCH_MODE=true ``` Automatically reloads configuration when environment files change. ### Configuration Override Environment variables always take precedence over configuration files: ```bash # Override single setting BEEP_BOOP_DEFAULT_MAX_AGE_HOURS=12 npm start # Override multiple settings BEEP_BOOP_AUTO_CLEANUP_ENABLED=true BEEP_BOOP_LOG_LEVEL=debug npm start ``` ## πŸ“š Best Practices ### Security 1. **Restrict directories:** Always set `BEEP_BOOP_ALLOWED_DIRECTORIES` in production 2. **Block sensitive paths:** Include system directories in `BEEP_BOOP_BLOCKED_DIRECTORIES` 3. **Use team prefixes:** Enable `BEEP_BOOP_REQUIRE_TEAM_PREFIX` for multi-team environments 4. **Enable audit logging:** Set `BEEP_BOOP_AUDIT_LOG_ENABLED=true` for compliance ### Performance 1. **Adjust concurrency:** Increase `BEEP_BOOP_MAX_CONCURRENT_OPERATIONS` for high-throughput environments 2. **Optimize timeouts:** Use shorter `BEEP_BOOP_DEFAULT_MAX_AGE_HOURS` in fast-paced development 3. **Disable backups:** Set `BEEP_BOOP_BACKUP_ENABLED=false` in CI/CD for speed ### Reliability 1. **Enable notifications:** Use `BEEP_BOOP_NOTIFICATION_WEBHOOK` for critical environments 2. **Configure escalation:** Set up `BEEP_BOOP_ESCALATION_ENABLED` for stuck work detection 3. **Use backups:** Keep `BEEP_BOOP_BACKUP_ENABLED=true` in production This comprehensive configuration system makes the Beep/Boop MCP server highly adaptable to different environments and organizational requirements!

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesammykins/beep_boop_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server