<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Troubleshooting on Yarang's Tech Lair</title><link>https://blog.fcoinfup.com/tags/troubleshooting/</link><description>Recent content in Troubleshooting on Yarang's Tech Lair</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 26 Mar 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://blog.fcoinfup.com/tags/troubleshooting/index.xml" rel="self" type="application/rss+xml"/><item><title>Claude Code Discord MCP Plugin - Fixing asdf bun Path Issue</title><link>https://blog.fcoinfup.com/post/claude-code-discord-mcp-plugin-fixing-asdf-bun-path-issue/</link><pubDate>Thu, 26 Mar 2026 00:00:00 +0900</pubDate><guid>https://blog.fcoinfup.com/post/claude-code-discord-mcp-plugin-fixing-asdf-bun-path-issue/</guid><description>&lt;h2 id="problem"&gt;Problem
&lt;/h2&gt;&lt;p&gt;When installing the &lt;code&gt;discord&lt;/code&gt; plugin for Discord channel integration in Claude Code CLI, I encountered the following error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;gt; discord Plugin · claude-plugins-official · √ enabled
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; └ discord MCP · × failed
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The plugin was enabled, but the MCP server was in a failed state.&lt;/p&gt;
&lt;h2 id="root-cause"&gt;Root Cause
&lt;/h2&gt;&lt;p&gt;This issue occurs when using &lt;strong&gt;bun installed via asdf&lt;/strong&gt;. Claude Code CLI looks for the &lt;code&gt;bun&lt;/code&gt; command to run the MCP server, but asdf uses shell wrappers, so the actual binary cannot be found in the system-wide path.&lt;/p&gt;
&lt;h2 id="solution"&gt;Solution
&lt;/h2&gt;&lt;p&gt;I resolved this by entering the &lt;strong&gt;absolute path&lt;/strong&gt; to the bun installed via asdf.&lt;/p&gt;
&lt;h3 id="finding-the-absolute-path-of-asdf-installed-bun"&gt;Finding the Absolute Path of asdf-installed bun
&lt;/h3&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;which bun
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;asdf where bun
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/Users/yarang/.asdf/installs/bun/1.x.x/bin/bun
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="applying-the-configuration"&gt;Applying the Configuration
&lt;/h3&gt;&lt;p&gt;Specify this absolute path as the execution path in the Discord MCP configuration, and the problem will be resolved.&lt;/p&gt;
&lt;h2 id="summary"&gt;Summary
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Situation&lt;/th&gt;
 &lt;th&gt;Solution&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;System-wide installed bun&lt;/td&gt;
 &lt;td&gt;Use &lt;code&gt;bun&lt;/code&gt; command&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;asdf-installed bun&lt;/td&gt;
 &lt;td&gt;Enter &lt;strong&gt;absolute path&lt;/strong&gt; directly&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;When using asdf, you must specify the actual binary path, not the shell wrapper, for the MCP server to run properly.&lt;/p&gt;
&lt;h2 id="references"&gt;References
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://github.com/anthropics/discord-plugin" target="_blank" rel="noopener"
 &gt;Claude Code Discord Plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://asdf-vm.com/" target="_blank" rel="noopener"
 &gt;asdf Version Manager&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>