Token Optimizer MCP
未认领Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients.
安装
npx token-optimizer-install # wire the hooks更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
40 个工具中显示 40 个
文档中列出的工具 (40)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
analyze_optimization
Analyze text and get optimization recommendations
cache_warmup
Intelligent cache pre-warming with schedule support (87% reduction)
clear_cache
Clear all cached data
compress_text
Compress text using Brotli
count_tokens
Count tokens using tiktoken (GPT-4 tokenizer)
decompress_text
Decompress Brotli-compressed text
get_cache_stats
View cache hit rates and compression ratios
get_cached
Retrieve previously cached text
optimize_text
Compress and cache text (primary tool for token reduction)
smart_api_fetch
HTTP requests with caching and retry logic (83% reduction on cache hits)
smart_branch
Git branch listing with structured JSON (60% reduction)
smart_build
TypeScript builds with diff-based change detection
smart_cache
Multi-tier cache (L1/L2/L3) with 6 eviction strategies (90% reduction)
smart_database
Database queries with connection pooling and caching (83% reduction)
smart_diff
Git diffs with diff-only output (85% reduction)
smart_docker
Docker operations with layer analysis
smart_edit
Line-based file editing with diff-only output (90% reduction)
smart_glob
File pattern matching with path-only results (75% reduction)
smart_graphql
GraphQL query optimization with complexity analysis (83% reduction)
smart_grep
Search file contents with match-only output (80% reduction)
smart_install
Package installation with dependency analysis
smart_lint
ESLint with incremental analysis and auto-fix
smart_log
Git commit history with smart filtering (75% reduction)
smart_logs
Log aggregation with pattern filtering
smart_merge
Git merge management with conflict analysis (80% reduction)
smart_migration
Database migration tracking (83% reduction)
smart_network
Network diagnostics with anomaly detection
smart_orm
ORM query optimization with N+1 detection (83% reduction)
smart_processes
Process monitoring with resource tracking
smart_read
Read files with 80% token reduction through caching and diffs
smart_rest
REST API analysis with endpoint discovery (83% reduction)
smart_schema
Database schema analysis with intelligent caching
smart_sql
SQL query analysis with optimization suggestions (83% reduction)
smart_status
Git status with status-only output (70% reduction)
smart_system_metrics
System resource monitoring with performance recommendations
smart_test
Test execution with incremental test selection
smart_typecheck
TypeScript type checking with caching
smart_websocket
WebSocket connection management with message tracking
smart_write
Write files with verification and change tracking
smart-cache-api
API response caching with TTL/ETag/event-based strategies