Handles environment variable management for sensitive data like the OpenAI API key.
Utilizes GPT-3.5-turbo model to generate dynamic interrogation strategies, simulate suspect responses, and create realistic dialogue flows for police interrogation simulations.
Manages package dependencies for the MCP server installation and execution.
LSPD Interrogation MCP Server
A Model Context Protocol (MCP) based police interrogation simulation server powered by OpenAI.
📌 Key Features
- MCP Integration:
- Built using Model Context Protocol SDK
- HTTP transport support
- Dynamic resource management (officer-profile, conduct-interrogation)
- OpenAI Integration:
- Uses GPT-3.5-turbo model
- Generates dynamic interrogation strategies
- Simulates suspect responses
- Creates realistic dialogue flows
- Core Components:
- Police officer profile management
- Smart interrogation mechanics
- Suspect behavior simulation
- Crime type and evidence integration
🚀 Installation
⚙️ Configuration
.env
file:
Configurable parameters in config.ts
:
- AI model selection
- Maximum token count
- Temperature parameter (creativity level)
🌐 API Endpoints
Officer Profile
GET /profile/:badgeNumber
Start Interrogation
POST /interrogations/{suspectId}
Suspect Response
POST /interrogations/{suspectId}/respond
🔍 Example Usage
✅ Data Validation
All endpoints include strong type checking and validation using Zod library:
- Pressure Level: 0-100 (required)
- Suspect Name: string format
- Evidence: string array (optional)
🔒 Security
- Sensitive data (OpenAI API key) managed through environment variables
- HTTPS enforcement in production
- Secure input handling with request validation
🤝 Contribution
- Fork the repository
- Create new branch (
feat/my-feature
orfix/issue-number
) - Commit your changes
- Push to the branch
- Open a Pull Request
📜 License
Distributed under the MIT License.
This server cannot be installed
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.
A Model Context Protocol server that simulates police interrogations, enabling users to create officer profiles and conduct dynamic interrogations with simulated suspect responses based on configurable parameters like pressure level, evidence, and crime type.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server implementation that provides structured, AI-friendly access to eRegulations data, making it easier for AI models to answer user questions about administrative procedures.Last updated -419TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that integrates essential penetration testing tools (Nmap, Gobuster, Nikto, John the Ripper) into a unified natural language interface, allowing security professionals to execute and chain multiple tools through conversational commands.Last updated -85231TypeScript
- -securityAlicense-qualityA Model Context Protocol server that provides network analysis tools for security professionals, enabling AI models like Claude to perform tasks such as ASN lookups, DNS analysis, WHOIS retrieval, and IP geolocation for security investigations.Last updated -1PythonApache 2.0
- -securityFlicense-qualityA utility module for creating Model Context Protocol servers declaratively, allowing developers to easily define tools, prompts, and resources with a simplified syntax.Last updated -JavaScript