Back to catalog

lengrufeng2008 /

lengrufeng2008/dsh-mcp-doctor

Verified

Static validation of a local MCP JSON config: command/url presence, command availability, URL syntax, args/env types.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@3a8f2ebe

MCP Doctor for DSH

Static validation of a local MCP JSON config. No server start, no handshake, no network.

Use

node bin/dsh-mcp-doctor.mjs ./mcp.json
node bin/dsh-mcp-doctor.mjs ./mcp.json --json

In DSH:

Use mcp_doctor on ./mcp.json.

Checks

  • mcpServers, mcp.servers, or servers present
  • command/url present
  • command exists on PATH or absolute executable
  • URL syntax/protocol
  • args and env types
  • empty/duplicate names

Limits

  • JSON only
  • Command lookup uses the current environment, not the MCP client's
  • No actual MCP handshake/tool enumeration/auth
  • Not a security audit

Tests

npm test

Provenance

A small independent config validator. License: MIT.

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.