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

posted 1 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

208 Points4 Badges4
Vietnamagentshare.dev
4Posts
2Comments
2Followers
2Connections
Founder at AgentShare.dev, specializing in AI-native commerce infrastructure. I build systems that treat 'reliability as currency' for autonomous agents. Currently developing a curated MCP registry to solve the data-gap in the AI ecosystem. Open to collaborating on AI agents and MCP innovations.
Build your own developer journey
Track progress. Share learning. Stay consistent.
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

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

snapsynapseverified - Apr 20

Your AI Agent Skills Have a Version Control Problem

snapsynapseverified - Apr 22

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28

Agent-native MCP Submission: A Metric and a One-Week Experiment

anhmtk - May 1

One Week Later: What I Learned from Launching an AI Agent API and a Curated MCP Registry

anhmtk - Apr 24
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

8 comments
2 comments

Contribute meaningful comments to climb the leaderboard and earn badges!