ellmos Homebase

io.github.ellmos-ai由 GitHub 账号 ellmos-ai 发布v0.1.0-alpha.28更新于 Oct 26, 2026

Local-first LLM orchestration: memory, knowledge, state, routing, swarm, API discovery, plugins.

概览

AI 生成的概览

本地优先的 LLM 编排服务器,为助手提供基于 SQLite 的记忆、知识检索、任务状态、模型路由、群体规划与 API 探测能力。

可以做什么
  • 存储并全文检索持久化的记忆事实与知识条目
  • 创建并分页查询持久化状态与任务,并记录各智能体归属
  • 获取无需凭据的模型路由建议与群体协作规划蓝图
  • 被动探测 HTTP API 结构并保留本地历史
  • 以仅计划、试运行的方式登记连接器队列、自动化链与插件发现记录
  • 运行内置的元数据与冒烟自检,并读取策略、工单与锁的只读视图
适用场景
适合在本地或离线模型环境中使用,希望跨会话或多个智能体共享一份持久的记忆、知识与任务记录。也适合规划多智能体协作模式,或在不交出凭据的情况下探测 API。
运行要求
以 stdio 方式在本机运行,通常通过 npx 或全局 npm 安装;npm 包只是 Node 包装器,仍需 Python 3.10+ 及 Python 包 mcp>=1.0.0。数据保存在用户主目录下的 SQLite 中。可选配置通过 HOMEBASE_CONFIG、HOMEBASE_LANG 或 HOMEBASE_LOCALE,以及 HOMEBASE_AGENT_ID 或 AGENT_ID 设置。本地 LLM 需要具备 MCP 能力的运行框架。
安装前请注意
标注为 alpha,功能可能不完整;部分工具在未安装规范引擎时返回不可用状态。它会向本地 SQLite 数据库写入持久数据,并发编辑可能使分页读取的结果发生变化。只读的策略、工单与锁工具在失败时直接报错而不回退。不索取任何凭据,但请留意配置文件位置,避免指向共享或同步文件夹。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ellmos Homebase,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ellmos-homebase-mcp

[ellmos Homebase MCP logo]

Alpha MCP server for local-first LLM orchestration: memory, knowledge, routing, swarm patterns, API probing, persistent state, tests, automation planning, and plugin discovery in one stdio server.

Homebase is designed primarily for local LLMs (Ollama, Qwen, Llama, or any locally-hosted model via a MCP-capable harness). All persistent storage uses SQLite with no cloud dependency. External LLM providers (Claude, Codex, Gemini, OpenAI) can also connect as MCP clients, but local, offline-capable setups are the primary target.

German README: README_de.md

Part of the ellmos-ai family under the open-bricks umbrella.

[Ecosystem: open-bricks] [Organization: ellmos-ai] [License: MIT] [Attribution: NOTICE] [npm version] [Python Matrix] [Node.js] [Platforms] [Privacy] [Storage] [MCP] [Status: alpha] [Tests] [Security SLA] [Security: RunAsInvoker] [Level 1 SBOM: Plain Text] [Audit] [Last-Checked] [Code style: ruff] [LLMs-Ready] [Homebase tests]

Discoverability: Published on npm as ellmos-homebase-mcp and maintained in the ellmos-ai organization.

[!NOTE] For AI Assistants & LLM Agents: Machine-readable architecture summary, index, and tool capabilities are published in llms.txt. MCP registry metadata is available in server.json.

Quick Navigation / Schnellnavigation


System Architecture

mermaid
flowchart TD    subgraph Clients ["MCP Clients (Local / Remote)"]        Ollama["Local LLMs (Ollama, Qwen, Llama)"]        Claude["Claude Code / Desktop"]        Codex["Codex / Antigravity"]    end
    subgraph Transport ["Transport Layer"]        Stdio["stdio (Python MCP SDK)"]    end
    subgraph Core ["ellmos-homebase-mcp Core Engine"]        Server["homebase.server"]        Config["homebase.config"]    end
    subgraph ToolGroups ["51 MCP Tools across 14 Functional Modules"]        Mem["hb_mem_* (SQLite Memory)"]        KB["hb_kb_* (Knowledge Digest)"]        State["hb_state_* (State & Tasks)"]        Route["hb_route_* (Model Router)"]        Swarm["hb_swarm_* (Swarm Patterns)"]        Api["hb_api_* (API Probing)"]        Conn["hb_conn_* (Connectors Queue)"]        Auto["hb_auto_* (Automation Chains)"]        Plug["hb_plug_* (Plugin Discovery)"]        Garden["hb_garden_* (Garden Store)"]        Test["hb_test_* (Self Tests)"]        Policy["hb_policy_* (Policy Registry, read-only)"]        Ticket["hb_ticket_* (Ticket Master, read-only)"]        Lock["hb_lock_* (Lock Master, read-only)"]    end
    subgraph Storage ["Local Storage (Offline-First)"]        DB[(SQLite Storage ~/.homebase/)]    end
    Clients --> Stdio    Stdio --> Server    Server --> Config    Server --> ToolGroups    ToolGroups --> DB

