alice-mcp-server
A lightweight, local server designed to support agile task workflows within AI coding environments using the Model Context Protocol (MCP).
Documentation
Alice MCP - Lightweight Agile Task Management
Alice is a lightweight, local task management system designed for AI coding environments using the Model Context Protocol (MCP). It provides comprehensive project management capabilities with bulk operations, dynamic planning, and architectural decision tracking - all running locally on your machine with complete project isolation.
Optimized for Cline and other AI coding assistants, Alice transforms how you manage development workflows with intelligent automation and comprehensive tracking.
See the Documentation section for detailed guides and the Quick Start for Cline for immediate setup.
Key Features
🚀 Efficient Bulk Operations
- Bulk Task Management: Create and update multiple tasks simultaneously
- Bulk Decision Records: Batch process architectural decisions with rich markdown support
- Atomic Operations: All-or-nothing processing with comprehensive error reporting
📊 Intelligent Project Management
- Project Isolation: All data scoped to specific projects with secure separation
- Dynamic Project Planning: AI-queryable prioritized backlogs that adapt to progress
- Task & Epic Tracking: Hierarchical organization with status history tracking
- Message Logging: Contextual notes and discussions tied to specific tasks
🏗️ Architectural Decision Records (ADR)
- Structured Decision Tracking: Document context, decisions, and consequences
- Markdown-Rich Content: Full formatting support for complex technical documentation
- Task Integration: Link decisions to the tasks that prompted them
- Queryable History: Maintain institutional knowledge across development cycles
🔧 Developer Experience
- Cline-Optimized: Seamless integration with automatic server management
- Local-First: Runs entirely on your machine using SQLite - no external dependencies
- MCP Native: Built specifically for Model Context Protocol environments
- Comprehensive Testing: 62 tests ensuring reliability and stability
Quick Start for Cline Users
The fastest way to get Alice running with Cline:
1. Clone and Setup:
git clone https://github.com/your-organization/alice-mcp.git
cd alice-mcp
python -m venv alice-env
source alice-env/bin/activate # On Windows: alice-env\Scripts\activate
pip install -r requirements.txt2. Automated MCP Setup:
./scripts/setup-alice-mcp.shThis single command handles everything: creates the MCP server, installs dependencies, builds the TypeScript, and updates your Cline settings.
3. Restart Cline and test with:
Use alice to create a project named "test-project"That's it! Alice is now integrated with Cline and ready for efficient project management.
Advanced Setup
For manual setup or customization:
1. Clone the repository:
git clone https://github.com/your-organization/alice-mcp.git
cd alice-mcp2. Create and activate a Python virtual environment:
# Create the environment
python -m venv alice-env
# Activate it (Linux/macOS)
source alice-env/bin/activate
# Activate it (Windows)
# alice-env\Scripts\activate3. Install dependencies:
pip install -r requirements.txtFor detailed manual setup instructions, see LLM Installation Guide.
Running the Server
Automatic Startup (MCP Integration)
When used with an MCP-compatible environment, Alice starts automatically - both the FastAPI backend and the MCP server components launch together. This is handled by the `scripts/start-alice-servers.sh` wrapper script, which:
- Activates the Python environment
- Installs dependencies
- Starts the FastAPI server
- Starts the MCP server
Manual Startup (Development)
If you need to run the server manually (for development or testing), you can:
1. Start the FastAPI server:
uvicorn app.main:app --reloadThe server will be available at `http://127.0.0.1:8000`
2. For debugging issues, you can run the wrapper script directly:
/bin/zsh scripts/start-alice-servers.sh --debugGetting Started
1. Start the server (see above).
2. Create a project: Send a `POST` request to `/projects/` with a unique project name.
{ "name": "my-new-project" }3. Identify your project: For interacting with tasks, epics, and messages via the Alice MCP server tools, you will use the project's name (e.g., "my-new-project") as the `project_id` argument. The MCP server handles the translation to the internal numeric ID required by the API.
4. API Endpoints (Direct API Usage): If interacting directly with the FastAPI backend (not through the MCP server), all subsequent operations for tasks, epics, and messages require the internal numeric `project_id` in the URL path (e.g., `/{numeric_project_id}/tasks/`). You can find this numeric ID by listing projects (`GET /projects/`) or getting by name (`GET /projects/by-name/my-new-project`).
Project Isolation API Structure
Alice's FastAPI backend uses numeric project IDs in the URL path to ensure data isolation. However, when using the Alice MCP server tools, you should provide the project's name (string) as the `project_id` argument. The MCP server will resolve this to the correct numeric ID for the API.
Direct API examples:
- Project Management: `/projects/` (e.g., `POST /projects/`, `GET /projects/{project_id}`)
- Tasks: `/{numeric_project_id}/tasks/` (e.g., `POST /1/tasks/`, `GET /1/tasks/{task_id}`)
- Epics: `/{numeric_project_id}/epics/` (e.g., `POST /1/epics/`, `GET /1/epics/{epic_id}`)
- Messages: `/{numeric_project_id}/tasks/{task_id}/messages/` (e.g., `POST /1/tasks/5/messages/`)
*Replace `1` with the actual internal numeric `project_id` when using the API directly.*
Powerful New Features
Alice has been upgraded with powerful new features to enhance your development workflow, ensuring that context and priority are never lost between coding sessions.
Dynamic Project Planning
Tired of project plans becoming stale in static documents? Alice introduces a dynamic, queryable project plan.
- Create a Prioritized Backlog: Use the `update_priority_plan` tool to set the exact order of tasks to be worked on. You can provide a rationale for each task's priority, giving essential context to your future self or other agents.
- Always Know What's Next: The `get_next_task` tool instantly returns the highest-priority task that isn't yet "Done" or "Canceled". This eliminates ambiguity and ensures focus is always on the most critical work.
- Live Status Updates: The project plan is always up-to-date. As tasks are completed, the plan automatically reflects their new status, providing a real-time view of progress.
Architectural Decision Records (ADR)
Capture the "why" behind your project's design with a structured, queryable log of architectural decisions.
- Document Key Decisions: Use the `create_decision` tool to record the context, decision, and consequences of important architectural choices.
- Preserve Context: New development threads can quickly get up to speed by reviewing past decisions, preventing the re-litigation of settled issues and ensuring consistency over time.
- Link to Tasks: Associate decisions with the specific tasks that prompted them, creating a clear audit trail of your project's evolution.
These features transform Alice from a simple task tracker into an intelligent partner that actively manages project context and priority, making your development process more efficient, transparent, and powerful.
Bulk Operations - Improved Efficiency
Alice's bulk operations deliver improved efficiency for development project management:
Bulk Task Operations:
- `bulk_create_tasks`: Create multiple tasks in a single operation with comprehensive validation
- `bulk_update_tasks`: Update multiple tasks simultaneously with atomic transaction guarantees
Bulk Decision Operations:
- `bulk_create_decisions`: Batch process architectural decisions with rich markdown support
- `bulk_update_decisions`: Update decision statuses and content across multiple records
Performance Benefits:
- Huge reduction in API calls compared to individual operations
- Atomic transactions with rollback protection ensure data consistency
- Detailed reporting shows success/failure status for each item
Example Usage:
// Create 5 tasks simultaneously
bulk_create_tasks("my-project", [
{ title: "Setup authentication", assignee: "Backend Team" },
{ title: "Design user interface", assignee: "Frontend Team" },
{ title: "Configure CI/CD pipeline", assignee: "DevOps Team" },
{ title: "Write API documentation", assignee: "Documentation Team" },
{ title: "Implement rate limiting", status: "In Progress" }
])
// Update multiple tasks with status changes
bulk_update_tasks("my-project", [
{ id: 1, update: { status: "Done" }},
{ id: 2, update: { status: "In Progress", assignee: "New Team" }},
{ id: 3, update: { description: "Updated requirements" }}
])Running Tests
Ensure you have the virtual environment activated and dependencies installed. Then run:
pytestAPI Documentation
While the server is running, you can access the interactive API documentation (provided by FastAPI) in your browser:
- Swagger UI: `http://127.0.0.1:8000/docs`
- ReDoc: `http://127.0.0.1:8000/redoc`
Documentation
Detailed documentation can be found in the `docs/` directory:
- **Application Overview:** Covers architecture, features, and technical stack.
- **Technical Requirements:** Detailed system, database, and API specifications.
- **LLM Integration Guide:** Recommendations for integrating Alice with LLM custom instructions.
Contributing
Contributions are welcome! Please follow these guidelines:
- Adhere to the coding style (PEP 8, `black`, `isort`).
- Use type hints.
- Document public functions and APIs.
- Write unit tests for new features or bug fixes.
- Ensure all tests and linters pass before submitting changes.
- For significant changes, consider opening an issue first to discuss the approach.
Alice is certified by MCP Review. See its listing here: https://mcpreview.com/mcp-servers/soapko/alice-mcp-server
Frequently asked questions
What is alice-mcp-server?
alice-mcp-server is A lightweight, local server designed to support agile task workflows within AI coding environments using the Model Context Protocol (MCP).
How do I install alice-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is alice-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/soapko/alice-mcp-server and has 2 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP