Skip to content
VS Code

Slack for VS Code

io.github.mindstone/mcp-server-slack

Slack MCP server: channels, messages, threads, reactions, users, files, and scheduled messages

client:VS Code transport:stdio runtime:npm

Install Slack in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "slack-config-path",
      "description": "SLACK_CONFIG_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-team-id",
      "description": "SLACK_TEAM_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-client-id",
      "description": "SLACK_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-client-secret",
      "description": "SLACK_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-disable-refresh",
      "description": "SLACK_DISABLE_REFRESH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-request-timeout-ms",
      "description": "SLACK_REQUEST_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "slack-max-retries",
      "description": "SLACK_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-workspace-path",
      "description": "MCP_WORKSPACE_PATH",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-slack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-slack"
      ],
      "env": {
        "SLACK_CONFIG_PATH": "${input:slack-config-path}",
        "SLACK_TEAM_ID": "${input:slack-team-id}",
        "SLACK_CLIENT_ID": "${input:slack-client-id}",
        "SLACK_CLIENT_SECRET": "${input:slack-client-secret}",
        "SLACK_DISABLE_REFRESH": "${input:slack-disable-refresh}",
        "SLACK_REQUEST_TIMEOUT_MS": "${input:slack-request-timeout-ms}",
        "SLACK_MAX_RETRIES": "${input:slack-max-retries}",
        "MCP_WORKSPACE_PATH": "${input:mcp-workspace-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Slack in other clients