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-featureまたはfix/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