Introduction¶
When performing integration debugging or maintaining API documentation within DSH (DeepSeek Harness), Postman often remains the primary battleground for teams to store Collections. Manually adding, deleting, or modifying entries via the Postman web interface and cross-checking with AI in conversations is costly and prone to oversight. Common workarounds involve copying JSON, writing curl commands by hand, or having AI merely “suggest” changes without actually writing them to the cloud.
dsh-postman is a community-maintained DSH plugin that connects Postman’s official API operations—querying, creating, deleting, modifying, importing, and exporting—to model-visible tools. The plugin is not bound to any specific language or framework; it is solely responsible for communicating with Postman. Organizing interface lists from source code and writing them in batches is left to the model and the user.
Overview¶
- Name: dsh-postman (npm package name is also
dsh-postman) - Maintainer: LiuJiaCheng11
- Category: Network Tool (SkillHub Directory)
- Positioning: A DeepSeek Harness plugin that allows AI to directly manipulate Postman (web version) Collections.
- Repository: https://github.com/LiuJiaCheng11/dsh-postman
- License: MIT (see
package.jsonin the repository) - Version: The
package.jsonin the materials indicates 0.5.0; when installing from the GitHub source, it tracks the latest commit onmainby default.
Repository Ownership Notice: There is another repository on GitHub named
zhousun55-byte/dsh-postman(a file upload plugin) which shares the same package name. Installing the wrong one will cause them to overwrite each other. Please ensure you installLiuJiaCheng11/dsh-postman.
Core Features¶
The plugin exposes 9 tools to the model and registers the /postman-skill skill (usage is similar to /browser-skill; it can be selected from the / list in the input box to inject the tool table and typical workflows into the current session).
| Tool | Function |
|---|---|
postman_list |
List all collections (name + uid) |
postman_tree |
Display the directory tree and interface list of a collection; can limit by path, and will explicitly indicate truncation if the output is too long. |
postman_add |
Add a new interface to a specified directory (can auto-create directories and inherit collection auth). |
postman_add_many |
Batch add; performs GET / backup / PUT on the collection only once for the entire batch, skips duplicates by name, supports dryRun. |
postman_edit |
Modify existing interfaces in place (rename, URL, method, headers, body, description, auth, etc.). |
postman_rm |
Delete an interface by name. |
postman_pull |
Export collection as Postman v2.1 JSON. |
postman_push |
Overwrite collection entirely with local JSON. |
postman_config |
View / Set / Clear API Key. |
Design Points (from README):
- Only handles Postman, not source code: The plugin contains no language, framework, or route conventions; for batch additions, the AI reads project code to organize the list, then hands it to
postman_add_manyfor a single write. - Configuration: It is recommended to fill in the API Key in dsh “Settings → Postman”; fields are marked with
role('secret')and plaintext is not returned to the browser. The only dependency is@deepseek-ai/schemastery; everything else uses Node built-in modules. - Modifying Interfaces: Prioritize using
postman_editfor in-place patches; do not use “delete then add” (postman_rmthenpostman_add), otherwise fields like Pre-request / Tests scripts and example responses will be silently lost.
Runtime Environment (package.json): Node >=22.5, dsh >=0.1.1-rc.1.
Installation and Activation¶
The plugin directory itself is a dsh bundle. Use the built-in dsh command to install from GitHub:
dsh plugin --profile web add github:LiuJiaCheng11/dsh-postman
Pin to a specific commit:
dsh plugin --profile web add github:LiuJiaCheng11/dsh-postman#<commit-sha>
After installation, dsh will write dsh-postman into dsh.profile.bundles in ~/.dsh/profiles/web/package.json. A dsh restart is required (re-run dsh web) for the plugin to take effect; refreshing the browser or opening a new tab is not sufficient for hot-reloading plugin code.
Verify if it is installed:
dsh --profile web --dump-config | grep -i postman
Configuring Postman API Key¶
- Generate a Key (starting with
PMAK-) at Postman Account Settings → API Keys. - Enter it in dsh “Settings → Postman” (Recommended). If the current session still reads the old Key after saving, start a new session or restart dsh; you can also use
postman_configto viewstatusand the Key source. - 0.2.x provides the settings section above; for 0.1.x users without this page in the Web client, use the backup page
http://127.0.0.1:<port>/dsh-postman, or directly edit the profile’scordis.patch.yml.
Key Reading Fallback Order (Explained in README):
apiKeyin the settings form (written to~/.dsh/profiles/<profile>/cordis.patch.yml)~/.dsh/dsh-postman/config.json(written by the backup page, permission 0600)~/.postman_api_key(legacy file)- Environment variable
POSTMAN_API_KEY
The backup page re-reads the file every time a Key is requested, so changes take effect immediately. It is suitable for troubleshooting issues with the settings page and session caching.
Typical Usage¶
After installing, configuring the Key, and restarting dsh, you can drive tools directly with natural language; you can also input /postman-skill first to inject the full instructions.
Conversation examples from the README:
- List my Postman collections
- Add a GET interface
http://localhost:8080/api/v1/modelsunder the “Test” directory in the App collection - Change the address of “Health Check” in the App collection to
/healthz - Export the Converter collection to
D:/tmp/converter.json - Scan
D:/src/MyApito see which interfaces are not yet in Postman - Write the unsynced interfaces from
D:/src/MyApiinto the App collection
When viewing large collections, use path with postman_tree to narrow the scope or increase limit; when truncated, the output will include a clear prompt and the top-level directory names.
Before batch adding, you can use postman_add_many with dryRun: true to preview the items that will be added or skipped.
Use Cases and Notes¶
Suitable for: Teams or individuals already using the DSH Web profile, with Collections hosted on Postman cloud, who wish to complete collection browsing and CRUD within the conversation, or synchronize multiple interfaces from local code/lists at once.
Please be aware before use:
- The plugin runs with the permissions of the current dsh process and holds the Postman API Key you configured. It can perform destructive operations (deletion, full push overwrite, etc.) on cloud Collections. Please read the repository source code and the MIT license before installation to assess the trust boundary yourself.
- The networking tool accesses the Postman API; network access and Key permission scope are determined by your Postman account.
- The community directory SkillHub Plugin Page has no official affiliation with DeepSeek or High-Flyer; the DSH ecosystem philosophy is “Everything is a plugin.” The facts in this article are subject to the GitHub README and repository files.
Summary¶
dsh-postman consolidates the reading and writing of Postman cloud Collections into a set of model tools, supplemented by /postman-skill and a Web settings page, reducing the steps of manually transporting JSON between the Postman web interface and AI conversations. If your integration debugging workflow is Postman-centric, you can install it in DSH using the commands above, configure the Key, restart, and try it out.