Four-View Architectural Topology Projection

text
+-------------------------------------------------------------------------------+|  VIEW 1: CALLER RUNTIMES, AGENT CLIENTS & ENTRYPOINTS                         ||  - Local LLM Engines: Ollama (Qwen, Llama, Mistral, DeepSeek), Local Harnesses||  - Multi-Agent Orchestrators: Claude Code, Claude Desktop, OpenAI Codex, AGY  ||  - IDE & Extension Interfaces: Cursor, VS Code MCP Extension, Windsurf        ||  - stdio Protocol Transport: JSON-RPC 2.0 via Python Model Context Protocol   |+---------------------------------------+---------------------------------------+                                        | JSON-RPC 2.0 stdio (tools/list, tools/call)                                        v+-------------------------------------------------------------------------------+|  VIEW 2: HOMEBASE MCP SOVEREIGN CORE & DISPATCH ORCHESTRATOR                  ||  - Core Server & Life Cycle: homebase.server (stdio loop, signal handling)    ||  - Module Registry & Dispatch: homebase.registry (i18n schemas, locale norm)  ||  - 51 Sovereign MCP Tools across 14 Specialized Functional Modules:          ||    * Memory & Knowledge: hb_mem_* (SQLite memory), hb_kb_* (FTS5 search)      ||    * State & Planning: hb_state_* (tasks & KV), hb_garden_* (garden store)    ||    * Routing & Swarms: hb_route_* (offline routing), hb_swarm_* (blueprints)  ||    * Exploration & Testing: hb_api_* (schema probe), hb_test_* (diagnostics)  ||    * Integration & Staging: hb_conn_* (safe queues), hb_auto_* (chain plans)  ||    * Extensibility: hb_plug_* (dry-run discovery, no remote code execution)   ||    * Canonical Seams: hb_policy_*, hb_ticket_*, hb_lock_* (read-only views)   |+-------------------+-----------------------------------+-----------------------+                    |                                   |                    v (bundled SQLite mode)             v (canonical engine mode)+---------------------------------------+ +-------------------------------------+|  VIEW 3: RUNTIME PERSISTENCE &        | |  VIEW 3-ALT: CANONICAL SEAMS        ||  SQLITE STORAGE ENGINE                | |  (MODE-CONTRACT.md)                 ||  - Database: ~/.homebase/homebase.db  | |  - Policy Registry (hb_policy_*)    ||  - Concurrency: Write-Ahead Log (WAL) | |  - Ticket Master (hb_ticket_*)      ||  - Multi-Agent Provenance: agent_id   | |  - Lock Master (hb_lock_*)          ||  - Search Engine: SQLite FTS5 index   | |  - Fail-Closed Discipline:          ||  - Integrity: Busy timeouts & rollback| |    Raises CanonicalEngineUnavailable|+-------------------+-------------------+ +-----------------+-------------------+                    |                                       |                    +-------------------+-------------------+                                        |                                        v+-------------------------------------------------------------------------------+|  VIEW 4: AIR-GAP DEFENSE PERIMETER, RUNASINVOKER & ZERO-EGRESS BOUNDARY        ||  - 100% Local-First & Zero Egress: INV-LOCAL-01 (0 cloud calls, 0 telemetry)  ||  - Unprivileged Execution: INV-PERM-08 (RunAsInvoker non-elevation principle) ||  - Engine Seam Integrity: INV-ENGINE-02 & INV-SEAM-03 (strict fail-closed)   ||  - Deterministic Provenance: INV-PROV-04 (agent_id attribution on all state)  ||  - Credential-Free Operation: INV-CRED-05 & INV-STAGE-06 (no tokens/secrets)  ||  - Multi-Host Lock Defense: INV-SYNC-09 (.gitignore sync/lock immunity)       ||  - Permissive Licensing: Zero-Copyleft stack (MIT, PSFL-2.0, Apache-2.0)     ||  - Statutory SLA & Disclaimer: INV-SLA-10 (48h response SLA, § 521 BGB)       |+-------------------------------------------------------------------------------+

