<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged mcpb</title>
<link>https://coderlegion.com/tag/mcpb</link>
<description>Powered by Question2Answer</description>
<item>
<title>Claude Desktop Extensions (.mcpb): Packaging a Remote MCP Server for One-Click Install</title>
<link>https://coderlegion.com/16272/claude-desktop-extensions-mcpb-packaging-a-remote-mcp-server-for-one-click-install</link>
<description>&lt;blockquote&gt;&lt;p&gt;The MCP (Model Context Protocol) ecosystem just got a major usability upgrade: &lt;strong&gt;Claude Desktop Extensions (&lt;code&gt;.mcpb&lt;/code&gt;)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Instead of asking users to hand-edit &lt;code&gt;claude_desktop_config.json&lt;/code&gt;, extensions allow one-click install with secure credential storage.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Our use case:&lt;/strong&gt; AgentShare — a price API for AI agents.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Challenge:&lt;/strong&gt; Our MCP server is remote (Streamable HTTP), not local stdio. Standard extension examples assume local Node/Python servers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Our solution:&lt;/strong&gt; Pack &lt;code&gt;mcp-remote&lt;/code&gt; inside the bundle. The &lt;code&gt;server/index.js&lt;/code&gt; becomes a thin wrapper that spawns &lt;code&gt;mcp-remote&lt;/code&gt; with the remote URL and user's API key (passed via &lt;code&gt;user_config&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key manifest.json snippet:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;&quot;server&quot;: {
  &quot;type&quot;: &quot;node&quot;,
  &quot;mcp_config&quot;: {
    &quot;command&quot;: &quot;node&quot;,
    &quot;args&quot;: [
      &quot;${__dirname}/server/index.js&quot;,
      &quot;https://agentshare.dev/mcp&quot;,
      &quot;--header&quot;,
      &quot;X-API-Key:${user_config.api_key}&quot;
    ]
  }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Claude users can install AgentShare in seconds. The API key stays in Claude's secure storage, never exposed in config files.&lt;/p&gt;
&lt;p&gt;We've submitted the extension to Anthropic's directory. No guarantee of acceptance, but it's a milestone for making MCP accessible to non-developers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; The &lt;code&gt;.mcpb&lt;/code&gt; file is on &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/anhmtk/agentshare-mcp&quot;&gt;GitHub&lt;/a&gt;. Manual install works today.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#mcp&lt;/code&gt; &lt;code&gt;#claude&lt;/code&gt; &lt;code&gt;#aiagents&lt;/code&gt; &lt;code&gt;#api&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/16272/claude-desktop-extensions-mcpb-packaging-a-remote-mcp-server-for-one-click-install</guid>
<pubDate>Thu, 30 Apr 2026 15:09:10 +0000</pubDate>
</item>
</channel>
</rss>