Skip to main content
Glama

YodMCP — Agent Operating System

CI Version Python Lizenz MCP

YodMCP ist ein produktionsorientierter Agent Operating System-Kernel auf MCP: Multi-Graph-Speicher, Tasks, Skills, A2A, Attestierung (Software / simulierter TEE), OpenTelemetry und planbasierte Monetarisierung.

Diese README ist so geschrieben, dass ein Senior‑Engineer mit nur dieser Datei + dem Quellbaum das System installieren, alle Oberflächen bereitstellen, Funktionen testen und End-to-End verifizieren kann.

Paketoberflächen

Oberfläche

Befehl

Standard

Zweck

MCP

yodmcp

stdio

Lokale MCP‑Clients (Cursor, Claude Desktop, usw.)

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, Nachrichten, Tasks

SDK

from yodmcp.sdk import YodClient

HTTP‑Client

Dünner Client für die API

Skills

skills:// + skills/*/SKILL.md

automatisch geladen

Agent Skills als MCP‑Ressourcen

Verify

pytest + scripts/verify_e2e.py

CI

Substrate‑ + durable‑ + TEE‑Modi

Related MCP server: Agentic Control Framework (ACF)

Anforderungen

  • Python 3.11 oder 3.12 (3.10+ deklariert; CI deckt 3.11/3.12 ab)

  • Optional: Docker für Multi‑Service‑Compose

Installation

git clone https://github.com/ANAMIZED/YodMCP.git
cd YodMCP
python -m venv .venv && source .venv/bin/activate   # recommended
pip install -e ".[dev]"

Umgebungsstandards kopieren:

cp .env.example .env

Variable

Standard

Bedeutung

YODMCP_MEMORY_BACKEND

memory

memory | sqlite | durable

YODMCP_MEMORY_DB

./data/yodmcp_memory.db

SQLite‑Pfad bei durable

YODMCP_ATTEST_MODE

software

software | simulated_tee | nitro | sgx

YODMCP_PLAN

free

free | pro | enterprise

YODMCP_TENANT_ID

default

Soft‑Quota‑Tenant‑Schlüssel

YODMCP_SKILLS_DIR

(automatisch)

Überschreibt das Skills‑Wurzelverzeichnis

STRIPE_SECRET_KEY

nicht gesetzt

Aktiviert Live‑Checkout‑Sessions

TEE‑Ehrlichkeit: nitro / sgx sind Provider‑Hooks; ohne echte TEE‑Bibliotheken fallen sie auf simulierte Claims zurück. Für lokale Tests bevorzuge software oder simulated_tee.

Schnellstart (lokal)

# 1) MCP over stdio (attach from an MCP client)
yodmcp

# 2) REST API
yodmcp-api --port 8080
# curl http://127.0.0.1:8080/health

# 3) A2A
yodmcp-a2a --port 9000
# curl http://127.0.0.1:9000/a2a/card

MCP‑Client‑Konfiguration (stdio)

Cursor — Projekt‑.cursor/mcp.json oder globale MCP‑Einstellungen:

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

Wenn yodmcp nicht im PATH ist, verwende die Modulform:

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

Claude Desktop — gleiche Struktur unter mcpServers in claude_desktop_config.json.

Streamable HTTP MCP (Remote‑Clients, die URL‑Transport unterstützen):

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

Docker

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

Einzelner API‑Container:

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

End-to-End verifizieren (keine externen Konten erforderlich)

# Unit + integration
YODMCP_MEMORY_BACKEND=memory YODMCP_ATTEST_MODE=software \
  PYTHONPATH=src pytest tests/ -v

# Durable SQLite + simulated TEE
YODMCP_MEMORY_BACKEND=sqlite YODMCP_MEMORY_DB=/tmp/yodmcp.db \
  YODMCP_ATTEST_MODE=simulated_tee \
  PYTHONPATH=src pytest tests/ -v

# Exhaustive substrate script
PYTHONPATH=src python scripts/verify_e2e.py