Sequence Flow & Lifecycle

mermaid
sequenceDiagram    autonumber    participant Client as MCP Client (Local LLM / Claude / Codex)    participant Stdio as Transport Layer (stdio)    participant Server as Server & Registry (homebase)    participant Module as Functional Module (hb_mem / hb_state / hb_route)    participant Engine as Engine Seam (Bundled vs Canonical)    participant DB as SQLite Storage (~/.homebase/)
    Client->>Stdio: JSON-RPC 2.0 Request (tools/call: hb_mem_store, agent_id="agent-01")    Stdio->>Server: Decode & dispatch tool call    Server->>Module: Validate arguments & inject agent provenance    alt Bundled Engine Mode (Default)        Module->>DB: Execute SQLite query (WAL mode, busy timeout)        DB-->>Module: Return structured records / mutation status    else Canonical Engine Mode ([engines].mode = "canonical")        Module->>Engine: Seam check (Gardener / TASKPLAN / USMC)        alt Engine Available            Engine-->>Module: Delegate to canonical subsystem        else Engine Unreachable            Engine-->>Module: Raise CanonicalEngineUnavailable (Fail-Closed)        end    end    Module-->>Server: Format response in requested language (i18n: en/de/es/zh/ja/ru)    Server-->>Stdio: Encode JSON-RPC 2.0 Response    Stdio-->>Client: Result payload (Zero cloud egress, 100% local)

Core Capabilities & Security Invariants

Capability / InvariantGuaranteeTechnical Implementation
100% Local-First & Zero-EgressComplete privacy and offline operation; no unexpected cloud communication or telemetry.All persistent memory, knowledge, and state are saved in local SQLite (~/.homebase/).
Strict Engine Seams & Fail-ClosedNo silent fallback into disconnected databases when requesting canonical systems.MODE-CONTRACT.md enforcement: raises CanonicalEngineUnavailable if target is unreachable.
Team-Memory Provenance (agent_id)Deterministic audit trail and filterable ownership for multi-agent workflows.Native agent_id tracking across memory facts, knowledge entries, and task state.
Credential-Free Discovery & PlanningZero secret exposure during local routing recommendations and API probing.hb_route_*, hb_swarm_*, and hb_api_* run without transmitting API keys or private tokens.
Safe Plan-and-Queue AdaptersSafe queueing and chain staging without arbitrary remote code execution.hb_conn_* and hb_auto_* maintain plan-only queues and offline staging records.
Full Native i18n LocalizationSeamless multilingual developer and agent interaction.Localized tool descriptions and JSON schemas for en, de, es, zh, ja, ru.
Non-Elevation & Secret HygieneUnprivileged execution and strict credential exclusion from distribution.Non-root compatibility; live configs/secrets ignored in .gitignore and .npmignore.
Multi-OS CI Smoke IntegrityVerified cross-platform reliability on all major operating systems.Multi-version CI matrix covering Python 3.10–3.13 and Node.js 20–24 on Linux/Windows/macOS.

Governance & Runtime Invariants

