
Contract Ops Mcp
io.github.DrBaherPublished by GitHub account DrBaherv0.3.0Updated Oct 24, 2026
One MCP server for the contract-ops suite: all nine local-first CLIs as agent tools.
Overview
Local MCP server that exposes nine contract-ops command-line tools to an assistant for extracting, linting, comparing, drafting and reviewing contracts.
- What you can do
- Extract contract files (.md, .txt, .html, .docx, .pdf) into structured JSON with parties, dates and clauses, and lint them for placeholders, broken references and numbering or date defects. Compare two contract versions clause by clause to show substantive, cosmetic or moved changes. Fill template placeholders with typed parameters and convert DOCX files to PDF. Score an NDA against a house playbook with supporting evidence. Search and resolve versioned templates, and query a signed-contract register for renewals, notice deadlines and renewal exposure. Verify signed PDFs and receipt bundles, walk the audit log, list installed CLIs, and run any suite CLI through a catalog and raw-argument pas
- When to use it
- Useful when you work with contracts in an agent and want extraction, consistency checks, version comparison, NDA review or template filling without leaving the chat. Also suited to teams already using the contract-ops CLIs who want an assistant to drive them.
- Requirements
- Runs locally over stdio, typically launched with npx. The nine contract-ops CLIs must already be installed on the machine, since the server shells out to them. PDF conversion needs a PDF backend such as LibreOffice. File paths are confined to CONTRACT_OPS_MCP_BASE_DIR, which defaults to the working directory.
Installation
In SourceWeft
- Open Contract Ops Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
contract-ops-mcp
One MCP server for the whole contract-ops CLI suite — wire it up once and an agent (Claude, Cursor, Codex, …) gets all nine local-first CLIs as tools: extract, draft, lint, compare, convert, review, and the template + signed-contract vaults. Signing stays human-gated.
Run this
The CLIs themselves must be installed (the server shells out to them). Fastest way to get all nine:
Call suite_status any time to see which CLIs are present and how to install any that aren't.
Prefer a ready-made agent? contract-ops-agent is a terminal agent that already wraps this server in an enclosure — the model's only tools are the contract-ops tools, no shell/filesystem/signing by construction. Bring your own model (Claude, OpenAI, or any OpenAI-compatible endpoint):
npm i -g contract-ops-agent.
Tools
Curated, ergonomic tools (typed inputs, JSON out) for the common operations, plus two escape hatches for the long tail:
The curated set and catalog/run are discovery-driven — they ride the suite's uniform --catalog json contract, so they stay in sync as the CLIs evolve.
Safety
- Signing is human-gated. Only sign-cli's read/verify operations are exposed (
verify_signature,verify_receipt,audit_show) — never request-create or sign. This is enforced: therun/catalogescape hatches reject anysignsubcommand outside a read-only allowlist, so request-create/send/sign/approve can't be reached here. Those stay behind sign-cli's own MCP server with its per-signer approval tokens, so this server can't become an unguarded signing path. - Filesystem lockdown. File-path arguments to the curated tools are confined to
CONTRACT_OPS_MCP_BASE_DIR(default: the working directory). Set it to widen the sandbox. - No shell. CLIs are invoked with
execFile(no shell interpolation).
License
MIT. Part of the contract-ops CLI suite. See AGENTS.md for the agent contract.
Source: README.md at commit c1817d1
Tools
0Version history
1- v0.3.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts