Sutra

io.github.4rgon4ut由 GitHub 帳號 4rgon4ut 發布v0.1.1更新於 Oct 24, 2026

Context Engineering Engine. Provides cognitive tools, memory structures, and agent patterns.

已驗證STDIO僅桌面知識與記憶AI 與機器學習

概覽

AI 產生的概覽

Sutra 是一個本機 MCP 伺服器,為助理提供用於上下文工程的推理技巧、記憶結構與多代理模式庫。

可以做什麼
將請求路由到不同推理策略,例如針對即時任務的 YOLO 模式與針對系統設計的 Constructor 模式,並由 Architect 結合思考模型、記憶單元與 debate council、research synthesis 等器官產生自訂代理藍圖。透過手動探索工具瀏覽上下文工程技巧目錄。使用理解問題、驗證邏輯、回溯與符號抽象等思考模型。使用鍵值狀態、短期視窗記憶與長期情境記憶等記憶單元。
適用情境
適合希望助理組織自身推理、在工作階段中保留狀態,或設計自訂代理工作流程,而非呼叫外部服務的情境。
執行需求
以本機程序在使用者機器上執行(僅桌面端)。需要 Python 3.10+ 與 PyPI 套件 context-engineering-mcp,可用 uv 或 pip 安裝;uv 為選用但建議。未宣告帳號、API 金鑰或環境變數。
安裝前請注意
專案仍在早期階段(功能標示為 v0.1.0),清單未列出具體工具,使用前應確認實際暴露的能力。它會在本機保存記憶結構,請留意資料存放位置。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sutra,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Sutra

mcp-name: io.github.4rgon4ut/sutra

The MCP Context Engineering Engine

Sutra is a Model Context Protocol (MCP) server that transforms how LLMs handle reasoning, memory, and orchestration. It provides a "Standard Library" of cognitive tools (Thinking Models), memory structures (Cells), and multi-agent patterns (Organs).

Installation

Using uv (Recommended)

bash
uv tool install context-engineering-mcp

Using pip

bash
pip install context-engineering-mcp

Configuration

Select your agent below and copy-paste the config.

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "sutra": {      "command": "uv",      "args": ["tool", "run", "context-engineering-mcp"]    }  }}
Claude Code

Run this in your terminal:

bash
claude mcp add sutra uv tool run context-engineering-mcp
Aider

Run aider with the mcp flag:

bash
aider --mcp "uv tool run context-engineering-mcp"

Or add to .aider.conf.yml:

yaml
mcp: ["uv tool run context-engineering-mcp"]
Gemini CLI

Add to ~/.gemini/settings.json:

json
{  "mcpServers": {    "sutra": {      "command": "uv",      "args": ["tool", "run", "context-engineering-mcp"]    }  }}
Cursor / Windsurf

In MCP settings, add a new server:

  • Name: Sutra
  • Type: command
  • Command: uv tool run context-engineering-mcp
Codex

Add to your config (TOML):

toml
[mcp_servers.sutra]command = "uv"args = ["tool", "run", "context-engineering-mcp"]

Core Features (v0.1.0)

1. The Gateway (Router)

Sutra automatically analyzes your request to decide the best strategy:

  • YOLO Mode: For immediate tasks ("Fix this bug"), it routes to specific cognitive tools.
  • Constructor Mode: For system design ("Build a bot"), it routes to the Architect.

2. The Architect

Generates blueprints for custom agents, combining:

  • Thinking Models: understand_question, verify_logic, backtracking, symbolic_abstract.
  • Memory Cells: key_value (State), windowed (Short-term), episodic (Long-term).
  • Organs: debate_council (Multi-perspective), research_synthesis (Deep Dive).

3. The Librarian

A manual discovery tool (get_technique_guide) that lets you or the agent browse the full catalog of Context Engineering techniques.

Development

Requirements: Python 3.10+, uv (optional but recommended).

  1. Clone the repo:
    bash
    git clone https://github.com/4rgon4ut/sutra.gitcd sutra
  2. Install dependencies:
    bash
    uv sync --all-extras# ORpip install -e ".[dev]"
  3. Run tests:
    bash
    pytest

License

MIT

來源:README.md,提交 c0a1d4c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分