ysunyang4/Nexus
Connect web AI assistants to local files, terminals, Git, and desktop tools through MCP, with user-controlled permissions.
What is Nexus?
Nexus is a local AI control plane — a desktop application that lets AI assistants like ChatGPT, DeepSeek, or coding tools (Cursor, Windsurf) safely work on your own computer's files and run commands, without giving them full access to your system or sending your code to untrusted third parties.
It acts as a secure bridge: the AI connects to Nexus over a local network tunnel, and Nexus then performs actions (reading/writing files, running commands, using Git, browsing, etc.) inside strict sandbox boundaries you control.
Key Features
- 332 built-in tools covering 24 capability areas: filesystem operations, Git, command execution, background jobs, code intelligence (LSP), browser automation, Windows desktop control (via OCR and UI automation), vision analysis, document handling, memory/knowledge storage, and more.
- Action Ledger (WAL): Every critical action is logged before it happens, so if the system crashes, it can recover and avoid duplicate executions.
- Sandboxing & security: Path containment (blocks
../escapes), symlink/junction protection, sensitive-file masking (e.g.,.env,.pem,.key), and a command risk engine that blocks dangerous commands likerm -rf /by default. - Local intelligence store: Persistent memory, rules, knowledge, and prompt templates, with hybrid exact-match and semantic retrieval.
- Multi-platform: Windows, macOS, Linux.
How It Works (Simplified)
AI Assistant (ChatGPT, DeepSeek, etc.)
│
│ Secure MCP tunnel (HTTP + Bearer token)
▼
Nexus Desktop Control Center (Tauri 2 app)
│
│ JSON-RPC over WebSocket
▼
Nexus Local Runner Daemon (executes tools, sandboxed)
The desktop app runs a local server on port 18080. You generate a token, authorize a project folder, and then configure your AI client to connect to http://127.0.0.1:18080/mcp with that token.
Getting Started
- Install – Either download a pre-built installer from the v1.3.1 release page (if available for your platform) or build from source (requires Node.js ≥ 24, pnpm ≥ 10, Rust stable).
- Authorize a project – In the desktop app, go to Workspace → Projects → Authorize Project, pick a folder, and set access mode (read-only or read-write) and execution mode (disabled, safe-only, or project-code).
- Generate a token – Settings → Tokens → Generate Token (choose
MCP Client Token). - Configure your AI client – Point it to
http://127.0.0.1:18080/mcpwith theAuthorization: Bearer <token>header.
Important Notes
- License: AGPL-3.0 — free for personal and commercial use, but if you distribute modified versions or offer them as a network service, you must provide source code.
- Security disclaimer: By default, Nexus is strict (read-only, safe-only). If you enable read-write, project-code, or unrestricted mode, you take full responsibility for what the AI does. Always back up your work.
- Branding: The README includes brand guidelines; the license does not grant trademark rights.
Project Structure
The repository is a monorepo with:
apps/– desktop (Tauri 2 + React), runner daemon, server (Fastify), bridge (standalone MCP bridge)packages/– protocol definitions, security/sandboxing, shared utilitiestests/– 190+ test suites, 1200+ testsdocs/,artifacts/,scripts/– documentation, audit evidence, build scripts
Verification Commands
pnpm run typecheck # TypeScript type checking
pnpm run build # Build all packages
pnpm run test # Run tests
cargo check --manifest-path apps/desktop/src-tauri/Cargo.toml # Rust check
This explainer is based solely on the README content. No features or facts beyond what is stated there are included.
Related
- Project
- Project
- Project
- Project