Invariant IDTitle & ScopeGuarantee & Technical EnforcementVerification Seam
INV-LOCAL-01100% Local-First & Zero-EgressAll persistent memory, knowledge entries, and task states are stored locally in SQLite (~/.homebase/). Zero telemetry, analytics, or unrequested outbound cloud network calls.tests/test_server_transport.py, tests/test_repository_hygiene.py
INV-ENGINE-02Strict Engine Seams & Fail-ClosedMODE-CONTRACT.md enforcement: switching [engines].mode = "canonical" never silently falls back to bundled storage if the canonical engine is unreachable.tests/test_engine_seams.py
INV-SEAM-03Canonical-Only Isolationhb_policy_*, hb_ticket_*, and hb_lock_* provide read-only views into policy-registry, ticket-master, and lock-master. They possess no bundled imitation and fail closed unconditionally.tests/test_new_seams.py
INV-PROV-04Deterministic Provenance & Team-MemoryMulti-agent coordination requires strict isolation. All memories, knowledge facts, and task transitions record agent_id attribution with SQLite WAL concurrency and busy timeouts.tests/test_module_contracts.py
INV-CRED-05Credential-Free Discovery & ProbingModel routing suggestions (hb_route_*), swarm pattern blueprints (hb_swarm_*), and API schema probing (hb_api_*) function without private API keys, tokens, or credentials.tests/test_module_contracts.py
INV-STAGE-06Plan-Only Staging & Bounded Offline QueuesConnector queues (hb_conn_*) and automation plans (hb_auto_*) record offline blueprints and dry-run staging manifests without executing arbitrary remote code or side-effects.tests/test_module_contracts.py
INV-I18N-07Native Multilingual Schema ParityAll 51 tool definitions, input schemas, and validation errors maintain 100% complete localization across 6 supported languages (en, de, es, zh, ja, ru).tests/test_i18n_completeness.py
INV-PERM-08Non-Elevation & RunAsInvoker PrincipleHomebase runs strictly in unprivileged user space. It requires no administrator or root privileges and ignores sensitive local dotfiles and system credentials.tests/test_repository_hygiene.py
INV-SYNC-09Multi-Host Lock & Conflict DisciplineStrict exclusion of conflict copies (*.sync-conflict-*, *-conflict-*) and honor of multi-agent lock mechanisms (LOCK.*, *.lock) to preserve database integrity across hosts.tests/test_metadata.py
INV-SLA-1048h Response, 5-Day Triage & 30-Day Remediation SLASecurity disclosures sent to [email protected], [email protected], or [email protected] receive guaranteed initial response in <=48h, triage within 5 business days, and verified remediation within 30 calendar days.SECURITY.md, tests/test_metadata.py

Target Personas & Discoverability

Homebase is purpose-built to solve architectural and operational challenges across four core technical audiences:

[PERSONA-01] Local LLM & Edge AI Developers

  • Profile & Objective: AI engineers building offline or edge applications with Ollama, Qwen, or Llama models who need a robust orchestration harness.
  • Pain Points: Cloud memory APIs introduce unwanted latency, privacy leaks, subscription billing, and network failure modes.
  • Homebase Solution: Zero-cloud dependency, local SQLite WAL persistence (~/.homebase/), and 51 standard stdio tools providing memory, FTS5 knowledge search, and task tracking.
  • Reference Workflow:
    json
    {"tool": "hb_mem_store", "arguments": {"fact": "User prefers compact JSON output", "agent_id": "ollama-coder"}}{"tool": "hb_kb_search", "arguments": {"query": "API routing rules", "fts": true}}

[PERSONA-02] Multi-Agent Swarm Orchestrators & Swarm Architects

  • Profile & Objective: System architects orchestrating multi-agent collectives (Claude Code, Codex, Antigravity, local agents) operating concurrently on shared codebases.
  • Pain Points: State collisions, lack of origin tracking, race conditions in shared memory, and uncoordinated task delegation.
  • Homebase Solution: Native agent_id provenance across all facts, memories, and task states; built-in swarm templates (boss/worker, chunked parallel, consensus voting via hb_swarm_*).
  • Reference Workflow:
    json
    {"tool": "hb_swarm_plan", "arguments": {"goal": "Audit security seams", "pattern": "consensus"}}{"tool": "hb_state_task_create", "arguments": {"title": "Verify fail-closed mode", "agent_id": "worker-audit-01"}}

[PERSONA-03] Enterprise Security & Data Governance Officers

  • Profile & Objective: CISOs, SecOps teams, and compliance auditors in regulated industries (healthcare, finance, defense) evaluating developer agent toolchains.
  • Pain Points: Silent cloud telemetry, unvetted remote side-effects, privilege escalation risks, and missing SLA assurances.
  • Homebase Solution: Strict zero-egress architecture, fail-closed canonical engine seams (MODE-CONTRACT.md), unprivileged RunAsInvoker operation, and formal 48h Security Response SLA (SECURITY.md).
  • Reference Workflow:
    json
    {"tool": "hb_policy_list_rules", "arguments": {}}
    Guaranteed fail-closed behavior: raises CanonicalEngineUnavailable instead of silently falling back to insecure stubs.

[PERSONA-04] Cross-Framework AI Assistants & Pair Programmers

  • Profile & Objective: Developers utilizing multiple AI coding assistants (Claude Desktop, Codex, Cursor, Gemini) seeking uniform context and tool parity across environments.
  • Pain Points: Incompatible custom tool APIs, fragmented scratchpads, and lack of multilingual developer schemas.
  • Homebase Solution: Standard stdio MCP transport, machine-readable project metadata (llms.txt, server.json, glama.json), and 100% complete schema localization across 6 languages (en, de, es, zh, ja, ru).
  • Reference Workflow:
    json
    {"tool": "hb_ticket_list", "arguments": {"folder": "ACTIVE"}}

