Skip to main content
Glama
Contract Review Demo MCP Server

Contract Review Demo MCP Server

Contract Review Demo MCP Server

This is a public-safe demo MCP server for learning how to package Tools, Resources, and Prompts. It uses fictional contract text and local demo rules only.

Safety Scope

This project is intentionally limited:

  • No real contracts

  • No real company, customer, case, or personal data

  • No database access

  • No internal network access

  • No external API calls

  • No API keys

  • No file writes or deletion tools

  • No legal advice

All outputs are examples for MCP learning.

Related MCP server: Basic MCP Server

Capabilities

Tools

  • classify_contract_type: classifies fictional contract text with local demo keyword rules.

  • generate_demo_risk_checklist: returns a fictional risk checklist for learning and product validation.

Resources

  • demo://contract/main: a fictional service contract.

  • demo://rules/review: fictional review rules.

Prompts

  • contract_review_template: a reusable demo prompt for structured contract review.

Local Run

Install dependencies in a Python 3.10+ environment:

python -m pip install -r requirements.txt

Run the server:

python server.py

Testing

From the repository root:

python3 -m unittest contract-review-demo-mcp/tests/test_demo_server.py

Publishing Notes

This demo is safe to publish because it exposes only fictional metadata and local deterministic behavior. Before publishing, review this README, smithery.yaml, and server.py to confirm no real business data or credentials were added.

When publishing through Smithery, use a dedicated demo GitHub repository that contains only this folder's files.

If you publish it for learning, remove or unpublish it after the exercise if you do not want the demo to remain discoverable.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A tutorial MCP server for learning the Model Context Protocol by building file and system tools. Provides hands-on experience creating custom tools that enable AI models to interact with files and execute system commands.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A minimal demonstration server showcasing MCP protocol capabilities including tools, resources, and prompts with basic examples like hello world functionality.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A demonstration MCP server showcasing tools (calculator, file operations, weather, timestamp), resources (server config, system info, documentation), and reusable prompt templates for code review, documentation, and debugging.
      Apache 2.0
    • A
      license
      B
      quality
      Not graded
      maintenance
      A demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.
      2
      MIT