Getting started with MCP Desktop Extensions (DXT) in Claude Desktop
Om Shree

Om Shree @om_shree_0709

About: Writing Content That Speaks

Location:
India
Joined:
Feb 27, 2025

Getting started with MCP Desktop Extensions (DXT) in Claude Desktop

Publish Date: Jul 11
19 4

MCP Desktop Extensions (DXT) allow developers to package and install Model Context Protocol (MCP) servers into Claude Desktop with a single click—eliminating the need for terminal commands or complex setup. This beginner-friendly guide walks through the fundamentals of DXT and demonstrates how to install and use .dxt extensions to connect Claude with external tools, starting with a basic file system integration and concluding with a real-world Twitter analytics use case.

What Are Desktop Extensions (.dxt)?

.dxt files are zip-based packages that bundle a local MCP server and a manifest.json file describing its capabilities. This packaging format enables one-click installation of MCP servers into Claude Desktop on Windows and macOS1.

Why Use DXT? Key Benefits

  • No manual dependencies: Claude Desktop includes built-in runtime support, eliminating the need to install tools like Node.js.
  • Secure configuration: Secrets are collected via a GUI and stored in the OS keychain2.
  • Cross-platform and auto-updating: Supports Windows and macOS, with install audits and seamless updates.

How DXT Works Internally

  1. Manifest Parsing: Claude reads the manifest.json file to understand the server's permissions, parameters, and commands.
  2. Environment Setup: Users provide configuration (e.g., API keys, folder paths) via a secure GUI.
  3. Server Launch: Claude launches the MCP server locally and forwards prompts.
  4. Tool Invocation: Commands (e.g., list_files) are passed to the server via JSON-RPC over stdio.

Image

Getting Started3

1. Install the DXT CLI Globally

npm i -g @anthropic-ai/dxt
Enter fullscreen mode Exit fullscreen mode

2. Initialize a New Project

  • Create a new folder and open it in your preferred code editor (e.g., VS Code, Cursor).
  • In the terminal, run:
dxt init
Enter fullscreen mode Exit fullscreen mode
  • Fill in the configuration details or replicate the example shown below. This generates your manifest.json file.

Image

3. Edit the manifest.json File4

Update the server configuration as follows:

"command": "npx",
"args": [
  "-y",
  "@modelcontextprotocol/server-filesystem",
  "${user_config.folders}"
],
"multiple": true
Enter fullscreen mode Exit fullscreen mode

This configuration enables multi-directory access via the filesystem MCP server.

Image

4. Package the Extension

dxt pack
Enter fullscreen mode Exit fullscreen mode

This command builds your .dxt file.

Image

5. Install in Claude Desktop

  • Double-click the generated .dxt file, or manually install it via: Settings > Extensions > Advanced Settings > Install Extensions
  • Select your .dxt file.

Image

After installation, select the folders you wish to expose and restart Claude Desktop.

Image

6. Verify the Extension

In Claude Desktop Chat, type:

List all folders you have access
Enter fullscreen mode Exit fullscreen mode

You will be prompted to authorize access.

Image

Once authorized, Claude will display the list of accessible folders.

Conclusion

This feels like one of those "before and after" moments in developer tooling. DXT transforms MCP from something for the technically adventurous into something anyone can use. I'm already dreaming up extensions for my specific workflows—a project manager that connects to GitHub, a research assistant that taps into scientific databases, or a writing helper that integrates with my note-taking system.

The best part? Each one will be a simple double-click away. If you've been curious about extending Claude but intimidated by the setup, now's the time to dive in. The water's finally warm.

References


  1. Anthropic Desktop Extensions (DXT) Github  

  2. Nicholas Gerasimatos LinkedIn Post  

  3. Desktop Extensions: One-click MCP server installation for Claude Desktop  

  4. DXT Manifest Schema Github File 

Comments 4 total

  • Anna kowoski
    Anna kowoskiJul 12, 2025

    Well Written, can you explain Microsoft Azure MCP.

  • Random Animal
    Random AnimalJul 16, 2025

    Good job! I'm interested!

    • Om Shree
      Om ShreeJul 16, 2025

      Thanks Sir ! Glad you liked it.

Add comment