Discord channel plugin MCP server not auto-started on Windows

Resolved 💬 3 comments Opened Apr 2, 2026 by tarhanalam Closed Apr 5, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The Discord channel plugin (discord@claude-plugins-official) is enabled and channelsEnabled: true is set in settings.json, but the plugin's MCP server
(server.ts) is never spawned — neither with claude --channels plugin:discord@claude-plugins-official nor on regular startup.

  • The plugin's own .mcp.json correctly defines the server (bun run --cwd ${CLAUDE_PLUGIN_ROOT} --shell=bun --silent start)
  • The bot token is valid and the bot connects fine when server.ts is run manually
  • Manually creating ~/.claude/.mcp.json with the same config also doesn't work — Claude Code doesn't pick it up
  • Platform: Windows 11, Claude Code latest channel, Bun 1.3.11

What Should Happen?

When the Discord plugin is enabled ("discord@claude-plugins-official": true) and channelsEnabled: true, starting Claude Code with claude --channels
plugin:discord@claude-plugins-official should automatically spawn the plugin's MCP server defined in its .mcp.json, connecting the Discord bot to the
gateway.

Error Messages/Logs

No errors — the server simply never starts. No bun process is spawned and the Discord bot remains offline. Running the server manually confirms it works:

  $ cd ~/.claude/plugins/marketplaces/claude-plugins-official/external_plugins/discord && bun server.ts
  discord channel: gateway connected as James#4964

Steps to Reproduce

  1. Install the Discord plugin: enable "discord@claude-plugins-official": true in ~/.claude/settings.json
  2. Set "channelsEnabled": true in ~/.claude/settings.json
  3. Save a valid bot token in ~/.claude/channels/discord/.env
  4. Start Claude Code with claude --channels plugin:discord@claude-plugins-official
  5. Check Discord — bot remains offline
  6. Run tasklist | grep bun — no bun process exists

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.90

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