High-Intent Search & SEO Keywords

  • English Intent: local-first LLM orchestration MCP server, offline agent memory SQLite WAL, stdio Model Context Protocol Ollama Qwen, multi-agent swarm planning persistent state, zero-egress MCP server enterprise AI, fail-closed engine seams MODE-CONTRACT, team-memory agent_id provenance.
  • German Intent: Local-First LLM-Orchestrierung MCP-Server, Offline Agenten-Memory SQLite WAL, Model Context Protocol Stdio-Server Ollama, Multi-Agenten Schwarmplanung persistenter Zustand, Zero-Egress MCP-Server Unternehmens-KI, Fail-Closed Schnittstellen MODE-CONTRACT, Team-Memory Agenten-Provenienz.

Comparative Matrix vs. Alternatives

Homebase provides a uniquely comprehensive, local-first MCP capability stack compared to specialized or cloud-bound alternatives:

Architectural & Runtime Dimensionellmos-homebase-mcpCloud Memory SaaS (Letta, Pinecone, LangSmith)Generic Memory MCPs (mcp-server-memory, sqlite)Heavy Agent Frameworks (CrewAI, AutoGen, LangGraph)Ad-Hoc Scripts / Custom SQLite
1. 100% Local-First & Zero Egress (INV-LOCAL-01)Yes (100% local SQLite WAL, zero telemetry)No (Cloud-hosted, mandatory egress, PII risk)Partial (Local file, but no strict egress contracts)Variable (Often requires cloud API keys / SaaS)Yes (Local, but no protocol guarantees)
2. Engine Seams & Fail-Closed (INV-ENGINE-02)Yes (Strict MODE-CONTRACT.md, raises error on failure)No (Opaque cloud failovers)No (Single hardcoded backend)No (Unchecked exceptions / silent fallbacks)No (Ad-hoc failure handling)
3. Canonical-Only Seams (INV-SEAM-03)Yes (hb_policy_*, hb_ticket_*, hb_lock_* fail closed)No (No canonical system awareness)No (No policy or lock integration)No (No governance seam layer)No (Manual coordination)
4. Team-Memory & Attribution (INV-PROV-04)Yes (Native agent_id on facts, knowledge, tasks)Partial (User-level only, lacks multi-agent filters)No (Single global unpartitioned graph)Partial (In-memory agent state, lost on restart)No (Manual schema management)
5. Credential-Free Discovery (INV-CRED-05)Yes (Offline routing & swarm planning without tokens)No (Requires active paid cloud credentials)No (No model routing or swarm tools)No (Requires API keys for LLM planners)No (No structured planning)
6. Plan-Only Staging Queues (INV-STAGE-06)Yes (Safe connector queues & dry-run automation)No (Direct execution or none)No (No connector or automation support)No (Direct runtime side-effects)No (Unsafe arbitrary execution)
7. Tool Breadth & Surface51 Tools across 14 Modules in single stdio server1-5 API endpoints2-5 basic toolsFramework-level Python library (not MCP native)Fragmented CLI utilities
8. Multilingual Schema Parity (INV-I18N-07)Yes (Full en, de, es, zh, ja, ru schema coverage)English onlyEnglish onlyEnglish onlyEnglish only / None
9. Non-Elevation Security (INV-PERM-08)Yes (Unprivileged RunAsInvoker, dotfile defense)Cloud SaaS (Tenant-isolation trust model)Variable (Local file permissions)Variable (Often runs in root containers)Variable (User scripts)
10. Security Response SLA (INV-SLA-10)Yes (Formal 48h Response, 5d Triage & 30d Remediation in SECURITY.md)Commercial SLA (Paid tiers only)None / Best-effort communityNone / Best-effort communityNone

Start Here

NeedEntry point
Install the alpha MCP servernpm install -g ellmos-homebase-mcp@alpha
Run from a source checkoutpython -m homebase.server with PYTHONPATH=src
Configure a local LLM harness, Claude Code, Codex, or any MCP clientMCP Client Configuration
Inspect the machine-readable project summaryllms.txt
Check registry metadataserver.json

