Skip to content

dops mcp

MCP server for AI agent integration.

Synopsis

dops mcp <subcommand> [flags]

Description

Exposes runbooks as tools for AI agents via the Model Context Protocol. Each runbook becomes an MCP tool with a JSON Schema describing its parameters.

Subcommands

CommandDescription
dops mcp serveStart the MCP server
dops mcp toolsList available MCP tools

dops mcp serve

Start the MCP server.

sh
dops mcp serve [flags]
FlagDefaultDescription
--transportstdioTransport type: stdio or http
--port8080HTTP port (only for http transport)
--allow-riskcriticalMaximum risk level to expose: low, medium, high, critical

dops mcp tools

List available MCP tools and their schemas.

sh
dops mcp tools [flags]
FlagDefaultDescription
--allow-riskcriticalMaximum risk level to show

Examples

sh
# Start stdio server (for Claude Code)
dops mcp serve

# Start HTTP server on port 8080
dops mcp serve --transport http --port 8080

# Only expose low and medium risk runbooks
dops mcp serve --allow-risk medium

# List available tools
dops mcp tools

See also

Released under the MIT License.