tzero-mcp 12.3.6 → 12.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -21
- package/package.json +1 -1
- package/src/addmcp.py +2 -2
- package/src/app.py +1 -1
- package/src/tzero/__init__.py +8 -1
- package/src/tzero/tzero_agency.py +2574 -0
- package/src/tzero/tzero_benchmark.py +1 -1
- package/src/tzero/tzero_budget.py +1 -1
- package/src/tzero/tzero_ci.py +1 -1
- package/src/tzero/tzero_contracts.py +2 -2
- package/src/tzero/tzero_dashboard.py +50 -3
- package/src/tzero/tzero_debt.py +1 -1
- package/src/tzero/tzero_explain.py +1 -1
- package/src/tzero/tzero_golden.py +2 -2
- package/src/tzero/tzero_growth.py +1 -1
- package/src/tzero/tzero_lsp.py +1 -1
- package/src/tzero/tzero_mcp.py +72 -1
- package/src/tzero/tzero_promo.py +1 -1
- package/src/tzero/tzero_task_benchmark.py +2 -2
- package/src/tzero/tzero_traffic.py +1 -1
- package/src/tzero/tzero_tui.py +2 -2
- package/src/tzero/tzero_v3.py +522 -18
- package/src/tzero/tzero_welcome.py +1 -1
package/README.md
CHANGED
|
@@ -1,44 +1,55 @@
|
|
|
1
1
|
# tzero-mcp
|
|
2
2
|
|
|
3
|
-
> **Deterministic AST Context Compressor, 95% Token Reducer &
|
|
3
|
+
> **Deterministic AST Context Compressor, 85–95% Token Reducer & 21-Tool MCP Server for Cursor, Claude Desktop, Windsurf, Cline & Copilot.**
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/tzero-mcp)
|
|
6
6
|
[](./LICENSE)
|
|
7
7
|
[](https://socket.dev/npm/package/tzero-mcp)
|
|
8
|
-
[](https://www.producthunt.com/products/tzeroalgorithm?launch=tzeroalgorithm)
|
|
9
8
|
[](https://github.com/toprakahmetaydogmus/TZeroAlgorithm)
|
|
10
9
|
|
|
11
10
|
---
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
## Instant MCP Setup (30 Seconds)
|
|
14
13
|
|
|
15
|
-
|
|
14
|
+
Add T-Zero to **Cursor** (`.cursor/mcp.json`), **Claude Desktop** (`claude_desktop_config.json`), or **Windsurf**:
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"mcpServers": {
|
|
19
|
+
"tzero": {
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["-y", "tzero-mcp"]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
21
26
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Security advisory
|
|
27
|
+
Or auto-configure all detected editors in one command:
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
```bash
|
|
30
|
+
npx -y tzero-mcp --init all
|
|
31
|
+
```
|
|
27
32
|
|
|
28
|
-
This npm package uses
|
|
33
|
+
> **Note:** This npm package uses an available Python (`>=3.11`) runtime on your machine to execute the AST engine. See [setup & network behavior](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/blob/main/PRIVACY.md) for details.
|
|
29
34
|
|
|
30
35
|
## Key Capabilities
|
|
31
36
|
|
|
32
|
-
- **95% Deterministic Token Reduction:** Compresses source code into AST skeletons preserving function signatures, type annotations, and docstrings while pruning redundant logic bodies.
|
|
33
|
-
- **Secret
|
|
37
|
+
- **85–95% Deterministic Token Reduction:** Compresses source code into AST skeletons preserving function signatures, type annotations, and docstrings while pruning redundant logic bodies.
|
|
38
|
+
- **Zero-Leak Secret Scanner:** Local Shannon Entropy ($H \ge 4.75$) scanner for API keys and credentials before LLM context ingestion.
|
|
34
39
|
- **Reality-Lock Pre-Flight:** Catches hallucinations before code execution by validating imports and call hierarchies against real AST nodes.
|
|
35
|
-
- **
|
|
36
|
-
- **Local AST
|
|
40
|
+
- **21 Canonical Developer Tools:** AST PageRank, call-chain tracer, BM25 semantic hybrid search, change blast radius analyzer, and diagnostics.
|
|
41
|
+
- **Local AST Parsing:** Parsing and lexical search run locally on the machine hosting T-Zero.
|
|
37
42
|
|
|
38
|
-
##
|
|
43
|
+
## Support T-Zero
|
|
39
44
|
|
|
40
|
-
|
|
45
|
+
If `tzero-mcp` reduces your prompt token usage or API bills:
|
|
46
|
+
- ⭐ **Star the repository on GitHub:** [https://github.com/toprakahmetaydogmus/TZeroAlgorithm](https://github.com/toprakahmetaydogmus/TZeroAlgorithm)
|
|
47
|
+
- 🌐 **Interactive Benchmark Hub:** [https://tzero-indol.vercel.app](https://tzero-indol.vercel.app)
|
|
41
48
|
|
|
42
|
-
## Security
|
|
49
|
+
## Security advisory
|
|
50
|
+
|
|
51
|
+
GitHub flags **`tzero-mcp@12.3.0`** in [GHSA-pm3r-rxg9-cj5j](https://github.com/advisories/GHSA-pm3r-rxg9-cj5j). If you installed or ran that version, follow the advisory's remediation guidance (GitHub lists no patched release). Later releases removed the historical Pollinations fallback; see the [security review](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/blob/main/SECURITY-REVIEW.md) and [privacy documentation](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/blob/main/PRIVACY.md).
|
|
52
|
+
|
|
53
|
+
## License
|
|
43
54
|
|
|
44
|
-
|
|
55
|
+
AGPL-3.0-only © [Toprak Ahmet Aydoğmuş (Siber Akademi)](https://github.com/toprakahmetaydogmus)
|
package/package.json
CHANGED
package/src/addmcp.py
CHANGED
|
@@ -22,7 +22,7 @@ from pathlib import Path
|
|
|
22
22
|
from typing import Callable, Dict, List, Optional, Tuple
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
APP_VERSION = "12.3.
|
|
25
|
+
APP_VERSION = "12.3.7"
|
|
26
26
|
SERVER_NAME = "tzero"
|
|
27
27
|
SERVER_FILENAME = "TZeroMCP.exe"
|
|
28
28
|
|
|
@@ -1131,7 +1131,7 @@ def run_init(argv: Optional[List[str]] = None) -> int:
|
|
|
1131
1131
|
# Print banner
|
|
1132
1132
|
print(sanitize_terminal_text("""
|
|
1133
1133
|
\033[1;36m================================================================================
|
|
1134
|
-
⚡ SİBER AKADEMİ — T-ZERO 1-CLICK MCP INITIALIZATION (v12.3.
|
|
1134
|
+
⚡ SİBER AKADEMİ — T-ZERO 1-CLICK MCP INITIALIZATION (v12.3.7)
|
|
1135
1135
|
================================================================================\033[0m
|
|
1136
1136
|
\033[32m★ Zero-Config AST Codebase Context & 100% Zero-Leak Security Guard\033[0m
|
|
1137
1137
|
"""))
|
package/src/app.py
CHANGED
|
@@ -42,7 +42,7 @@ import gradio as gr
|
|
|
42
42
|
# ==================================================================================================
|
|
43
43
|
# CONSTANTS, PALETTES & MULTI-MODEL PRICING TIERS
|
|
44
44
|
# ==================================================================================================
|
|
45
|
-
APP_VERSION = "12.3.
|
|
45
|
+
APP_VERSION = "12.3.7"
|
|
46
46
|
REPO_URL = "https://github.com/toprakahmetaydogmus/TZeroAlgorithm"
|
|
47
47
|
VERCEL_URL = "https://tzero-indol.vercel.app"
|
|
48
48
|
SPACE_URL = "https://huggingface.co/spaces/toprakke4/tzero-token-reducer"
|
package/src/tzero/__init__.py
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
from importlib import import_module
|
|
9
9
|
|
|
10
|
-
__version__ = "12.3.
|
|
10
|
+
__version__ = "12.3.7"
|
|
11
11
|
__author__ = "Toprak Ahmet Aydoğmuş"
|
|
12
12
|
__license__ = "AGPL-3.0-only"
|
|
13
13
|
|
|
@@ -42,6 +42,13 @@ _EXPORTS = {
|
|
|
42
42
|
'superdesign_list': 'tzero.tzero_superdesign',
|
|
43
43
|
'superdesign_gallery': 'tzero.tzero_superdesign',
|
|
44
44
|
'create_mcp_server': 'tzero.tzero_mcp',
|
|
45
|
+
'TZeroAgency': 'tzero.tzero_agency',
|
|
46
|
+
'AgencyOrchestrator': 'tzero.tzero_agency',
|
|
47
|
+
'AgencyProjectProfiler': 'tzero.tzero_agency',
|
|
48
|
+
'list_readme_blueprints': 'tzero.tzero_agency',
|
|
49
|
+
'README_BLUEPRINTS': 'tzero.tzero_agency',
|
|
50
|
+
'AGENCY_SKILLS': 'tzero.tzero_agency',
|
|
51
|
+
'SUBAGENT_TEMPLATES': 'tzero.tzero_agency',
|
|
45
52
|
}
|
|
46
53
|
_OPTIONAL_EXPORTS = {
|
|
47
54
|
'create_mcp_server',
|