Claude Desktop Extensions (.mcpb): Packaging a Remote MCP Server for One-Click Install

Claude Desktop Extensions (.mcpb): Packaging a Remote MCP Server for One-Click Install

●1 ●5 ●43
calendar_today • schedule1 min read

The MCP (Model Context Protocol) ecosystem just got a major usability upgrade: Claude Desktop Extensions (.mcpb).

Instead of asking users to hand-edit claude_desktop_config.json, extensions allow one-click install with secure credential storage.

Our use case: AgentShare — a price API for AI agents.

Challenge: Our MCP server is remote (Streamable HTTP), not local stdio. Standard extension examples assume local Node/Python servers.

Our solution: Pack mcp-remote inside the bundle. The server/index.js becomes a thin wrapper that spawns mcp-remote with the remote URL and user's API key (passed via user_config).

Key manifest.json snippet:

"server": {
  "type": "node",
  "mcp_config": {
    "command": "node",
    "args": [
      "${__dirname}/server/index.js",
      "https://agentshare.dev/mcp",
      "--header",
      "X-API-Key:${user_config.api_key}"
    ]
  }
}

Result: Claude users can install AgentShare in seconds. The API key stays in Claude's secure storage, never exposed in config files.

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.

Try it: The .mcpb file is on GitHub. Manual install works today.

#mcp #claude #aiagents #api

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

MCP Is the USB-C of AI. So Why Are You Plugging Everything In?

Ken W. Algerverified - Jun 10

I Wrote a Script to Fix Audible's Unreadable PDF Filenames

snapsynapseverified - Apr 20

CData's New AI Gateway Puts Context at the Center — Fixes the Three Reasons Enterprise AI Stalls

Tom Smithverified - Sep 28

Your AI Agent Skills Have a Version Control Problem

snapsynapseverified - Apr 22
chevron_left
744 Points • 49 Badges
Vietnam • agentshare.dev
18Posts
18Comments
10Connections
Founder at AgentShare.dev, specializing in AI-native commerce infrastructure. I build systems that t... Show more

Related Jobs

View all jobs →

Commenters (This Week)

4 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!