ai-workspace
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 12 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in .claude/skills/aif-build-automation/templates/taskfile-go.yml
- rm -rf — Recursive force deletion command in .claude/skills/aif-build-automation/templates/taskfile-node.yml
- rm -rf — Recursive force deletion command in .claude/skills/aif-build-automation/templates/taskfile-php.yml
- rm -rf — Recursive force deletion command in .claude/skills/aif-build-automation/templates/taskfile-python.yml
Permissions Pass
- Permissions — No dangerous permissions requested
This MCP server and CLI give AI coding agents shared memory across multiple projects by letting you group repositories and share files, directories, and notes between them automatically.
Security Assessment
The server provides tools that read files and search across grouped projects, so it exposes your local file system to connected AI agents. No dangerous permissions are requested, and no hardcoded secrets were found. However, the rule-based scan flagged several `rm -rf` commands in build automation templates (under `.claude/skills/aif-build-automation/templates/`). These appear within Taskfile templates for Go, Node, PHP, and Python projects and are standard clean-up steps (e.g., removing build artifacts), not malicious deletions. They are only executed if a user explicitly runs those tasks. The tool communicates via stdio, meaning no outbound network requests to external servers. Overall risk: Low.
Quality Assessment
The repository is actively maintained, with the last push being very recent (0 days ago). It carries a permissive MIT license, which is ideal for open-source adoption. Community trust is modest at 12 GitHub stars, which is expected for a newer, niche tool. The codebase is written in Rust, which provides strong memory safety guarantees. Documentation is thorough, with clear setup instructions, diagrams, and usage examples.
Verdict
Safe to use — a well-documented, lightweight tool with low security risk. Be aware that any connected AI agent will have read access to all files and directories you explicitly share across your grouped projects.
AI Workspace - Give your AI agents memory that spans across projects.
AI Workspace
Give your AI agents memory that spans across projects.
AI coding agents (Claude Code, Cursor, Windsurf, etc.) are powerful — but they only see one project at a time. When your work involves a shared API contract, a common deploy process, or a monorepo split into microservices, the agent starts every conversation blind to the bigger picture.
AI Workspace fixes that. It's a lightweight CLI + MCP server that lets you share files, directories, and notes across related projects. Your agents get cross-project context automatically — no copy-pasting, no symlinks, no custom prompts.
How it works
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ project-api │ │ project-web │ │ project-docs │
│ │ │ │ │ │
│ schema.rs ──┼─┐ │ │ │ │
│ notes ──────┼─┤ │ notes ──────┼─┐ │ guides/ ────┼─┐
└──────────────┘ │ └──────────────┘ │ └──────────────┘ │
│ │ │
└────────┬───────────┘────────────────────┘
│
┌─────▼──────┐
│ "backend" │ ← group
│ group │
└─────┬──────┘
│
┌─────▼──────┐
│ MCP Server │ ← ai-workspace serve
│ (stdio) │
└─────┬──────┘
│
┌─────▼──────┐
│ AI Agent │ sees files, dirs & notes
│ │ from all 3 projects
└────────────┘
Group projects together. Share files and notes. Your agent sees everything.
Quick Start
Install
cargo install --path .
Requires Rust 1.85+ (edition 2024). SQLite is bundled — no extra dependencies.
Set up projects
# Register two projects in the same group
cd ~/api
ai-workspace init --group backend
cd ~/web
ai-workspace init --group backend
Share context
cd ~/api
ai-workspace share src/schema.rs --label "db schema"
ai-workspace note "Deploy: run migrations before release" --group backend
Now any agent working in ~/web can read schema.rs and the deploy note from ~/api.
Connect to your agent
Claude Code:
claude mcp add --scope user ai-workspace -- ai-workspace serve
Other MCP clients (Cursor, Windsurf, Claude Desktop, etc.):
{
"mcpServers": {
"ai-workspace": {
"command": "ai-workspace",
"args": ["serve"]
}
}
}
That's it. The agent now has access to 8 MCP tools: workspace_context, workspace_read, workspace_search, workspace_search_fulltext, list_groups, list_projects, project_tree, and project_grep.
Example Prompts
Once connected, you can talk to your AI agent naturally. Here are some examples:
Discover context:
- "What shared context do I have from other projects?"
- "Show me all projects and groups in my workspace"
- "What files are shared in the backend group?"
Read shared files:
- "Read the shared database schema from the api project"
- "Show me the deploy guide shared by the infra team"
- "What's in the shared config directory?"
Search notes:
- "Search workspace notes for migration instructions"
- "Are there any shared notes about the deploy process?"
- "Find notes mentioning staging environment"
Navigate project files:
- "Show me the file tree of the api project"
- "List the files under src/ in project 2"
- "Search the api project for any function that mentions 'auth'"
- "Grep the web project for TODO comments"
Cross-project tasks:
- "I'm building a new endpoint — check the shared API schema and follow the same patterns"
- "Before I refactor this model, check if other projects share files that depend on it"
- "Read the shared style guide and apply it to this component"
The agent will automatically call the right MCP tools (workspace_context, workspace_read, workspace_search, workspace_search_fulltext) to answer these.
CLI at a glance
| Command | What it does |
|---|---|
init --group <name> |
Register project, join/create a group, auto-share key files |
share <path> --label <label> |
Share a file or directory |
note <text> --group <name> |
Add a group-scoped note |
edit <target> --content/--label/--scope |
Edit a shared item |
rm <target> |
Remove a shared item |
leave <group> |
Remove project from a group |
delete-group <group> |
Delete a group entirely |
destroy |
Remove current project from ai-workspace (keeps files) |
status |
Show project info, groups, and items |
export |
Export project config to .ai-workspace.json |
sync |
Clean up stale files + reconcile .ai-workspace.json |
search <query> |
Full-text search over shared .md files (FTS5, bm25-ranked) |
reindex |
Rebuild the full-text index for all shared .md files |
serve |
Start the MCP server |
update |
Update to the latest version |
Team Sharing
Share your workspace config with your team by committing .ai-workspace.json to the repo:
# One-time: export current config
ai-workspace export
# Commit the file
git add .ai-workspace.json
git commit -m "chore: add shared workspace config"
When a teammate clones the repo and runs init, they automatically get the same groups, shared files, and notes:
cd ~/cloned-repo
ai-workspace init
# → picks up name, groups, shares, and notes from .ai-workspace.json
The --name flag overrides the name from .json, and --group is additive. Running sync also reconciles the database with .ai-workspace.json if present.
Documentation
| Guide | Description |
|---|---|
| Getting Started | Concepts, scopes, visibility rules, data storage |
| CLI Reference | All commands and options in detail |
| MCP Server | MCP tools, protocol, and integration guide |
| Contributing | Development setup, testing, pull requests |
Installation
macOS (Apple Silicon)curl -fsSL https://github.com/lee-to/ai-workspace/releases/latest/download/ai-workspace-aarch64-apple-darwin.tar.gz | sudo tar xz -C /usr/local/bin
macOS (Intel)
curl -fsSL https://github.com/lee-to/ai-workspace/releases/latest/download/ai-workspace-x86_64-apple-darwin.tar.gz | sudo tar xz -C /usr/local/bin
Linux (x86_64)
curl -fsSL https://github.com/lee-to/ai-workspace/releases/latest/download/ai-workspace-x86_64-unknown-linux-gnu.tar.gz | sudo tar xz -C /usr/local/bin
Linux (aarch64)
curl -fsSL https://github.com/lee-to/ai-workspace/releases/latest/download/ai-workspace-aarch64-unknown-linux-gnu.tar.gz | sudo tar xz -C /usr/local/bin
Windows (x86_64, PowerShell)
Invoke-WebRequest -Uri "https://github.com/lee-to/ai-workspace/releases/latest/download/ai-workspace-x86_64-pc-windows-msvc.zip" -OutFile ai-workspace.zip
Expand-Archive ai-workspace.zip -DestinationPath "$env:USERPROFILE\bin" -Force
Add %USERPROFILE%\bin to PATH if needed.
git clone https://github.com/lee-to/ai-workspace.git
cd ai-workspace
cargo install --path .
Requires Rust 1.85+ (edition 2024). SQLite is bundled — no extra dependencies.
Update
ai-workspace update
Downloads the latest release from GitHub and replaces the current binary. No Rust or Cargo required.
License
MIT
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found