🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@drdeploy/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drdeploy/mcp

Model Context Protocol server for drdeploy — exposes site scanning, findings, and status as MCP tools to AI editors (Claude Code, Cursor, Cline, Continue).

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
33
-25%
Maintainers
1
Weekly downloads
 
Created
Source

drdeploy MCP server

Exposes drdeploy capabilities as a Model Context Protocol server so AI editors (Claude Code, Cursor, Cline, Continue, …) can call into your monitored sites without leaving the IDE.

Tools surfaced

drdeploy.list_sites              → array of {host, environment, plan, last_scan}
drdeploy.scan(url)               → triggers a scan, returns scan_id
drdeploy.get_findings(scan_id)   → latest findings, severity-grouped
drdeploy.get_status(host)        → uptime + cert + last-finding summary
drdeploy.watch(host)             → start watching a host (subscribable)

Each tool maps 1:1 to a /api/v1/* endpoint on the Rails app. The MCP layer is auth-scoped to the user's local CLI token (~/.config/drdeploy/token) — it never asks the agent for credentials.

Transports

  • stdio (default) — drdeploy mcp serve from the CLI binary runs this. Used by Claude Code, Cursor, etc.
  • http (planned) — a long-running daemon for browser-based agents. Not built yet.

Install for an agent

drdeploy mcp install --client claude     # writes ~/.claude/mcp_servers.json
drdeploy mcp install --client cursor     # writes ~/.cursor/mcp.json
drdeploy mcp install --client cline      # writes ~/.cline/mcp_settings.json

Each command writes the right config file with the right command + args invocation, then prints what it did.

Why this lives in sdk/mcp/

The MCP server is its own package because:

  • Test isolation — the protocol layer can be unit-tested without the CLI shell parsing in the way.
  • Future standalone publish — if MCP catches on outside of editor embedding (Slack bots, headless agents, CI runners), we may publish @drdeploy/mcp on npm independently of the CLI.
  • Type sharing — the MCP tool definitions are the source of truth for what the CLI exposes too.

The CLI imports it as @drdeploy/mcp (workspace-linked) and bundles it into the single binary at compile time.

Build

bun install
bun run build              # → bundle for inclusion in the CLI binary
bun run typecheck

Spec source

/api/v1/openapi.json on the Rails app is the contract. The MCP tool definitions are generated from it — re-run bun run regen-tools whenever the OpenAPI spec changes.

Keywords

drdeploy

FAQs

Package last updated on 07 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts