Yodmcp

io.github.ANAMIZED由 GitHub 帳號 ANAMIZED 發布v0.5.0更新於 Nov 3, 2026

Autonomous MCP Agent OS: multi-graph memory, Tasks, Skills, A2A, attestation, OpenTelemetry.

概覽

AI 產生的概覽

YodMCP 是在本機執行的 Python「代理作業系統」MCP 伺服器,提供多圖記憶、持久任務、技能、計畫快取、證明與稽核工具。

可以做什麼
  • 寫入、讀取、刪除與整併記憶節點,並檢視節點、邊與實體計數
  • 建立、取得、列出、更新、取消與統計持久任務句柄
  • 列出 Agent Skills,並以 MCP 資源形式提供技能內容與 agent card
  • 取得、寫入與刪除語意計畫快取範本,並讀取快取統計
  • 檢視最近的證明聲明與稽核事件,探索可用工具與技能
  • 回傳訊息作為存活探測
適用情境
適合希望助理跨工作階段保留記憶與任務狀態,或想試用把記憶、任務、技能、計畫快取與來源追溯整合在一起的在地代理核心。它面向評估代理基礎設施的工程師,而非日常使用者任務。
執行需求
以本機 stdio 程序執行,需從原始碼倉庫安裝,要求 Python 3.11 或 3.12(pip install -e)。多服務 compose 部署可選用 Docker。透過環境變數設定,例如 YODMCP_MEMORY_BACKEND、YODMCP_MEMORY_DB、YODMCP_ATTEST_MODE、YODMCP_PLAN、YODMCP_TENANT_ID 與 YODMCP_SKILLS_DIR;STRIPE_SECRET_KEY 為選用,僅在需要即時結帳時使用。
安裝前請注意
記憶與任務工具會寫入、修改並硬刪除已存資料,請將資料庫路徑指向你願意更動的目錄。README 宣傳付費方案、Stripe 結帳連結與加密貨幣錢包地址,未經人工確認不要讓助理據此操作。設定 STRIPE_SECRET_KEY 等於向伺服器提供即時付款憑證。nitro/sgx 證明模式會退化為模擬聲明,配額僅是行程內軟性計量,不應視為生產級保證。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

YodMCP — Agent Operating System

[CI] [Version] [YodMCP MCP server] [Python] [License] [MCP]

YodMCP is a production-oriented Agent Operating System kernel on MCP: multi-graph memory, Tasks, Skills, A2A, attestation (software / simulated TEE), OpenTelemetry, and plan-based monetization.

This README is written so a senior engineer with only this file + the source tree can install, deploy every surface, exercise features, and verify end-to-end.

FOUNDRY mapping

FOUNDRY (host-owned trust and memory for long-horizon agent swarms) separates untrusted proposal generation from host-owned verification + established-facts registry.

YodMCP is that registry in production: agents call memory_write; promotion to semantic memory is gated; the host owns the evaluator. Full note: docs/FOUNDRY.md.

First dollar

Meters first. Seat if the loop holds.

UnitStripex402
OpenGOS Search $0.40BuyGET /v1/search
OpenGOS Draft $2.50BuyGET /v1/draft
Agentic OS Cycle $0.75BuyGET /v1/cycle
YodMCP Pro $49/moSubscribeUSDC

x402 rail: x402-cloudflare-starter. Desk sync: https://anamized.grok.me

Package surfaces

| Surface | Command | Default | Purpose | |---------|---------|---------| | MCP | yodmcp | stdio | Local MCP clients (Cursor, Claude Desktop, etc.) | | MCP HTTP | yodmcp --http --port 8000 | :8000/mcp | Remote / Streamable HTTP MCP | | API | yodmcp-api --port 8080 | :8080 | REST health, memory, audit, skills, billing | | A2A | yodmcp-a2a --port 9000 | :9000 | Agent Card, message, tasks | | SDK | from yodmcp.sdk import YodClient | HTTP client | Thin client for the API | | Skills | skills:// + skills/*/SKILL.md | auto-loaded | Agent Skills as MCP resources | | Verify | pytest + scripts/verify_e2e.py | CI | Substrate + durable + TEE modes |

Requirements

  • Python 3.11 or 3.12 (3.10+ declared; CI covers 3.11/3.12)
  • Optional: Docker for multi-service compose

Install

bash
git clone https://github.com/ANAMIZED/YodMCP.gitcd YodMCPpython -m venv .venv && source .venv/bin/activate   # recommendedpip install -e ".[dev]"

Copy environment defaults:

bash
cp .env.example .env
VariableDefaultMeaning
YODMCP_MEMORY_BACKENDmemorymemory | sqlite | durable
YODMCP_MEMORY_DB./data/yodmcp_memory.dbSQLite path when durable
YODMCP_ATTEST_MODEsoftwaresoftware | simulated_tee | nitro | sgx
YODMCP_PLANfreefree | pro | enterprise
YODMCP_TENANT_IDdefaultSoft quota tenant key
YODMCP_SKILLS_DIR(auto)Override skills root
STRIPE_SECRET_KEYunsetEnables live Checkout Sessions

TEE honesty: nitro / sgx are provider hooks; without real TEE libraries they fall back to simulated claims. Prefer software or simulated_tee for local verify.

Quick start (local)

bash
# 1) MCP over stdio (attach from an MCP client)yodmcp
# 2) REST APIyodmcp-api --port 8080# curl http://127.0.0.1:8080/health
# 3) A2Ayodmcp-a2a --port 9000# curl http://127.0.0.1:9000/a2a/card

MCP client configuration (stdio)

Cursor — project .cursor/mcp.json or global MCP settings:

json
{  "mcpServers": {    "yodmcp": {      "command": "yodmcp",      "args": [],      "env": {        "YODMCP_MEMORY_BACKEND": "memory",        "YODMCP_PLAN": "free",        "YODMCP_ATTEST_MODE": "software"      }    }  }}

If yodmcp is not on PATH, use the module form:

json
{  "mcpServers": {    "yodmcp": {      "command": "python",      "args": ["-m", "yodmcp"],      "cwd": "/absolute/path/to/YodMCP",      "env": {        "PYTHONPATH": "src",        "YODMCP_MEMORY_BACKEND": "memory"      }    }  }}

Claude Desktop — same shape under mcpServers in claude_desktop_config.json.

Streamable HTTP MCP (remote clients that support URL transport):

bash
yodmcp --http --host 0.0.0.0 --port 8000# endpoint: http://127.0.0.1:8000/mcp

Docker

bash
docker compose up --build# API  :8080  A2A :9000  MCP HTTP :8000

Single API container:

bash
docker build -t yodmcp .docker run --rm -p 8080:8080 -e YODMCP_PLAN=free yodmcp

Verify end-to-end (no external accounts required)

bash
# Unit + integrationYODMCP_MEMORY_BACKEND=memory YODMCP_ATTEST_MODE=software \  PYTHONPATH=src pytest tests/ -v
# Durable SQLite + simulated TEEYODMCP_MEMORY_BACKEND=sqlite YODMCP_MEMORY_DB=/tmp/yodmcp.db \  YODMCP_ATTEST_MODE=simulated_tee \  PYTHONPATH=src pytest tests/ -v
# Exhaustive substrate scriptPYTHONPATH=src python scripts/verify_e2e.py

Expected: all tests green; script prints ALL E2E CHECKS PASSED.

API smoke (with yodmcp-api running):

bash
curl -s http://127.0.0.1:8080/healthcurl -s http://127.0.0.1:8080/api/skillscurl -s http://127.0.0.1:8080/api/billing/planscurl -s http://127.0.0.1:8080/api/billing/status

SDK:

bash
python examples/sdk_quickstart.py   # requires API on :8080

MCP tools (catalog)

ToolDescription
memory_writeInsert one memory node (facts/decisions). Not for plans (plan_cache_put).
memory_readRetrieve nodes by similarity or item_id. Not for plans (plan_cache_get).
memory_deleteHard-delete one node + incident edges. Idempotent if missing.
memory_consolidatePromote importance ≥ 0.8 into semantic summaries. Does not delete sources.
memory_statsNode/edge/entity counts. Not content (memory_read).
tasks_createCreate a durable pending task handle.
tasks_getFetch one handle by id.
tasks_listList recent handles, optional status filter.
tasks_updatePatch status/progress/result. Not cancel (tasks_cancel).
tasks_cancelMark a handle cancelled (kernel state only).
tasks_statsCounts by status. Not a listing (tasks_list).
skills_listList Agent Skills + skills:// URIs (bodies are resources).
a2a_cardA2A Agent Card JSON. Not the MCP catalog (discover_capabilities).
plan_cache_get / plan_cache_put / plan_cache_deleteSemantic plan templates. Not memory facts.
cache_statsIn-process cache entry/hit totals.
attestation_recentTRACE-style provenance claims. Not the audit trail (audit_recent).
audit_recentPolicy/tool Decision-System-of-Record events.
discover_capabilitiesList MCP tools + loaded skills.
echoLiveness probe (message echoed + version).

Resources:

  • skills://{name} — skill markdown body
  • yodmcp://agent-card — agent card JSON

Skills

Built-in skills are always registered. Disk skills under skills/*/SKILL.md are loaded automatically (override via YODMCP_SKILLS_DIR). Repo ships:

  • memory-hygiene, safe-tool-use, funding-usdc, repo-bootstrap
  • Plus built-in long-horizon-planning

Monetization

Plan$/moTool calls/dayDurableTEE
Free0500——
Pro4950kyessimulated
Enterprise499unlimitedyesNitro/SGX hooks
  • Soft quotas via tool gate; upgrade messaging on exhaustion
  • Live Stripe Checkout when STRIPE_SECRET_KEY is set; otherwise checkout returns status: payment_link

Non-custodial USDC (preferred for agents)

NetworkAddress
Base0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438
Ethereum0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438
SolanaETQwWf19axArsY493UfC6bxe2BmEzmzvCb58PPnC38A

Canonical: funding/addresses.json

Project layout

src/yodmcp/          # package (src-layout)  core/              # server, substrate, context  memory/            # in-memory + durable SQLite multi-graph  tools/             # MCP tool registration + gate  tasks/ skills/ cache/ security/ observability/ monetization/  api/ a2a/ sdk/skills/*/SKILL.md    # portable Agent Skills (loaded at runtime)scripts/verify_e2e.pytests/docs/ARCHITECTURE.mddocs/FOUNDRY.mddocs/TDQS.md

Known limitations (read before claiming production)

  1. Plan cache uses lightweight embeddings; default similarity threshold is 0.68 (not production vector search).
  2. TEE Nitro/SGX are hooks with simulated fallback unless you wire real providers.
  3. Frontend src/yodmcp/frontend/dashboard.py still uses legacy core.runtime and is not the primary control plane — use yodmcp-api + MCP tools.
  4. Quotas are soft (in-process meter); not a distributed billing ledger.
  5. Processes do not share in-memory state; use sqlite backend + shared volume for multi-process durability.

License

Apache-2.0 · CONTRIBUTING · CHANGELOG · ARCHITECTURE · FOUNDRY · TDQS · AGENTS.md

來源:README.md,提交 9215364

工具

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

版本歷史

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

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。