A multi-language MCP server implementing a tool execution framework with C++ core runtime, Python tool implementations, and plugin system. Provides code execution, file operations, memory/vector database, shell execution, HTTP, and genesis (dynamic plugin loading) capabilities.
Machina Trinity has 30 tools with highly inconsistent quality. Most C++ tier0 tools (AID.*) lack visible input schemas in the provided source, only 6 of 30 tools show complete parameter definitions with types and descriptions. Python tools (execute_code, file_list, file_search, file_diff) have better schemas but descriptions are often generic or missing. Tool names follow verb_noun convention (good), but many descriptions are under 50 chars and lack actionable context. No tool declares output schemas. Error handling is minimal, most tools return generic error strings without recovery guidance. Security concerns: execute_code accepts arbitrary code with weak auto-fix; file operations lack clear sandbox boundary documentation; no permission gates or audit trails visible.
Ask supervisor for input/approval
Generate text embeddings with optional L2 normalization. Supports configurable dimension (default 384, max 1024) and multiple embedding providers.
Scans error logs in CSV format
Read file contents with TOCTOU hardening, symlink detection, and sandbox path validation. Returns base64-encoded content with metadata.
Write file with atomic 2-phase commit (tmp → fsync → rename), backup on overwrite, and sandbox path validation. Restricted to MACHINA_ROOT/work directory.
Genesis tool: compile shared library from source
18 of 30 tools lack visible input schemas (AID.* tier0 tools). Cannot verify parameter types, constraints, or descriptions. Scoring these at 0 for schema.
No output schemas documented for any tool. LLMs cannot predict response structure, forcing them to parse unstructured output or guess field names for downstream tool chaining.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | 2026-07-28+ | v2 |
Genesis tool: dynamically load compiled plugin
Genesis tool: write file (dynamic plugin generation)
Query GPU metrics
GPU smoke test
Append entry to memory stream (JSONL format with rotation support)
Query memory streams with filtering
Search memory streams by keyword
Fetch HTTP URLs with curl, optional HTML-to-text extraction via BeautifulSoup
No-operation tool for testing
Query process self metrics
Enqueue message to queue
Generate report summary
Summarize run logs
Runtime plugin example: returns hello message from hot-loaded plugin
Execute shell commands with sandboxing, timeout, and resource limits
Query vector database
Upsert vector into vector database
Execute Python or Bash code safely in work/scripts/ sandbox with timeout, output truncation, and LLM code auto-fix pipeline (6 layers: markdown stripping, input() replacement, f-string conversion, missing colons, indentation fixing, truncation removal, print injection)
Unified diff between two files with configurable context lines
List directory contents with metadata (type, size, mtime). Sorted: dirs first, then files, alphabetical.
Search file contents with regex pattern. Skips .git, __pycache__, node_modules, .venv, build directories. Skips files >1MB.
Run a Machina engine goal via CLI subprocess with fallback control mode
Fetch URL via curl with optional HTML-to-text extraction using BeautifulSoup (removes script, style, nav, footer, header, aside, iframe, noscript tags)
Search the web using duckduckgo-search library (ddgs) with curl fallback. Returns title, body, and href for each result.
execute_code accepts arbitrary Python/Bash with weak auto-fix pipeline (6 layers). No permission gates, no rate limits, no audit trail. Agents can execute malicious code or cause resource exhaustion.
File operations (AID.FILE.READ, AID.FILE.WRITE) claim sandbox path validation but lack explicit documentation of sandbox boundaries, symlink attack mitigations, or TOCTOU race condition handling in descriptions.
Error handling is minimal across all tools. Most return generic error strings without recovery guidance, retryability classification, or actionable next steps for LLMs.