ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Sugar

โดย roboticforceรุ่น 3.4.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.cdnsteve/sugar

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Autonomous AI development system with persistent task queue and background execution

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เอกสาร ตาราง และงานออฟฟิศ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "sugar": {
      "command": "uvx",
      "args": [
        "sugarai",
        "mcp",
        "serve"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GITHUB_TOKEN": "ใส่ค่าของคุณ",
        "SUGAR_DEFAULT_REPO": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add sugar --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' --env GITHUB_TOKEN='ใส่ค่าของคุณ' --env SUGAR_DEFAULT_REPO='ใส่ค่าของคุณ' -- uvx sugarai mcp serve

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "sugar": {
      "command": "uvx",
      "args": [
        "sugarai",
        "mcp",
        "serve"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GITHUB_TOKEN": "ใส่ค่าของคุณ",
        "SUGAR_DEFAULT_REPO": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "sugar": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sugarai",
        "mcp",
        "serve"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GITHUB_TOKEN": "ใส่ค่าของคุณ",
        "SUGAR_DEFAULT_REPO": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • ANTHROPIC_API_KEY env
    Anthropic API key for Claude model access
  • GITHUB_TOKEN env
    GitHub token for repository access
  • SUGAR_DEFAULT_REPO env
    Default repository in owner/repo format

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ! ควรระวัง

    ตัวตนผู้ทำตรงกับ repo

    ผู้ลงทะเบียน (cdnsteve) ไม่ใช่เจ้าของ repo (roboticforce) อาจเป็นคนอื่นที่นำมาลงต่อ

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 0% ของอีก 2174 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 2% ของอีก 2174 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 34% ของอีก 2174 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Sugar ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (3.4.2) เข้า registry 10 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Agent-Native Calendar

โดย BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

รันบนคลาวด์★ 7,620MITอัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

Excel MCP Server

โดย haris-musa

ให้ AI สร้างและแก้ไฟล์ Excel ได้เอง ทั้งสูตร กราฟ และ PivotTable โดยไม่ต้องมีโปรแกรม Excel ในเครื่อง

รันบนเครื่อง★ 4,276MITอัปเดต 6 วันที่ผ่านมา
ติดตั้ง

MCP Server for Excel

โดย sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

รันบนเครื่อง★ 847MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Sugar

Persistent memory for AI coding agents.

Your AI agent starts every session with amnesia. The architecture decisions, conventions, and gotchas you explained last week are gone. Sugar is the local-first memory layer that remembers them for you - per project, across projects, on your machine.

Your memory. Your machine. Your data.

What Sugar Does

Sugar is a memory layer your AI coding agent can read and write directly:

  • Project memory - Decisions, preferences, error patterns, and research stored per-project
  • Global memory - Standards and guidelines shared across every project you work on
  • Semantic search - Retrieve relevant context by meaning, not just keywords
  • MCP integration - Your AI agent reads and writes memory directly during sessions
  • Local-first - SQLite on your disk, no API keys, fully offline-capable
  • Task queue - Optional autonomous execution, powered by the same memory layer

Quick Start

# Install once, use in any project

pipx install sugarai

Initialize in your project

cd ~/dev/my-app sugar init

Store what you know

sugar remember "We use async/await everywhere, never callbacks" --type preference sugar remember "JWT tokens use RS256, expire in 15 min - see auth/tokens.py" --type decision sugar remember "When tests fail with import errors, check init.py exports first" --type error_pattern

Retrieve it later

sugar recall "authentication" sugar recall "how do we handle async"

Your AI agent can also read and write memory directly - no copy-pasting required.

MCP Integration

Connect Sugar's memory to your AI agent so it can access project context automatically.

Claude Code - Memory server (primary):

claude mcp add sugar -- sugar mcp memory

Claude Code - Task server (optional):

claude mcp add sugar-tasks -- sugar mcp tasks

Once connected, Claude can call store_learning to save context mid-session and search_memories to pull relevant knowledge before starting work. The memory server works from any directory - global memory is always available even outside a Sugar project.

Other MCP clients (Goose, Claude Desktop):

# Goose

goose configure

Select "Add Extension" -> "Command-line Extension"

Name: sugar

Command: sugar mcp memory

OpenCode - one command setup

sugar opencode setup

Skills

Sugar ships Agent Skills - folders of instructions that teach coding agents to apply Sugar's methodology. Skills live under skills/ and follow the Agent Skills specification (a SKILL.md with name/description frontmatter plus instructions).

SkillWhat it does
sugar-memoryStore and surface project context via Sugar's memory MCP server: recall context at task start, search before deciding, store learnings after completing work
sugar-task-plannerTurn a high-level task into a detailed execution plan: subtasks, dependencies, time estimates, risks, and measurable success criteria
sugar-quality-guardianReview code across quality, testing, security, and performance, ending with a structured verdict
sugar-orchestratorCoordinate multi-step workflows: analyze complexity, decompose tasks, assign roles, monitor execution

Each skill includes an evaluation dataset (evals/evals.json) and is measured with NVIDIA SkillEvaluator against the OpenCode harness. See Skill Benchmarks for the Skill Lift results - sugar-memory and sugar-task-planner both show measured positive lift.

Global Memory

Some knowledge belongs to you, not just one project. Coding standards, preferred patterns, security practices - these should follow you everywhere.

# Store a guideline that applies to all your projects

sugar remember "Always validate and sanitize user input before any DB query" \ --type guideline --global

sugar remember "Use conventional commits: feat/fix/chore/docs/test" \ --type guideline --global

View your global guidelines

sugar recall "security" --global sugar memories --global

Search works project-first, but guidelines always surface

sugar recall "database queries"

Returns: project-specific memories + relevant global guidelines

Global memory lives at ~/.sugar/memory.db. Project memory lives at .sugar/memory.db. When you search, project context wins - but guideline type memories from global always appear in results so your standards stay visible.

Via MCP, pass scope: "global" to store_learning to save cross-project knowledge directly from your AI session.

Memory types: decision, preference, file_context, error_pattern, research, outcome, guideline

Full docs: Memory System Guide

How Memory Works

Sugar uses two SQLite databases and a tiered search strategy.

Two stores:

  • Project store (.sugar/memory.db) - context specific to one project
  • Global store (~/.sugar/memory.db) - knowledge that applies everywhere

Seven memory types, each with different retrieval behavior:

TypePurposeTTL
decisionArchitecture and implementation choicesNever
preferenceHow you like things doneNever
file_contextWhat files and modules doNever
error_patternBugs and their fixes90 days
researchAPI docs, library findings60 days
outcomeWhat worked, what didn't30 days
guidelineCross-project standards and best practicesNever

Search strategy - project-first with reserved guideline slots:

  1. Search the project store first (local context always wins)
  2. Reserve slots for global guidelines (cross-project standards always surface)
  3. Fill remaining slots with other global results
  4. Deduplicate across both stores

This means a mature project's local context dominates results. A new project with no local memory gets global knowledge automatically. And your guidelines are always visible regardless.

Search engine: Semantic search via sentence-transformers (all-MiniLM-L6-v2, 384-dim vectors) with sqlite-vec. Falls back to SQLite FTS5 keyword search, then LIKE queries. No external API calls - everything runs locally.

# Install with semantic search (recommended)

pipx install 'sugarai[memory]'

Works without it too - just uses keyword matching

pipx install sugarai

MCP tools available to your AI agent:

ToolWhat it does
search_memorySearch both stores, returns results with scope labels
store_learningSave a memory (pass scope: "global" for cross-project)
recallGet formatted markdown context for a topic
get_project_contextFull project summary including global guidelines
list_recent_memoriesBrowse recent memories by type

MCP resources:

  • sugar://project/context - project summary
  • sugar://preferences - coding preferences
  • sugar://global/guidelines - cross-project standards

Task Queue

The task queue lets you hand off work and let it run autonomously. It reads from the same memory store, so Sugar already knows your preferences and patterns before it starts.

# Add tasks

sugar add "Fix authentication timeout" --type bug_fix --urgent sugar add "Add user profile settings" --type feature

Start the autonomous loop

sugar run

Sugar picks up tasks, executes them with your configured AI agent, runs tests, commits working code, and moves to the next task. It runs until the queue is empty or you stop it.

Delegate from Claude Code mid-session:

/sugar-task "Fix login timeout" --type bug_fix --urgent

Advanced task options: New in 3.10: Task Orchestration decomposes large features into a 4-stage workflow (research, plan, implement, review) with specialist agent routing and dependency-ordered sub-tasks.

# Orchestrated execution - 4-stage workflow (New in 3.10)

sugar add "Add OAuth authentication" --type feature --orchestrate

Iterative mode - loops until tests pass

sugar add "Implement rate limiting" --ralph --max-iterations 10

Check queue status

sugar list sugar status

Full docs: Task Orchestration

Autonomous Issue Resolution (optional)

Because Sugar remembers your codebase and conventions, it can also resolve routine issues autonomously. Point it at a GitHub repo, configure which labels to act on (security, bug, dependabot), and Sugar will read each issue, implement the fix, run your tests, and open a PR.

Labeled issue appears on GitHub

-> Sugar picks it up (label filter: "security", "dependabot", "bug") -> AI agent reads the issue, analyzes the affected code -> Fix implemented, tests run locally -> PR opened - you review and merge

This is one application of the memory layer, not the headline. Use Sugar purely as memory, or enable resolution - your choice. See workflow examples for security auto-fix, bug triage, test coverage, and more.

Supported AI Tools

Works with any CLI-based AI coding agent:

AgentMemory MCPTask MCPNotes
Claude CodeYesYesFull support
OpenCodeYesYessugar opencode setup
GooseYesYesVia MCP
AiderVia CLIVia CLIManual recall

Installation

Recommended: pipx - installs once, available everywhere, no venv conflicts:

pipx install sugarai

Upgrade / Uninstall:

pipx upgrade sugarai

pipx uninstall sugarai

Other installation methods

pip (requires venv activation each session)

pip install sugarai

uv

uv pip install sugarai

With semantic search (recommended for memory):

pipx install 'sugarai[memory]'

With GitHub integration:

pipx install 'sugarai[github]'

All features:

pipx install 'sugarai[all]'

Sugar is project-local by default. Each project gets its own .sugar/ folder with its own database and config. Global memory lives at ~/.sugar/. Like git - one installation, per-project state.

Project Structure

~/.sugar/

└── memory.db # Global memory (guidelines, cross-project knowledge)

~/dev/my-app/ ├── .sugar/ │ ├── sugar.db # Project memory + task queue │ ├── config.yaml # Project settings │ └── prompts/ # Custom agent prompts └── src/

Recommended .gitignore:

.sugar/sugar.db

.sugar/sugar.log .sugar/*.db-*

Commit .sugar/config.yaml and .sugar/prompts/ to share settings with your team.

Configuration

.sugar/config.yaml is created on sugar init:

sugar:

dry_run: false loop_interval: 300 max_concurrent_work: 3

claude: enable_agents: true

discovery: github: enabled: true repo: "user/repository"

Documentation

  • Quick Start
  • Memory System
  • Skill Benchmarks
  • CLI Reference
  • Task Orchestration
  • Goose Integration
  • OpenCode Integration
  • GitHub Integration
  • Configuration Guide
  • Troubleshooting

Requirements

Contributing

Contributions welcome. See CONTRIBUTING.md.

git clone ht

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx