Skip to main content
Glama

LSPD Interrogation MCP Server

by ziyacivan

LSPD 询问 MCP 服务器

由 OpenAI 提供支持的基于模型上下文协议 (MCP) 的警察审讯模拟服务器。

📌 主要特点

  • MCP集成
    • 使用模型上下文协议 SDK 构建
    • HTTP 传输支持
    • 动态资源管理(警官档案、行为审讯)
  • OpenAI集成
    • 使用 GPT-3.5-turbo 模型
    • 生成动态审讯策略
    • 模拟嫌疑人的反应
    • 创造真实的对话流程
  • 核心组件
    • 警员档案管理
    • 智能审讯机制
    • 嫌疑人行为模拟
    • 犯罪类型与证据整合

🚀 安装

pnpm install # Required environment variables cp .env.example .env # Start server pnpm start

⚙️ 配置

.env文件:

OPENAI_API_KEY=your_api_key_here

config.ts中可配置的参数:

  • AI模型选择
  • 最大令牌数
  • 温度参数(创意水平)

🌐 API 端点

官员简介

GET /profile/:badgeNumber

curl http://localhost:3000/profile/1234

开始审讯

POST /interrogations/{suspectId}

{ "suspectName": "John Doe", "pressureLevel": 75, "crime": "Armed robbery", "evidence": ["Fingerprint", "Security camera footage"] }

嫌疑人回应

POST /interrogations/{suspectId}/respond

{ "suspectName": "John Doe", "officerStatement": "Your fingerprints were found at the crime scene!", "guilt": 85, "personality": "cowardly", "previousResponses": ["I'm innocent!"] }

🔍 使用示例

# Get officer profile curl http://localhost:3000/profile/1234 # Start interrogation curl -X POST http://localhost:3000/interrogations/suspect_01 \ -H "Content-Type: application/json" \ -d '{ "suspectName": "John Doe", "pressureLevel": 80, "crime": "Drug trafficking", "evidence": ["Search records", "Confidential witness statement"] }'

✅ 数据验证

所有端点都包括使用 Zod 库的强类型检查和验证:

  • 压力等级:0-100(必填)
  • 嫌疑人姓名:字符串格式
  • 证据:字符串数组(可选)

🔒 安全

  • 通过环境变量管理的敏感数据(OpenAI API 密钥)
  • 生产环境中的 HTTPS 强制执行
  • 通过请求验证来确保输入处理的安全

🤝 贡献

  1. 分叉存储库
  2. 创建新分支( feat/my-featurefix/issue-number
  3. 提交你的更改
  4. 推送到分支
  5. 打开拉取请求

📜 许可证

根据 MIT 许可证分发。

-
security - not tested
A
license - permissive license
-
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.

模拟警察审讯的模型上下文协议服务器,使用户能够创建警官档案并根据压力水平、证据和犯罪类型等可配置参数对模拟嫌疑人反应进行动态审讯。

  1. 📌 主要特点
    1. 🚀 安装
      1. ⚙️ 配置
        1. 🌐 API 端点
          1. 官员简介
          2. 开始审讯
          3. 嫌疑人回应
        2. 🔍 使用示例
          1. ✅ 数据验证
            1. 🔒 安全
              1. 🤝 贡献
                1. 📜 许可证

                  Related MCP Servers

                  • A
                    security
                    F
                    license
                    A
                    quality
                    A 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 -
                    4
                    19
                    TypeScript
                    • Linux
                    • Apple
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A 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 -
                    8
                    36
                    42
                    JavaScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A 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 -
                    1
                    Python
                    Apache 2.0
                    • Linux
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A utility module for creating Model Context Protocol servers declaratively, allowing developers to easily define tools, prompts, and resources with a simplified syntax.
                    Last updated -
                    64
                    JavaScript

                  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/ziyacivan/mcp-officer'

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