About Sugar
Sugar is an MCP server published by roboticforce in the Productivity category: persistent memory for AI coding agents. Local-first, cross-session context, global knowledge, and optional autonomous task execution. Conduid read 34 tools from its source: analyze_issue, createTask, find_similar_issues, generate_response, getStatus, get_project_context and 28 more. It is published to PyPI as sugarai and runs with uvx.
The repository has 105 stars and 15 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include ai-coding, ai-development, ai-memory, autonomous-ai, context-management and cross-project.
Install
uvx sugaraipip install sugaraigit clone https://github.com/roboticforce/sugarTools (34)
analyze_issueAnalyze a GitHub issue and return insights| Parameter | Type | Description |
|---|---|---|
| issue_number * | integer | The issue number to analyze |
| repo | string | Repository in owner/repo format (optional) |
createTaskCreate a new Sugar task for autonomous development| Parameter | Type | Description |
|---|---|---|
| description | string | Detailed task description |
| priority | number | Priority level (1=low, 5=urgent) |
| title * | string | Task title (required) |
| type | string | Task type |
| urgent | boolean | Mark as urgent (sets priority to 5) |
find_similar_issuesFind issues similar to a given issue| Parameter | Type | Description |
|---|---|---|
| issue_number * | integer | The issue number to find similar issues for |
| limit | integer | Maximum number of similar issues to return |
| repo | string | Repository in owner/repo format (optional) |
generate_responseGenerate a response for a GitHub issue| Parameter | Type | Description |
|---|---|---|
| context | string | Additional context for the response |
| issue_number * | integer | The issue number to respond to |
| repo | string | Repository in owner/repo format (optional) |
getStatusGet Sugar system status and task queue metricsget_project_contextGet current project context summary from Sugar memory.initSugarInitialize Sugar in the current project directorylistTasksList Sugar tasks with optional filtering| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of tasks to return |
| priority | number | Filter by priority |
| status | string | Filter by status |
| type | string | Filter by task type |
list_recent_memoriesList recent memories from both project and global stores, optionally| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum memories to return (default: 10) |
| memory_type | string | Optional filter (decision, preference, research, error_pattern, file_context, outcome, guideline) |
recallGet memories about a specific topic, formatted as readable context.| Parameter | Type | Description |
|---|---|---|
| topic * | string | The topic to recall information about |
removeTaskRemove a task from the queue| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID to remove |
runOnceExecute one autonomous development cycle (picks up highest priority task)| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | Simulate execution without making changes |
| validate | boolean | Validate configuration before running |
search_codebaseSearch the codebase for relevant code| Parameter | Type | Description |
|---|---|---|
| file_pattern | string | File pattern to search (e.g., '*.py') |
| query * | string | Search query |
search_memorySearch Sugar memory for relevant context.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum results to return (default: 5) |
| query * | string | Natural language search query |
store_learningStore a new learning, decision, or observation in Sugar memory.| Parameter | Type | Description |
|---|---|---|
| content * | string | What to remember (be specific and detailed) |
| memory_type | string | Type of memory (decision, preference, research, error_pattern, file_context, outcome, guideline) |
| scope | string | "project" for local context, "global" for cross-project knowledge (default: project) |
| tags | string | Optional comma-separated tags for organisation |
sugar_addAdd a new task to Sugar's autonomous work queue. The task will be picked up by Sugar's background worker for autonomous execution. Use --triage for complex tasks that need intelligent decomposition.| Parameter | Type | Description |
|---|---|---|
| description | string | Detailed task description with context |
| priority | number | Priority: 1=minimal, 2=low, 3=normal, 4=high, 5=urgent |
| title * | string | Task title - clear, actionable description |
| triage | boolean | Enable intelligent triage for complex tasks |
| type | string | Task type category |
| urgent | boolean | Mark as urgent (sets priority to 5) |
sugar_add_taskAdd a new task to the Sugar work queue for autonomous execution.| Parameter | Type | Description |
|---|---|---|
| acceptance_criteria | string | JSON string of acceptance criteria list |
| cwd | string | Optional absolute working directory for spend attribution; defaults to the MCP server's current directory. |
| description | string | Detailed task description with context |
| orchestrate | boolean | When true, Sugar decomposes this task through the 4-stage orchestration workflow (research -> plan -> implement -> review) instead of executing it as a single task. Use for complex, multi-part features. |
| priority | integer | Priority 1-5 where 1=urgent, 5=minimal (default: 3) |
| project | string | Optional project label for spend attribution; defaults to the basename of the server cwd. |
| skip_stages | string | Comma-separated orchestration stages to skip (e.g. "research,review"). Only meaningful when orchestrate=true. |
| status | string | Initial status - pending or hold (default: pending) |
| title * | string | Task title - clear, actionable description (required) |
| type | string | Task type (bug_fix, feature, test, refactor, documentation, chore) |
sugar_emit_eventEmit a live activity event for the dashboard's "agents at work" view.| Parameter | Type | Description |
|---|---|---|
| actor | string | Actor id; defaults to the MCP agent identity (``$SUGAR_ACTOR`` / ``$SUGAR_AGENT_ID`` / ``$USER@host``). |
| kind * | string | Event kind, e.g. ``tool.invoked``, ``run.started``, ``run.ended``, ``agent.activity``, ``usage.reported``. |
| message | string | Human-readable one-line description of what just happened. |
| payload | object | Extra structured fields (``tool``, ``command``, ``file``, ``tokens_in``, ``tokens_out``, ``cost_usd``, ...). ``message`` wins over ``payload["message"]`` when both are provided. |
| task_id | string | Related Sugar/macOS task id, when there is one. |
sugar_listList Sugar tasks with optional filtering by status, type, or priority| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of tasks to return |
| priority | number | Filter by priority level |
| status | string | Filter by task status |
| type | string | Filter by task type |
sugar_list_tasksList tasks in the Sugar work queue with optional filtering.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum tasks to return (default: 20, max: 100) |
| priority | integer | Filter by exact priority (1-5) |
| status | string | Filter by status (pending, hold, active, completed, failed, or all) |
| type | string | Filter by task type |
sugar_priorityChange the priority of a task. Higher priority tasks are executed first.| Parameter | Type | Description |
|---|---|---|
| level * | any | New priority: 1-5 or urgent/high/normal/low/minimal |
| taskId * | string | Task ID to reprioritize |
sugar_recallSearch Sugar's memory system for relevant context, decisions, and learnings. Use before starting work to understand past decisions and patterns.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum memories to return |
| query * | string | Search query for memories |
| type | string | Type of memory to search |
sugar_removeRemove a task from the work queue (cannot be undone)| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID to remove |
sugar_remove_taskRemove a task from the work queue.| Parameter | Type | Description |
|---|---|---|
| force | boolean | Force removal even if task is active (default: False) |
| task_id * | string | Task ID to remove |
sugar_runExecute one autonomous development cycle. Sugar will pick the highest priority pending task and execute it. Use --dry-run to simulate without making changes.| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | Simulate execution without making changes |
| validate | boolean | Validate configuration before running |
sugar_statusGet Sugar system status including task queue metrics and worker statussugar_task_statusGet queue statistics and system health information.sugar_update_taskUpdate properties of an existing task.| Parameter | Type | Description |
|---|---|---|
| description | string | New description |
| priority | integer | New priority (1-5) |
| status | string | New status (pending or hold only) |
| task_id * | string | Task ID to update (required) |
| title | string | New task title |
| type | string | New task type |
sugar_viewView detailed information about a specific task including history and context| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID to view (e.g., abc123) |
sugar_view_taskGet detailed information about a specific task.| Parameter | Type | Description |
|---|---|---|
| task_id * | string | Task ID (full UUID or short 8-char prefix) |
suggest_labelsSuggest labels for an issue based on its content| Parameter | Type | Description |
|---|---|---|
| issue_number * | integer | The issue number to suggest labels for |
| repo | string | Repository in owner/repo format (optional) |
updateTaskUpdate an existing Sugar task| Parameter | Type | Description |
|---|---|---|
| description | string | New description |
| priority | number | New priority level |
| status | string | New status |
| taskId * | string | Task ID to update |
| title | string | New task title |
| type | string | New task type |
validate_responseValidate a response before posting| Parameter | Type | Description |
|---|---|---|
| issue_number | integer | The issue number (for context) |
| response * | string | The response to validate |
viewTaskView detailed information about a specific task| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID to view |
Security checks
- ✓README presentThe repository's README runs to about 1.5K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.5K words. The original in the repository is authoritative.
Read full README