contract-sentinel
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@contract-sentinel ingest this NDA and flag any risky clauses"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π‘οΈ C Sentinel β Autonomous AI Contract Sentinel
An enterprise-grade, MCP-powered AI agent system for automated contract ingestion, clause extraction, continuous risk monitoring, and real-time LLM integration.
π Live Demos
Frontend Dashboard (Vercel): https://contract-sentinel-seven.vercel.app
MCP Backend Endpoint (NitroCloud):
https://c-sentinel-6a6ca7d2-dcoders-srmist.app.nitrocloud.ai
Related MCP server: legal-contract-mcp
π Overview
C Sentinel is an autonomous risk-analysis agent built to solve enterprise legal bottlenecks. Powered by the Model Context Protocol (MCP), C Sentinel continuously monitors, ingests, and analyzes legal agreements (MSAs, NDAs, SLAs) to extract critical risk factors, uncapped liabilities, and dangerous SLA terms.
It provides both a modern, interactive web dashboard for human operators and a standardized MCP server interface that seamlessly integrates with external LLMs like ChatGPT and Claude.
β¨ Key Features
π Automated Contract Ingestion: Ingest vendor agreements and instantly calculate overall risk scores (0β100%).
π§ Continuous Sentinel Analysis Cycle: Autonomous background cycle that audits all stored agreements for non-compliant clauses.
β‘ Model Context Protocol (MCP) Native: Exposed as a streamable MCP server, allowing LLMs (like ChatGPT or Claude Desktop) to invoke tool actions (
ingest,fetch_contracts,run_analysis) natively.π Real-Time Operations Dashboard: Built with React, Vite, and Tailwind CSS to display contract velocity, risk breakdown charts, and active alerts.
ποΈ Architecture & Deployment
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ChatGPT / LLM Connectors β
ββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β (MCP Protocol)
βΌ
ββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ
β Vercel Frontend ββββΆβ NitroCloud Backend β
β (React / Vite) β β (NitroStack MCP Server) β
ββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββComponent | Tech Stack | Hosting Platform |
Frontend UI | React, TypeScript, Vite, Tailwind CSS | Vercel |
Agent Backend | Node.js, TypeScript, NitroStack MCP SDK | NitroCloud |
Repository | Monorepo Structure ( | GitHub |
βοΈ Environment Variables
Frontend (/ui)
Configure the backend connection URL in your .env file or deployment settings:
VITE_API_BASE_URL=https://c-sentinel-6a6ca7d2-dcoders-srmist.app.nitrocloud.aiπ οΈ Local Development Quickstart
Prerequisites
Node.js (v18+)
npm / pnpm
1. Clone the Repository
git clone https://github.com/sachin0610-srm/contract-sentinel.git
cd contract-sentinel2. Run Backend (MCP Server)
cd server
npm install
npm run dev3. Run Frontend UI
cd ../ui
npm install
npm run devOpen http://localhost:5173 to access the local dashboard.
π Connecting to ChatGPT / External MCP Clients
Open ChatGPT $\rightarrow$ Settings $\rightarrow$ Developer Mode / Apps.
Add a new MCP Connector / Server.
Set Server URL to:
https://c-sentinel-6a6ca7d2-dcoders-srmist.app.nitrocloud.ai/mcpSet Authentication to
No Authand save!
π₯ Authors & Credits
Developed with β€οΈ for the Hackathon by Sachin K (@sachin0610-srm).
Available Tools
4 toolsingest-contractIngest contractA
Store a contract from its raw text. Assigns a unique id, extracts key clauses, the deadline date and the obligations into structured data, and adds it to the tracked contract portfolio.
Inputs: contractText (required), title.
review-portfolioReview contract portfolioARead-onlyIdempotent
Return the contract board: every tracked contract as a card with its risk score, classification (safe or danger), the exact clause text that drove the score, and the recommended action. Optionally filter to safe, danger, or contracts needing attention. Renders the contract-board widget.
Inputs: filter.
run-sentinel-cycleRun sentinel cycle (agent loop)A
Run the autonomous Contract Sentinel agent loop over the entire tracked portfolio: perceive every contract, score its clause risk with full evidence, decide whether it needs action (deadline close, high risk score, or never reviewed), then act by setting status to needs_attention and recording a recommended action (renew as-is / renegotiate with talking points / let lapse). Designed to run on a schedule in production; runnable on demand here. Renders the contract-board widget.
Inputs: dryRun, onlyContractId.
set-company-profileSet company profileAIdempotent
Store the company context (industry, headcount, jurisdiction, risk tolerance) for this session. Every other Contract Sentinel tool reads this profile when scoring contracts.
Inputs: industry (required), companySize (required), jurisdiction (required), riskTolerance (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
Each tool serves a distinct role: profile setup, contract ingestion, automated analysis, and portfolio review. There is no functional overlap between them.
All tool names follow a clear verb-noun pattern using hyphens (set-, ingest-, run-, review-), making the naming predictable and consistent.
With four tools, the set is well-scoped for a contract monitoring workflow: setup, input, processing, and output. No redundancy or excessive expansion.
The core lifecycle (profile setup, contract ingestion, analysis, and review) is covered. Minor gaps like deleting or manually updating contracts are not essential for the sentinel's autonomous monitoring purpose.
Related MCP Connectors
AI legal compliance: contract review, risk scoring, EU/CN AI act, watermark check. 8 MCP tools.
Connect AI to millions of laws and court cases with the Lawstronaut MCP.
ContractOracle - 10 contract analysis tools: clause extraction, redlines, DORA mappings.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that analyzes legal documents, extracts key clauses, identifies risks, and summarizes contracts. 8 tools for AI agents needing legal document intelligence.-
- FlicenseAqualityDmaintenanceMCP server for first-pass legal contract review. It loads txt/docx/pdf contracts, detects standard clauses, flags heuristic risks, summarizes, and compares agreements.8-
- FlicenseNot gradedqualityBmaintenanceEnables automated labor and service contract risk review through MCP, supporting single or batch contract analysis, risk knowledge base queries, and regional regulation lookups.-
- FlicenseNot gradedqualityCmaintenanceProvides specialized legal intelligence tools for multi-hop legal research, contract risk redlining, and statutory deadline computation through the Model Context Protocol.-