Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to create a DXT extension via the DXT CLI tool?

2025-08-19 380
Link directMobile View
qrcode

The steps to create a DXT extension are as follows:

  1. Install Node.js (recommended version ≥ 16.0.0) as the DXT CLI relies on the Node.js environment.
  2. Install the DXT CLI tool globally via npm:npm install -g @anthropic-ai/dxtThe
  3. Create a local project folder (e.g. my-extension) and go to that folder to run thedxt init my-extensionInitialize the extension. You will be prompted for the extension name, author information, and extension ID, and some of the information will be auto-populated if there is a package.json in the folder.
  4. Configure the manifest.json file to define the extension's metadata and server configuration, including server type, entry file path, user configuration items, and so on.
  5. Write the MCP server code, usually in the server folder, e.g. index.js.
  6. (of a computer) rundxt pack my-extension my-extension.dxtcommand to package the project as a .dxt file. The packaged file is a ZIP archive with all dependencies.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish