Introduction¶
When developing agents in DeepSeek Harness (DSH), you often need to connect internal enterprise systems (such as MOM MES) to the tool table. The conventional approach is to manually wrap HTTP interfaces or maintain a middleware service, which introduces extra maintenance costs and increases deployment complexity. By abstracting MES query capabilities into standard tools via MCP (Model Context Protocol), agents can call them directly without any changes to business code.
What Is It¶
osuno/dsh-plugin-mcp-mvp-mes is an MCP Demo connector for MOM MES. It is maintained by OsunO and categorized as a connectivity tool. The plugin connects to the MCP service of MOM MES, providing query tools for work orders, purchase orders, inspection sheets, and more to the agent.
Core Features¶
- Connects to the MOM MES MCP service at the endpoint
https://mom-mes-connector-t.hdt.cosmoplat.com/mcp, with the service namemvpMes. - Communicates with the service using a configured API Key; the request header is
Authorization: Bearer ${credential:MOM_MES_API_KEY}. - The API Key is stored in the Harness credential vault. After saving, the connection is automatically rebuilt without requiring a restart.
- Once configuration is complete, tools appear in the agent tool table in the format
mcp__mvpMes__<tool_name>. - When not configured, the MCP instance stays in the
waiting-credentialsstate, registers no tools, and does not consume reconnection attempts.
Installation and Setup¶
Install via npm:
npm install dsh-plugin-mcp-mvp-mes
After installation, open Plugins from the left sidebar in DSH, find MOM MES Connector under Installed plugins, fill in the API Key (MOM_MES_API_KEY), and click Save.
Typical Usage¶
Once configured, tools will automatically appear in the agent tool table. The agent can invoke MES query capabilities via mcp__mvpMes__<tool_name>, such as querying work orders, purchase orders, and inspection sheets. The API Key is stored in the Harness credential vault, never displayed in plaintext, and the form shows “Configured / Not Configured” along with a masked preview.
Use Cases and Notes¶
This plugin is suitable for scenarios that require integrating MOM MES query capabilities into agents. The plugin runs with the permissions of the current DSH process; you should review the source code and license before installing. Configuration priority is: plugin page form > process environment variables at startup > .env in the project directory / ~/.dsh/.env. Saved values have the highest priority and will override any legacy .env settings; to let environment variables take effect again, you can use the Clear button on the plugin page to remove that reference.
Summary¶
With this plugin, you can use MOM MES MCP tools directly in DSH without additional wrappers or middleware services, reducing maintenance costs. Plugin repository: https://github.com/OsunO/dsh-plugin-mcp-mvp-mes