Katherine Communication MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Katherine Communication MCP
Privacy-preserving real-time diagnostic for AI agent communication integrity. Detects model provider content manipulation via cross-lingual self-consistency — no model internals, no second provider, no prior knowledge of triggers required.
Reference implementation for: Privacy-Preserving Detection of Model Provider Content Manipulation via Cross-Lingual Self-Consistency (PoPETs 2027, under review).
Quick Start
# Clone
git clone https://github.com/anlimi555s/katherine-comm-mcp.git
cd katherine-comm-mcp
# Configure
cp config.example.json config.json
# Edit config.json with your API key, base URL, and model
# Run (MCP stdio protocol)
python server.pyRelated MCP server: EVIDIQ Bulwark
Tools
Tool | Description |
| Full pipeline: L2 transformation + dual-language canary + Neuro validation |
| Pipeline health, configuration, and transformation stats |
| Cumulative context toxicity (censorship event counter) |
| Reset toxicity counter (call after context flush) |
Architecture
User Prompt
│
▼
[L0] Aho-Corasick multi-pattern match (CCP_GFW lexicon, <10ms)
│
├─ low risk ──▶ direct forward ──▶ response
│
└─ high risk ──▶ [L2] Chinese→English + abstraction
│
▼
[L3] Dual-language canary routing
(zh first → 400? → en fallback)
│
▼
[L4] Neuro: 4-judge validation
(length / status / refusal / entity)
│
▼
diagnostic label + responsePipeline
server.py (~100 lines): MCP stdio JSON-RPC server, 4 tools
pipeline.py (~200 lines): Core orchestration — pre-hook → send → post-hook
transform.py (~180 lines): Aho-Corasick word detection + L2 semantic transformation
toxicity.py: Cumulative toxicity scoring with configurable thresholds
Configuration
{
"api": {
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat",
"format": "openai",
"timeout_s": 30
},
"wordlist": {
"path": "path/to/CCP_GFW_detector/words_list",
"tiers": ["red_light_word", "orange_light_word", "yellow_light_word"]
},
"toxicity": {
"threshold": 5,
"window_seconds": 3600
}
}Note: The CCP_GFW_detector word lists are pre-existing open-source data, re-used without modification. They are not included in this repository. Obtain them from their original source.
Experimental Results
Validated on two Chinese-origin production models:
Model | Strategy | MCP CLEAN Rate | Baseline | Gain |
Qwen-Max | Symmetric hard blocking | 57.3% | 39.3% | +18pp |
DeepSeek V4 Pro | Asymmetric soft refusal | 70.8% ZH_REFUSED detected | 32.2% baseline | +38.6pp sensitivity |
Full experimental data, analysis scripts, and prompt sets: included in experiments/ (this repository). See experiments/README.md for dataset documentation and reproduction instructions.
License
AGPL-3.0. See LICENSE.
Citation
@article{cheng2026crosslingual,
title={Privacy-Preserving Detection of Model Provider Content Manipulation via Cross-Lingual Self-Consistency},
author={Cheng, Le},
journal={Proceedings on Privacy Enhancing Technologies},
year={2027},
note={Under review}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Toxicity, sentiment, NER, PII detection, and language identification tools
Real-time prompt injection filtering, MCP payload inspection, and A2A trust scoring.
49 deterministic tools for text integrity, agent control, and contextual quality evidence.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables testing AI safety classifier robustness against query decomposition, obfuscation, and multi-agent attacks. Provides tools for full evaluation pipelines, query previews, and status checks.46MIT

EVIDIQ Bulwarkofficial
AlicenseNot gradedqualityBmaintenanceProvides deterministic scanning and detection of prompt injection, jailbreak, data-exfiltration, and system-prompt leaks, with EIP-191 signed attestations and 0G Storage anchoring for verifiable safety reports.1MIT- AlicenseNot gradedqualityNot gradedmaintenanceEnables real-time indirect prompt injection fuzzing, exfiltration canary detection, least-privilege tool sandboxing, and cryptographic audit proofs over MCP.MIT
- AlicenseNot gradedqualityBmaintenanceEnables real-time injection fuzzing and canary-based exfiltration detection over untrusted prompts, RAG context, and agent actions, with entropy analysis, outbound channel interception, least-privilege sandboxing, and cryptographic audit proofs.7MIT