1. Conduid
  2. Productivity
  3. Sugar
MCP server · Productivity

Sugar

Persistent memory for AI coding agents. Local-first, cross-session context, global knowledge, and optional autonomous task execution.

77Good

Scored 1 hours ago · breakdown

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
uvx sugarai
pip
pip install sugarai
From source
git clone https://github.com/roboticforce/sugar

Tools (34)

analyze_issueAnalyze a GitHub issue and return insights
ParameterTypeDescription
issue_number *integerThe issue number to analyze
repostringRepository in owner/repo format (optional)
createTaskCreate a new Sugar task for autonomous development
ParameterTypeDescription
descriptionstringDetailed task description
prioritynumberPriority level (1=low, 5=urgent)
title *stringTask title (required)
typestringTask type
urgentbooleanMark as urgent (sets priority to 5)
find_similar_issuesFind issues similar to a given issue
ParameterTypeDescription
issue_number *integerThe issue number to find similar issues for
limitintegerMaximum number of similar issues to return
repostringRepository in owner/repo format (optional)
generate_responseGenerate a response for a GitHub issue
ParameterTypeDescription
contextstringAdditional context for the response
issue_number *integerThe issue number to respond to
repostringRepository in owner/repo format (optional)
getStatusGet Sugar system status and task queue metrics
get_project_contextGet current project context summary from Sugar memory.
initSugarInitialize Sugar in the current project directory
listTasksList Sugar tasks with optional filtering
ParameterTypeDescription
limitnumberMaximum number of tasks to return
prioritynumberFilter by priority
statusstringFilter by status
typestringFilter by task type
list_recent_memoriesList recent memories from both project and global stores, optionally
ParameterTypeDescription
limitintegerMaximum memories to return (default: 10)
memory_typestringOptional filter (decision, preference, research, error_pattern, file_context, outcome, guideline)
recallGet memories about a specific topic, formatted as readable context.
ParameterTypeDescription
topic *stringThe topic to recall information about
removeTaskRemove a task from the queue
ParameterTypeDescription
taskId *stringTask ID to remove
runOnceExecute one autonomous development cycle (picks up highest priority task)
ParameterTypeDescription
dryRunbooleanSimulate execution without making changes
validatebooleanValidate configuration before running
search_codebaseSearch the codebase for relevant code
ParameterTypeDescription
file_patternstringFile pattern to search (e.g., '*.py')
query *stringSearch query
search_memorySearch Sugar memory for relevant context.
ParameterTypeDescription
limitintegerMaximum results to return (default: 5)
query *stringNatural language search query
store_learningStore a new learning, decision, or observation in Sugar memory.
ParameterTypeDescription
content *stringWhat to remember (be specific and detailed)
memory_typestringType of memory (decision, preference, research, error_pattern, file_context, outcome, guideline)
scopestring"project" for local context, "global" for cross-project knowledge (default: project)
tagsstringOptional 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.
ParameterTypeDescription
descriptionstringDetailed task description with context
prioritynumberPriority: 1=minimal, 2=low, 3=normal, 4=high, 5=urgent
title *stringTask title - clear, actionable description
triagebooleanEnable intelligent triage for complex tasks
typestringTask type category
urgentbooleanMark as urgent (sets priority to 5)
sugar_add_taskAdd a new task to the Sugar work queue for autonomous execution.
ParameterTypeDescription
acceptance_criteriastringJSON string of acceptance criteria list
cwdstringOptional absolute working directory for spend attribution; defaults to the MCP server's current directory.
descriptionstringDetailed task description with context
orchestratebooleanWhen 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.
priorityintegerPriority 1-5 where 1=urgent, 5=minimal (default: 3)
projectstringOptional project label for spend attribution; defaults to the basename of the server cwd.
skip_stagesstringComma-separated orchestration stages to skip (e.g. "research,review"). Only meaningful when orchestrate=true.
statusstringInitial status - pending or hold (default: pending)
title *stringTask title - clear, actionable description (required)
typestringTask type (bug_fix, feature, test, refactor, documentation, chore)
sugar_emit_eventEmit a live activity event for the dashboard's "agents at work" view.
ParameterTypeDescription
actorstringActor id; defaults to the MCP agent identity (``$SUGAR_ACTOR`` / ``$SUGAR_AGENT_ID`` / ``$USER@host``).
kind *stringEvent kind, e.g. ``tool.invoked``, ``run.started``, ``run.ended``, ``agent.activity``, ``usage.reported``.
messagestringHuman-readable one-line description of what just happened.
payloadobjectExtra structured fields (``tool``, ``command``, ``file``, ``tokens_in``, ``tokens_out``, ``cost_usd``, ...). ``message`` wins over ``payload["message"]`` when both are provided.
task_idstringRelated Sugar/macOS task id, when there is one.
sugar_listList Sugar tasks with optional filtering by status, type, or priority
ParameterTypeDescription
limitnumberMaximum number of tasks to return
prioritynumberFilter by priority level
statusstringFilter by task status
typestringFilter by task type
sugar_list_tasksList tasks in the Sugar work queue with optional filtering.
ParameterTypeDescription
limitintegerMaximum tasks to return (default: 20, max: 100)
priorityintegerFilter by exact priority (1-5)
statusstringFilter by status (pending, hold, active, completed, failed, or all)
typestringFilter by task type
sugar_priorityChange the priority of a task. Higher priority tasks are executed first.
ParameterTypeDescription
level *anyNew priority: 1-5 or urgent/high/normal/low/minimal
taskId *stringTask 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.
ParameterTypeDescription
limitnumberMaximum memories to return
query *stringSearch query for memories
typestringType of memory to search
sugar_removeRemove a task from the work queue (cannot be undone)
ParameterTypeDescription
taskId *stringTask ID to remove
sugar_remove_taskRemove a task from the work queue.
ParameterTypeDescription
forcebooleanForce removal even if task is active (default: False)
task_id *stringTask 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.
ParameterTypeDescription
dryRunbooleanSimulate execution without making changes
validatebooleanValidate configuration before running
sugar_statusGet Sugar system status including task queue metrics and worker status
sugar_task_statusGet queue statistics and system health information.
sugar_update_taskUpdate properties of an existing task.
ParameterTypeDescription
descriptionstringNew description
priorityintegerNew priority (1-5)
statusstringNew status (pending or hold only)
task_id *stringTask ID to update (required)
titlestringNew task title
typestringNew task type
sugar_viewView detailed information about a specific task including history and context
ParameterTypeDescription
taskId *stringTask ID to view (e.g., abc123)
sugar_view_taskGet detailed information about a specific task.
ParameterTypeDescription
task_id *stringTask ID (full UUID or short 8-char prefix)
suggest_labelsSuggest labels for an issue based on its content
ParameterTypeDescription
issue_number *integerThe issue number to suggest labels for
repostringRepository in owner/repo format (optional)
updateTaskUpdate an existing Sugar task
ParameterTypeDescription
descriptionstringNew description
prioritynumberNew priority level
statusstringNew status
taskId *stringTask ID to update
titlestringNew task title
typestringNew task type
validate_responseValidate a response before posting
ParameterTypeDescription
issue_numberintegerThe issue number (for context)
response *stringThe response to validate
viewTaskView detailed information about a specific task
ParameterTypeDescription
taskId *stringTask 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
Questions

About Sugar

How do I install Sugar?

Run uvx sugarai, then add the server to your MCP client's configuration.

Is Sugar safe to use with an AI agent?

Its trust score is 77 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sugar still maintained?

Yes — the last commit was 11 hours ago. The repository has 105 stars and 15 forks.

What tools does Sugar provide?

Conduid read 34 tools from the source: analyze_issue, createTask, find_similar_issues, generate_response, getStatus, get_project_context, initSugar, listTasks and 26 more. 29 of them publish their parameters, listed under Tools above.