Back to docsCLI

PatchOps CLI.

Reach the PatchOps MCP from the terminal. Install, sign in, and search the connector catalog in three commands.

Quickstart

From zero to first call.

1

Install

Install the CLI globally from npm. Node 18+ is all you need.

@patchops/cli

Terminal

npm install -g @patchops/cli
2

Sign in

Authenticate with PatchOps, then list the tools you can reach to confirm the connection.

patchops login

Terminal

patchops login
patchops tools list
3

Search connector methods

Ask PatchOps for exact connector methods before making a canonical MCP tool call.

patchops call

Terminal

patchops call patchops_find --input '{
  "query": "operator wells in Loving County",
  "connector": "welldatabase"
}' --json
What you get

One sign-in, every connector

patchops login once and every connected provider is reachable from the terminal.

Protocol-native results

Calls return MCP JSON output that is ready to inspect or pipe into your own tools.

Isolated session

Your CLI session stays separate from the browser, and connector secrets never leave PatchOps.

Next steps