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

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)

1 comment
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!