Skip to main content
Glama

MCPolice

by Twixes

MCPolice 🔒

International AI Compliance Monitoring System for tracking violations of international laws by AI tools.

Overview

MCPolice is a sleek web application designed for international agencies (Interpol, IAEA, UN, etc.) to monitor and track violations of international laws reported by AI tools via the MCP (Model Context Protocol) protocol.

Quick Start

# Install dependencies npm install # Start the web server with server npm run dev # The web dashboard will be available at http://localhost:5173 # The MCP server will be available at http://localhost:5173/mcp # MCP endpoints: /tools/list and /tools/call

MCP Integration

MCPolice implements the Model Context Protocol via HTTP transport.

MCP Endpoints:

  • GET /tools/list - List available MCP tools
  • POST /tools/call - Execute MCP tool calls

Available MCP Tools:

  • report_violation - Report a violation of international law
  • list_statutes - Get available international law statutes
  • get_violation_stats - Get violation statistics
  • list_violations - List recent violations with filtering

Testing MCP Tools:

# List available tools curl http://localhost:5173/mcp/tools/list # Get available statutes curl -X POST http://localhost:5173/mcp/tools/call \ -H "Content-Type: application/json" \ -d '{"name": "list_statutes", "arguments": {}}' # Report a violation curl -X POST http://localhost:5173/mcp/tools/call \ -H "Content-Type: application/json" \ -d '{ "name": "report_violation", "arguments": { "statute": "Rome Statute Article 7", "responsible_organization": "TestAI", "offending_content": "Test violation content" } }'

Production Deployment

# Create KV namespaces (first time only) npx wrangler kv:namespace create "VIOLATIONS_KV" npx wrangler kv:namespace create "VIOLATIONS_KV" --preview # Update wrangler.jsonc with the returned namespace IDs # Build and deploy npm run deploy

Architecture

MCPolice consists of two main components:

  1. MCP Server (src/mcp-server.ts) - Handles violation reporting via MCP protocol
  2. Web Dashboard (src/index.tsx) - Provides monitoring interface for agencies
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI tools to report violations of international laws to monitoring agencies like Interpol, UN, and IAEA. Provides tools for reporting violations, listing legal statutes, and retrieving violation statistics through the MCP protocol.

  1. Overview
    1. Quick Start
      1. MCP Integration
        1. MCP Endpoints:
        2. Available MCP Tools:
        3. Testing MCP Tools:
      2. Production Deployment
        1. Architecture

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A robust Model Control Protocol server that enables AI agents to access real-time cyber threat intelligence and detailed information about vulnerabilities, threat actors, malware, and other cyber-security entities.
            Last updated -
            10
            5
            MIT License
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables AI tools to interact with ActiveCampaign API, allowing contact management and tracking event analysis through natural language queries.
            Last updated -
            5
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that provides AI assistants with access to Institute of Internal Auditors professional standards, guidance documents, and resources for accurate audit guidance and compliance validation.
            Last updated -
            5
          • A
            security
            A
            license
            A
            quality
            A comprehensive MCP server providing tools for AI agents to interact with code, including reading symbols, importing modules, replacing text, and sending OS notifications.
            Last updated -
            3
            338
            3
            MIT License
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Twixes/mcpolice'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server