Manage multiple projects from one installation with full isolation:
# Register projects
mimir workspace add payment-api --config /work/payment/mimir.toml
mimir workspace add mobile-app --config /work/mobile/mimir.toml
mimir workspace list
# Index each
mimir indexer run --workspace payment-api
mimir indexer run --workspace mobile-app
# Search a specific workspace
mimir query search "auth flow" --workspace payment-apiMCP config — each server is locked to one workspace:
{
"mcpServers": {
"mimir-payment": {"command": "mimir", "args": ["query", "serve", "--workspace", "payment-api"]},
"mimir-mobile": {"command": "mimir", "args": ["query", "serve", "--workspace", "mobile-app"]}
}
}The MIMIR_WORKSPACE environment variable is also supported.
See also: Serving Modes, CLI Reference.