# Step 1: Install the server
npm install -g @modelcontextprotocol/server-slack
# Step 2: Set your tokens
export SLACK_BOT_TOKEN="xoxb-xxxxxxxxxxxx"
export SLACK_TEAM_ID="T0123456789"
# Step 3: Run sandboxed
warden run --policy policy-slack.yaml
Tips
Grant onlycache under write, a write grant also includes read
Do not add a separate read: [] if write points to the same path