Status

  • Transport: stdio via the Python MCP SDK
  • Package status: public alpha package under ellmos-ai
  • Release metadata: MIT LICENSE, NOTICE, CHANGELOG.md, llms.txt, and MCP Registry metadata in server.json
  • Test gate: GitHub Actions covers Python 3.10/3.11/3.12/3.13 plus Node.js 20/22/24 smoke and npm package checks
  • Current core: module discovery, MCP tool listing, MCP tool dispatch, config fallbacks, local planning/probing/queue/dry-run adapters
  • Real local SQLite modules: hb_mem_*, hb_kb_*, hb_garden_*, hb_state_*
  • Engine seams: hb_garden_*, hb_state_task_*, hb_mem_*, hb_kb_* and hb_route_* can delegate to the real canonical Gardener/Rinnsal/USMC/KnowledgeDigest/clutch engines instead of the bundled copies via [engines].mode = "canonical" (default remains "bundled" for a zero-dependency install). No silent fallback: if you request canonical and the engine is unreachable, those tools return an error rather than quietly using the bundled DB — the server still starts and lists its tools. The public APIs of KnowledgeDigest and clutch are narrower than the hb_kb_*/hb_route_* families: under a reachable canonical engine hb_kb_search, hb_route_select and hb_route_stats delegate, while hb_kb_ingest/get/list and hb_route_evaluate report not_supported (gaps are reported, not worked around). Binding rule and migration notes: MODE-CONTRACT.md; mechanism: KONZEPT.md.
  • Canonical-only seams (no bundled alternative at all): hb_policy_* (policy-registry), hb_ticket_* (ticket-master), hb_lock_* (lock-master) — all read-only in v1. A locally faked copy of live policy/ticket/lock state would mislead rather than help, so these three always attempt the canonical module and fail closed unconditionally if it is unreachable.
  • Team-memory basics: agent_id provenance and filters for memory, knowledge, state memory, and tasks; SQLite uses WAL plus a busy timeout for safer concurrent agents
  • Credential-free alpha adapters: hb_route_*, hb_swarm_*, hb_api_*, hb_test_*, hb_conn_*, hb_auto_*, hb_plug_*
  • i18n: fully localized MCP tool descriptions, input-schema field descriptions, and unknown-tool errors for en, de, es, zh, ja, ru (English fallback for any unset key)
  • Roadmap: optional real LLM/API integrations and explicit execution backends

Install

The npm package contains a Node wrapper that starts the Python server. You still need Python 3.10+ and the Python package mcp>=1.0.0.

Option 1: Install From npm

powershell
npm install -g ellmos-homebase-mcp@alphaellmos-homebase

Option 2: Install From Source

powershell
git clone https://github.com/ellmos-ai/ellmos-homebase-mcp.gitcd ellmos-homebase-mcp$env:PYTHONIOENCODING = "utf-8"python -m pip install -e ".[dev]"python -m pytest -ra -v

Avoid creating a .venv inside cloud-synced folders if your sync client locks files. If you need an isolated environment, create it outside that folder.

Start From Source

powershell
$env:PYTHONPATH = "src"python -m homebase.server

MCP Client Configuration

Homebase uses the standard stdio mcpServers configuration format. The same snippet works in any MCP-capable client or harness: BACH/Buddha (local Ollama), Claude Code, Codex, Cursor, or any other MCP host.

Note on local LLMs: A bare Ollama instance does not speak MCP natively — you need a MCP-capable harness on top of it (e.g., BACH, an open-source MCP proxy, or another orchestration layer). Configure that harness to include Homebase as an MCP server using the snippet below.

Global npm Install

json
{  "mcpServers": {    "homebase": {      "command": "ellmos-homebase"    }  }}

Source Checkout

json
{  "mcpServers": {    "homebase": {      "command": "python",      "args": ["-m", "homebase.server"],      "env": {        "PYTHONPATH": "/absolute/path/to/ellmos-homebase-mcp/src"      }    }  }}

Replace /absolute/path/to/ellmos-homebase-mcp with your local checkout path.


Server Configuration

Example: config/homebase.example.toml

Machine-readable project context: llms.txt

MCP Registry metadata: server.json

Default paths:

  • %USERPROFILE%\.homebase\homebase.toml
  • %USERPROFILE%\.config\homebase\homebase.toml
  • override with HOMEBASE_CONFIG

Language can be configured with [server].language, HOMEBASE_LANG, or HOMEBASE_LOCALE. The writing agent can be passed per tool call as agent_id; otherwise modules use HOMEBASE_AGENT_ID, AGENT_ID, a module-level agent_id, or unknown.

