Package your MCP as a DXT for non-technical users
When to use: You don't want to ask users to edit JSON config files.
Prerequisites
- Working MCP server — Use mcp-python-sdk or mcp-go to build first
Flow
-
Init manifestUse DXT skill. Run
dxt initin my MCP repo. Walk me through the manifest fields.✓ Copied→ manifest.json scaffolded -
Declare config promptsMy MCP needs an API_KEY. Add it as a user-prompt config field in the manifest.✓ Copied→ User prompt field with description
-
Build and testRun
dxt pack. Install in Claude Desktop. Verify config prompts appear.✓ Copied→ .dxt file installs cleanly; prompts render
Outcome: Your MCP installable by anyone with Claude Desktop in 2 clicks.
Pitfalls
- Bundle size > 100MB — Trim deps; use --node-version to avoid bundling heavy node modules