Back to Home
vitorcalvi icon

dreams-ai

by vitorcalvi

Overview

An MCP server providing AI-powered code intelligence for semantic search, code structure analysis, and embedding generation, leveraging Apple Silicon GPU acceleration.

Installation

Run Command
npx ts-node dreams-mcp.ts

Security Notes

The 'dreams-mcp.ts' file uses 'child_process.exec' to run Python scripts. A critical command injection vulnerability exists within the 'get_file_structure' tool where the 'file_path' argument is directly interpolated into a shell command without any sanitization or escaping. This allows for arbitrary command execution. While 'query' and 'text' arguments have basic single-quote escaping, it is not robust enough to prevent all potential shell injections for general user-controlled input. The 'PYTHON_CORE_DIR' is hardcoded as an absolute path, requiring manual modification.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2026-01-17

Tags

Code IntelligenceSemantic SearchApple SiliconRAGTree-sitter