toml
[server]name = "ellmos-homebase"language = "en" # en, de, es, zh, ja, ru
[modules]enabled = ["mem", "route", "kb", "swarm", "state", "garden", "api", "test", "conn", "auto", "plug"]

Modules with missing optional dependencies are skipped without blocking server startup.


Tools

Important tool groups:

  • hb_mem_* for SQLite-backed memory
  • hb_kb_* for SQLite-backed knowledge entries
  • hb_state_* for persistent SQLite state and tasks
  • hb_garden_* for a small SQLite garden store
  • hb_route_* for credential-free model-routing recommendations and feedback stats
  • hb_swarm_* for credential-free swarm planning patterns
  • hb_api_* for passive HTTP API discovery with SQLite history
  • hb_test_* for built-in metadata and smoke self-tests
  • hb_conn_* for a local connector registry plus SQLite-backed inbox/outbox queues without network sends
  • hb_auto_* for local automation chain definitions and queued plan-only runs without backend execution
  • hb_plug_* for local plugin discovery and dry-run records without executing plugin code
  • hb_policy_* (read-only, canonical-only) for resolving/listing policy-registry rules
  • hb_ticket_* (read-only, canonical-only) for listing/showing ticket-master tickets by lifecycle folder
  • hb_lock_* (read-only, canonical-only) for checking/listing active lock-master locks

hb_state_task_list returns one task page. Optional status and agent_id filters apply before pagination; limit defaults to 200 and accepts 1–500, while cursor is the exclusive task ID returned as next_cursor by the prior page. The response keeps count (tasks on this page) and tasks, and adds total (all matches for the filters, regardless of cursor), truncated, next_cursor, limit, and cursor. Continue while truncated is true. Pages use ascending task IDs; each call is a fresh read, so concurrent edits may change later totals or membership. In canonical mode this requires Task-Master's TaskClient.list_page API (PR #22, commit ac2c681c); until that API is installed, the tool returns status: unavailable with error.code: task_pagination_unavailable instead of an incomplete list.


Discovery Context

Use ellmos-homebase-mcp when searching for a local-first, offline-capable MCP server that gives local LLMs (Ollama, Qwen, Llama, or similar) persistent memory, knowledge management, routing, and orchestration — without requiring any cloud dependency. External LLM providers can also use it as an MCP server, but local-first setups are the primary design target.

Good search phrases:

  • ellmos Homebase MCP server
  • local-first LLM orchestration MCP
  • MCP server SQLite memory knowledge routing
  • offline agent orchestration MCP server
  • MCP swarm planning persistent state API discovery

Not the same as Elmo/ELMO voice tools, AllenAI ELMo embeddings, Eclipse LMOS, generic cloud agent platforms, or single-purpose MCP memory servers.


ellmos-ai Ecosystem

This MCP server is part of the ellmos-ai ecosystem — AI infrastructure, MCP servers, and intelligent tools.

MCP Server Family

ServerToolsFocusnpm
FileCommander47Filesystem, process management, interactive sessions, cloud-lock-safe operationsellmos-filecommander-mcp
CodeCommander23Code analysis, JSON repair, imports, diffs, regexellmos-codecommander-mcp
Clatcher12File repair, format conversion, batch operationsellmos-clatcher-mcp
n8n Manager19n8n workflow management via AI assistantsn8n-manager-mcp
ControlCenter20MCP stack discovery, profile management, control planeellmos-controlcenter-mcp
Homebase51Local-first LLM memory, knowledge, state, routing, swarm orchestrationellmos-homebase-mcp (alpha)
ServerCommander8Server operations: health checks, log analysis, deploy dry-runs, mail diagnosticsellmos-servercommander-mcp (alpha)
Blender Use3Headless Blender asset QA and FBX reimport verificationellmos-blender-use-mcp (alpha)
Open Compute10Model-agnostic computer use: capture, safety-gated actions, Windows UIAopen-compute-mcp (alpha)

AI Infrastructure

