Skip to content
Back to search

Srk_Crystallizer

Industrial-grade MCP server for surgical code editing & LLM quota optimization (-90% quota, atomic rollback, native C engine).

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/papytechnologies--srk-crystallizer/badge.svg)](/listings/papytechnologies--srk-crystallizer)

HTML

<a href="/listings/papytechnologies--srk-crystallizer"><img src="/api/listings/papytechnologies--srk-crystallizer/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 135 lines
  1. <p align="center">
  2. <h1 align="center">💎 SRK-Crystallizer v2.1</h1>
  3. <p align="center">
  4. <strong>Ultra-Low Quota MCP Server &amp; Atomic Code Synthesis Engine</strong><br>
  5. <em>Hardware-Grade AST Surgical Patching — 100% Native C Machine Code (LTO Hardened)</em>
  6. </p>
  7. </p>
  8. <p align="center">
  9. <a href="https://modelcontextprotocol.io/"><img src="https://img.shields.io/badge/MCP-Standard%202024--11--05-8b5cf6?style=flat-square&logo=anthropic&logoColor=white" alt="MCP Protocol"></a>
  10. <a href="https://nuitka.net/"><img src="https://img.shields.io/badge/Engine-Native%20C%20(LTO)-0284c7?style=flat-square" alt="Engine Native C"></a>
  11. <a href="#token-quota-savings--certified-benchmarks"><img src="https://img.shields.io/badge/Token%20Savings--90.3%25%20Quota-10b981?style=flat-square" alt="Token Savings: -90.3%"></a>
  12. <a href="#binary-integrity--verification"><img src="https://img.shields.io/badge/Binary%20Security-Anti--REA%20Hardened-f59e0b?style=flat-square" alt="Anti-REA Hardened"></a>
  13. <a href="LICENSE"><img src="https://img.shields.io/badge/License-Proprietary%20Freeware-blue?style=flat-square" alt="License: Proprietary"></a>
  14. </p>
  15. ---
  16. ## 🌟 Executive Summary
  17. **SRK-Crystallizer v2.1** is an industrial-grade Model Context Protocol (MCP) server engineered to solve the primary economic and physical bottlenecks of modern autonomous coding agents (**Claude Desktop, OpenCode, Codex, Gemini**):
  18. 1. **Elimination of Full-File Rewrites:** Autonomous agents typically rewrite files entirely when editing code. With `srk_patch`, the agent emits only the surgical delta, reducing output token expenditure by **-99.84%**.
  19. 2. **KV-Cache Optimization:** Instead of loading multi-thousand line source files, `srk_map` provides compact contract maps (signatures, docstrings, AST boundaries), slashing input context tokens by **-52.08%**.
  20. 3. **Hardware-Grade Safety & Inviolability:** In-memory AST pre-validation before any disk writes, automatic fallback, masked secrets protection, strict SHA-256 desynchronization guards (`ERR_STALE_SHA`), and atomic filesystem pointer swap (`os.replace`).
  21. 4. **Hardened Native C Binary:** Standalone x86-64 executable transpiled to native C machine code via Nuitka + Link-Time Optimization (LTO). Completely stripped of Python bytecode and immune to decompilers / Reverse Engineering Agents (Anti-REA).
  22. ---
  23. ## 📊 Token Quota Savings & Certified Benchmarks
  24. > [!IMPORTANT]
  25. > All figures below are **[MEASURED]** on real system files (> 800 lines) using the official `cl100k_base` tokenizer via `tiktoken`. Zero extrapolated or simulated numbers.
  26. ### Single Edit Benchmark (A/B Test on 814-line System File)
  27. | Metric / Parameter | Standard Agent Workflow | SRK-Crystallizer v2.1 | Measured Reduction [MEASURED] |
  28. | :--- | :---: | :---: | :---: |
  29. | **Context Injected Bytes (In)** | 37,599 bytes | 14,789 bytes | **-60.67%** |
  30. | **Agent Emitted Bytes (Out)** | 36,847 bytes | 61 bytes | **-99.83%** |
  31. | **Input Tokens (weight x1.25)** | 9,268 tokens | 4,441 tokens | **-52.08%** |
  32. | **Output Tokens (weight x5.0)** | 9,283 tokens | 15 tokens | **-99.84%** |
  33. | **Total Raw Tokens** | 18,551 tokens | 4,456 tokens | **-75.98%** |
  34. | **Weighted Quota Units** | **58,000.00** | **5,626.25** | **-90.30%** |
  35. $$\text{Official Weighted Quota} = (\text{Input Tokens} \times 1.25) + (\text{Output Tokens} \times 5.0)$$
  36. ### Deterministic Multi-Turn Session (10 Sequential Modifications)
  37. ```text
  38. [CONDITION STANDARD] 10 turns cumulative: 186,460 tokens (Input: 93,175 | Output: 93,285)
  39. [CONDITION SRK-CRYSTALLIZER] 10 turns cumulative: 9,102 tokens (Input: 8,992 | Output: 110)
  40. GAIN INPUT TOKENS : -90.35%
  41. GAIN OUTPUT TOKENS : -99.88%
  42. NET QUOTA SAVINGS : -97.98% (Weighted Formula: Input*1 + Output*4)
  43. ```
  44. ---
  45. ## 🛡️ 4-Stage Industrial Hardening Suite
  46. | Hardening Stage | Verified Parameter | Imposed Stress / Attack | Result [MEASURED] | Status |
  47. | :--- | :--- | :--- | :--- | :---: |
  48. | **Stage 1** | Formats & Encodings | Mixed CRLF/LF, Arabic (`سيرفر`), Emojis | Exact 1-line surgical diff, 0 parasite diff | **PASSED** |
  49. | **Stage 2** | Concurrency & Race Condition | 2 concurrent client processes on same SHA | Exactly 1 commit `OK`, 1 instant `ERR_STALE_SHA` | **PASSED** |
  50. | **Stage 3** | Deep AST Recursion | 2,704 lines, deep async comprehensions | Parsing & patch < 90 ms, 0 RecursionError | **PASSED** |
  51. | **Stage 4** | Sub-Metric CPU Latency | 50 real iterations per MCP tool | `srk_map` 74.97 ms / `srk_patch` 166.74 ms | **PASSED** |
  52. ---
  53. ## ⚙️ Fast MCP Integration Guide
  54. The standalone executable communicates over standard `stdio` JSON-RPC.
  55. ### Claude Desktop (`claude_desktop_config.json`)
  56. ```json
  57. {
  58. "mcpServers": {
  59. "srk-crystallizer": {
  60. "command": "bin/srk-crystallizer.exe"
  61. }
  62. }
  63. }
  64. ```
  65. ### OpenCode (`opencode.json`)
  66. ```json
  67. {
  68. "mcp": {
  69. "srk-crystallizer": {
  70. "type": "local",
  71. "command": [
  72. "bin/srk-crystallizer.exe"
  73. ],
  74. "enabled": true
  75. }
  76. }
  77. }
  78. ```
  79. ---
  80. ## 🔒 Binary Integrity & Verification
  81. Every official release binary is strictly sealed and deterministically verifiable:
  82. - **Target Binary:** `bin/srk-crystallizer.exe`
  83. - **Architecture:** x86-64 PE32+ Standalone Executable (`onefile`, LTO, Stripped)
  84. - **Size:** 23,931,904 bytes (22.82 MB)
  85. - **Official SHA-256 Integrity Hash:**
  86. ```text
  87. 89787a6dc5954054f3e037dd1b37a719f4c0499fd70da0278d82e626dbe87294
  88. ```
  89. ---
  90. ## ☕ Support & Donations
  91. SRK-Crystallizer is developed and maintained independently by **PapyTechnologies**. If this engine saves your token quotas and accelerates your AI workflows, consider supporting further development:
  92. - **GitHub Sponsors:** [PapyTechnologies](https://github.com/sponsors/PapyTechnologies)
  93. - **Ko-fi:** [ko-fi.com/papytech](https://ko-fi.com/papytech)
  94. - **Buy Me a Coffee:** [buymeacoffee.com/papytech](https://buymeacoffee.com/papytech)
  95. - **PayPal:** [Donate via PayPal](https://www.paypal.com/ncp/payment/7WFU8JE3FA6PG)
  96. ---
  97. ## 📄 License & Rights
  98. Distributed under the **[Proprietary Binary Distribution License](LICENSE)**.
  99. Free of charge to use, run, and integrate across personal, academic, and enterprise workflows.
  100. Copyright © 2026 **PapyTechnologies**. All rights reserved.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.