<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: agentflowshub</title>
    <description>The latest articles on DEV Community by agentflowshub (@agentflowshub).</description>
    <link>https://dev.to/agentflowshub</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4221131%2F258246c0-f12b-47e4-a52b-a6c3ebadaa4d.png</url>
      <title>DEV Community: agentflowshub</title>
      <link>https://dev.to/agentflowshub</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/agentflowshub"/>
    <language>en</language>
    <item>
      <title>MCP server not showing in Claude Code or Codex? Find out which of three problems you have</title>
      <dc:creator>agentflowshub</dc:creator>
      <pubDate>Wed, 04 Nov 2026 11:24:35 +0000</pubDate>
      <link>https://dev.to/agentflowshub/mcp-server-not-showing-in-claude-code-or-codex-find-out-which-of-three-problems-you-have-4c33</link>
      <guid>https://dev.to/agentflowshub/mcp-server-not-showing-in-claude-code-or-codex-find-out-which-of-three-problems-you-have-4c33</guid>
      <description>&lt;p&gt;"The MCP server is not working" can mean three different things, and each has a different fix. Before you edit any configuration, find out which one you have:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The server is &lt;strong&gt;missing&lt;/strong&gt; from your application's list.&lt;/li&gt;
&lt;li&gt;The server is &lt;strong&gt;listed but not connected&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The server is &lt;strong&gt;connected, but the tool you wanted never runs&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  First, see what is configured
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Claude Code&lt;/th&gt;
&lt;th&gt;Codex&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;List servers&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;claude mcp list&lt;/code&gt;, or &lt;code&gt;/mcp&lt;/code&gt; in a session&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;codex mcp list&lt;/code&gt;, or &lt;code&gt;/mcp&lt;/code&gt; in the TUI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add a local server&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claude mcp add &amp;lt;name&amp;gt; -- &amp;lt;command&amp;gt; [args]&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;codex mcp add &amp;lt;name&amp;gt; -- &amp;lt;command&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add a remote server&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claude mcp add --transport http &amp;lt;name&amp;gt; &amp;lt;url&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;codex mcp add &amp;lt;name&amp;gt; --url &amp;lt;url&amp;gt;&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stored in&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~/.claude.json&lt;/code&gt; (local and user scope) or &lt;code&gt;.mcp.json&lt;/code&gt; in the project root (project scope)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~/.codex/config.toml&lt;/code&gt;, or &lt;code&gt;.codex/config.toml&lt;/code&gt; in a trusted project, under &lt;code&gt;[mcp_servers.&amp;lt;name&amp;gt;]&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The desktop app, CLI and IDE extension of Codex share one configuration. Claude Code and Codex never read each other's files, so a server added to one is invisible to the other.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The server is missing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Check that you added it to the application you are actually using.&lt;/li&gt;
&lt;li&gt;In Claude Code, check the scope. A local-scope server loads only in the project folder where you added it; &lt;code&gt;--scope user&lt;/code&gt; makes it available in every project.&lt;/li&gt;
&lt;li&gt;A server in a project's &lt;code&gt;.mcp.json&lt;/code&gt; waits for your approval the first time Claude Code opens that folder. Until then it shows &lt;code&gt;Pending approval&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the same name is defined in more than one place, Claude Code uses one definition: local scope first, then project, user, plugin-provided servers and claude.ai connectors. Fields are not merged, so editing a lower-priority copy has no effect.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. The server is listed but not connected
&lt;/h2&gt;

&lt;p&gt;Claude Code shows &lt;code&gt;Connected&lt;/code&gt;, &lt;code&gt;Needs authentication&lt;/code&gt; or &lt;code&gt;Failed to connect&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Needs authentication:&lt;/strong&gt; run &lt;code&gt;/mcp&lt;/code&gt; and sign in, or &lt;code&gt;claude mcp login &amp;lt;name&amp;gt;&lt;/code&gt; from the terminal. In Codex, run &lt;code&gt;codex mcp login &amp;lt;name&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failed, local server:&lt;/strong&gt; run the exact command from the configuration in a terminal. A missing &lt;code&gt;node&lt;/code&gt;, &lt;code&gt;npx&lt;/code&gt;, &lt;code&gt;uvx&lt;/code&gt; or &lt;code&gt;docker&lt;/code&gt; is the most common cause. An application started from a desktop shortcut may not see the same &lt;code&gt;PATH&lt;/code&gt; as your terminal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failed, remote server:&lt;/strong&gt; check the URL against the server's documentation. A service's homepage is not its MCP endpoint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slow to start:&lt;/strong&gt; Claude Code reads the &lt;code&gt;MCP_TIMEOUT&lt;/code&gt; environment variable in milliseconds (&lt;code&gt;MCP_TIMEOUT=10000 claude&lt;/code&gt;). Codex uses &lt;code&gt;startup_timeout_sec&lt;/code&gt; in the server's entry; the default is 10 seconds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A local server that fails to start is not retried automatically in Claude Code. After you fix it, choose &lt;strong&gt;Reconnect&lt;/strong&gt; in &lt;code&gt;/mcp&lt;/code&gt;. Change one thing at a time and look at the status again after each change.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Connected, but the tool never runs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;code&gt;/mcp&lt;/code&gt; and look at the tools the server actually exposes. Compare them with its documentation: your account may lack access to some operations, or the server may need a setting that enables them.&lt;/li&gt;
&lt;li&gt;Then ask for the operation by name with a small, known input, for example "use the GitHub server to list three open issues in this repository", and watch the tool activity. A plausible answer does not prove the tool ran; the model may have answered from memory.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to include when you ask for help
&lt;/h2&gt;

&lt;p&gt;The application and version, the scope or config file, the server name, how it connects (local command or URL), the status shown and the exact error message. Remove tokens and private data first.&lt;/p&gt;

&lt;p&gt;The same checklist, with more detail on each state: &lt;a href="https://www.agentflowshub.com/en/learn/mcp-server-not-showing" rel="noopener noreferrer"&gt;MCP server not showing in Claude Code or Codex&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>chatgpt</category>
      <category>claude</category>
    </item>
  </channel>
</rss>