ProjectDescription
BACHLocal-first text-based OS for LLM agents — 113+ handlers, 550+ tools, SQLite memory
open-computeModel-agnostic computer-use core powering Open Compute MCP
clutchProvider-neutral LLM orchestration with auto-routing and budget tracking
rinnsalLightweight agent memory, connectors, and automation infrastructure
ellmos-stackSelf-hosted AI research stack (Ollama + n8n + Rinnsal + KnowledgeDigest)
MarbleRunAutonomous agent chain framework for Claude Code
gardenerMinimalist database-driven LLM OS prototype (4 functions, 1 table)
ellmos-testsTesting framework for LLM operating systems (7 dimensions)
agent-ops-stackManifest-based Git fetch blueprint; its manifest lists Homebase as homebase-mcp with the declared mcp-runtime, memory-facade, and task-facade labels. Follow Homebase's setup instructions.

Desktop Software & Sibling Ecosystem

Our partner umbrella organization open-bricks and sister organizations maintain local-first, privacy-centric desktop software and developer tools:

Application / ToolOrganizationFocus & Integration
ProFilerfile-bricksLocal-first desktop file organizer and PII-safe workspace exchange
DokuZendoc-bricksDistraction-free Markdown & PDF documentation manager
PDFtoPDFocrdoc-bricksLocal-first PDF OCR and text layer embedding
KnowledgeDigestdoc-bricksOffline document summarization and embedding engine
DevCenterdev-bricksDeveloper workspace hub and multi-repository management
CodeBoxdev-bricksIsolated sandbox runner and local code execution assistant
MemoryHookerellmos-aiHook-based LLM memory provenance and session injection gate
sqlite-transit-syncellmos-aiZero-dependency SQLite schema migration & replication layer

Third-Party Licenses & Level 1 SBOM

ellmos-homebase-mcp is verified to contain 0% copyleft dependencies. All runtime dependencies are permissively licensed (MIT, BSD-2-Clause, Apache-2.0, PSFL).

Full inventory, Level 1 SBOM Invariant Cross-Reference Matrix, and non-elevation certifications are documented in THIRD_PARTY_LICENSES.md and plain-text companion THIRD_PARTY_LICENSES.txt. Canonical copyright and author attribution is maintained in NOTICE.


Security & Vulnerability Reporting

ellmos-homebase-mcp strictly adheres to local-first, zero-egress, and non-elevation security principles. Full policies, SLAs, and security guarantees are documented in SECURITY.md:


Development

powershell
$env:PYTHONIOENCODING = "utf-8"$env:PYTHONDONTWRITEBYTECODE = "1"python -m pytest -ra -vnpm run smokenpm pack --dry-run --json

Next useful step: add optional execution backends behind explicit configuration.


License & Statutory Liability Disclaimer (§ 521 BGB)

Software License

ellmos-homebase-mcp is open-source software licensed under the MIT License. Canonical attribution to Lukas Geiger, the ellmos-ai family, and the open-bricks ecosystem is formally preserved in NOTICE. Third-party component licenses are cataloged in THIRD_PARTY_LICENSES.md.

Statutory Notice & Liability Limitation (§ 521 BGB - German Law)

This software is made available free of charge as an open-source project. Under German statutory law governing gratuitous software provision (§ 521 BGB Gefälligkeitsrecht):

  1. Liability Limitation: The author and contributors are liable only in cases of intentional misconduct (Vorsatz) or gross negligence (grobe Fahrlässigkeit).
  2. Warranty Limitation: In accordance with §§ 523, 524 BGB, warranty claims for material and legal defects (Sach- und Rechtsmängel) are excluded, except in cases where defects have been fraudulently concealed (arglistiges Verschweigen).
  3. Local-First & Non-Elevation Principle: ellmos-homebase-mcp is provided on an "as is" and "as available" basis without any express or implied warranty. Operators run Homebase in unprivileged user mode (RunAsInvoker) at their own discretion.

Coordinated Security Response SLA

For vulnerability reporting or security inquiries, our coordinated disclosure policy guarantees an initial response within 48 hours and triage within 5 business days:


Bundles and partners

Homebase MCP remains a standalone local-first MCP server. In the V4 composition it is an optional MCP access surface of the ellmos-memory-human-context-bundle: a configured system may use it to reach memory and human-context capabilities. This access role does not make Homebase the canonical owner of every memory, knowledge, state, routing or automation function; the selected host and system manifests retain those bindings.

Canonical or bundled engines are integration partners selected by explicit configuration, not implicit replacements for this server. Authoritative bundle membership, versions, profiles and private composition recipes remain in the corresponding bundle manifests. This public section is discovery-only.

来源:README.md,提交 a5cfaae

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

2
  1. v0.1.0-alpha.28最新Oct 26, 2026
  2. v0.1.0-alpha.17Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分