Erwartet: alle Tests grün; Skript gibt ALL E2E CHECKS PASSED aus.

API‑Smoke (mit laufendem yodmcp-api):

curl -s http://127.0.0.1:8080/health
curl -s http://127.0.0.1:8080/api/skills
curl -s http://127.0.0.1:8080/api/billing/plans
curl -s http://127.0.0.1:8080/api/billing/status

SDK:

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

MCP‑Tools (Katalog)

Tool

Beschreibung

memory_write

In hierarchischen Multi‑Graph‑Speicher schreiben

memory_read

Mit Embedding‑Ähnlichkeit abrufen

memory_consolidate

Hochrelevante episodische in semantische Einträge überführen

memory_stats

Knoten‑/Kanten‑Zählungen

tasks_create / tasks_get / tasks_cancel / tasks_stats

Dauerhafte asynchrone Task‑Handles

skills_list

Agent Skills auflisten (+ Ressourcen‑URIs)

a2a_card

A2A‑Agent‑Card‑JSON

plan_cache_get / plan_cache_put

Semantischer Plan‑Cache

cache_stats

Cache‑Statistiken

attestation_recent

Aktuelle TRACE‑artige Claims

audit_recent

Aktuelle Richtlinien‑/Prüfereignisse

discover_capabilities

Progressive Erkennung von Tools + Skills

echo

Konnektivitätstest

Ressourcen:

  • skills://{name} — Skill‑Markdown‑Body

  • yodmcp://agent-card — Agent‑Card‑JSON

Skills

Integrierte Skills sind immer registriert. Festplatten‑Skills unter skills/*/SKILL.md werden automatisch geladen (Überschreibung über YODMCP_SKILLS_DIR). Das Repository enthält:

  • memory-hygiene, safe-tool-use, funding-usdc, repo-bootstrap

  • Plus integrierten long-horizon-planning

Monetarisierung

Plan

$/Monat

Tool‑Aufrufe/Tag

Dauerhaft

TEE

Free

0

500

Pro

49

50k

ja

simuliert

Enterprise

499

unbegrenzt

ja

Nitro/SGX‑Hooks

  • Soft‑Kontingente über Tool‑Gate; Upgrade‑Meldung bei Erschöpfung

  • Live‑Stripe‑Checkout bei gesetztem STRIPE_SECRET_KEY; sonst gibt Checkout status: payment_link zurück

Nicht‑verwahrender USDC (bevorzugt für Agenten)

Netzwerk

Adresse

Base

0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438

Ethereum

0xD3d0E9eDAe3Ac7bb199a8EAA761BdA423b878438

Solana

ETQwWf19axArsY493UfC6bxe2BmEzmzvCb58PPnC38A

Kanonisch: funding/addresses.json

Projektstruktur

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.py
tests/
docs/ARCHITECTURE.md

Bekannte Einschränkungen (vor Produktionseinsatz lesen)

  1. Plan‑Cache verwendet leichte Embeddings; standardmäßige Ähnlichkeitsschwelle ist 0,68 (keine produktionsreife Vektorsuche).

  2. TEE: Nitro/SGX sind Hooks mit simuliertem Fallback, es sei denn, Sie binden echte Provider ein.

  3. Frontend src/yodmcp/frontend/dashboard.py verwendet noch das alte core.runtime und ist nicht die primäre Steuerungsebene – verwenden Sie yodmcp-api + MCP‑Tools.

  4. Kontingente sind soft (In‑Process‑Meter); kein verteiltes Abrechnungs‑Ledger.

  5. Prozesse teilen keinen gemeinsamen In‑Memory‑Zustand; verwenden Sie sqlite‑Backend + gemeinsames Volume für Multi‑Prozess‑Dauerhaftigkeit.

Lizenz

Apache-2.0 · CONTRIBUTING · CHANGELOG · ARCHITEKTUR · AGENTS.md

Install Server
A
license - permissive license
C
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ANAMIZED/YodMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server