loci
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@locilist my open tickets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🗂️ Loci
Local-first harness and ticket operations. Run it in any project, track work with your AI assistant via CLI or MCP.
Why Loci?
Loci is a lightweight local-first harness system that runs entirely on your machine.
Your AI coding assistant (Claude, Gemini, Cursor, etc.) can read and update workflow tickets directly via loci CLI or MCP.
Related MCP server: MAGI Orchestrator
Install
Recommended one-line install (macOS Apple Silicon + Linux x86_64/aarch64):
curl -fsSL https://raw.githubusercontent.com/thienhm/loci/main/scripts/install.sh | bashInstall a specific version:
curl -fsSL https://raw.githubusercontent.com/thienhm/loci/main/scripts/install.sh | bash -s -- v2.0.1Transition bootstrap (legacy Bun launcher):
bun install -g github:thienhm/loci
loci updateDuring the transition, loci update refreshes both the managed Rust binary and the global Bun package that still provides loci serve and loci open.
Managed binary location: ~/.loci/bin/loci
What's New In 2.0.1
Loci 2.0.1 is a patch release for the Rust-primary 2.0 line:
loci updatenow refreshes both the managed Rust binary and the global Bun wrapper used byloci serveandloci open.Dashboard reads now recover from local SQLite open edge cases and keep healthy registered projects visible.
Ticket creation no longer reports a hard failure when only the post-create registry summary refresh fails.
CLI help and release documentation now describe the
loci update/loci upgradeboundary more clearly.
Quick Start
# In your project directory
loci init
# Optional: start the server + web UI
loci serve
# Optional: open the web UI in your browser
loci openThe web UI is available at http://localhost:3333 by default.
Connect Your AI Assistant
CLI (Recommended)
Use the local CLI directly in your agent workflow. loci init generates project instructions and foundation docs:
AGENTS.mdLOCI.mdloci/project.mdloci/architecture.mdloci/validation.mdloci/guardrails.mdloci/current-state.mdloci/glossary.mdloci/backlog.md
MCP
Loci also exposes an MCP server at http://localhost:3333/mcp (requires loci serve to be running).
Claude Desktop / Claude Code
{
"mcpServers": {
"loci": {
"url": "http://localhost:3333/mcp"
}
}
}Gemini CLI (~/.gemini/settings.json)
{
"mcpServers": {
"loci": {
"url": "http://localhost:3333/mcp"
}
}
}Cursor / Windsurf
{
"loci": {
"url": "http://localhost:3333/mcp"
}
}CLI Reference
Project
Command | Description |
| Initialize Loci in the current project |
| Check harness/project health |
| Start the MCP server and web UI |
| Open the web UI in your browser |
| Update the managed Rust binary and transitional Bun wrapper |
| Upgrade project templates/data |
Tickets
Command | Description |
| List workflow tickets |
| Create a workflow ticket |
| Get one ticket by ID |
| Update ticket status |
| Update ticket fields |
| Harness workflow commands |
Docs & Attachments
Command | Description |
| Read a ticket document |
| Write a ticket document |
| List attachments for a ticket |
How It Works
Project docs live under
loci/(human/agent-visible context and workflow packets)Operational state lives under
.loci/(SQLite + local tool state)The CLI is local-first and does not require a running server for core workflows
The MCP server and web UI are served by
loci serve
Updating
loci updateThis installs the managed Rust binary and refreshes the global Bun loci package so TypeScript fallback commands such as loci serve use the latest server/web code. If the wrapper refresh fails, the command prints the manual recovery command:
bun remove -g loci && bun install -g github:thienhm/lociIf you're on an older install and loci update cannot run yet, bootstrap once manually:
bun remove -g loci && bun install -g github:thienhm/lociThen run:
loci updateMigration Notes
loci synchas been retired. Useloci upgrade.loci skillhas been retired from product CLI.
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thienhm/loci'
If you have feedback or need assistance with the MCP directory API, please join our Discord server