Skip to main content
Glama

okfshare CLI und MCP-Server

npm: okfshare npm: @okfshare/mcp npm: @okfshare/agent-installer Site

Der clientseitige, quelloffene Teil von okfshare: gemeinsames, versioniertes Wissen für KI-Coding-Agenten.

Veröffentlichen Sie ein validiertes Markdown-Bundle genau einmal. Jeder autorisierte Agent arbeitet auf Grundlage derselben unveränderlichen Revision, mit Zitaten auf Zeilenebene, die Sie prüfen können. Der gehostete Dienst verwaltet Revisionen, Zitate und die Workspace-Authentifizierung; dieses Repository enthält die Werkzeuge, die Ihre Agenten tatsächlich ausführen.

Pakete

Paket

Befehl

Zweck

okfshare

npx okfshare@latest

CLI: setup, publish, search, context, diff, rollback

@okfshare/mcp

npx @okfshare/mcp@latest

MCP-Server für Claude Code, Cursor, opencode, Codex

@okfshare/agent-installer

okfshare-agent

Installiert okfshare-Skills in die Agent-Werkzeuge

Related MCP server: JacBrain

Schnellstart

# 1. One-time onboarding (device pairing in your browser)
npx okfshare@latest setup

# 2. Validate and publish a folder of Markdown
npx okfshare@latest validate ./knowledge
npx okfshare@latest publish ./knowledge --visibility public --yes

# 3. Any teammate's agent retrieves cited context
npx okfshare@latest context SHARE_ID "how do we handle db migrations"

Headless-/CI-Umgebungen: Stellen Sie über die Umgebungsvariable OKFSHARE_TOKEN eine vorab bereitgestellte Anmeldeinformation bereit (nur auf Existenz prüfen; niemals protokollieren) und verifizieren Sie den Zugriff anschließend mit whoami und doctor.

MCP-Setup

claude mcp add okfshare -- npx @okfshare/mcp@latest

Oder mit einem beliebigen MCP-Client:

{
  "mcpServers": {
    "okfshare": {
      "command": "npx",
      "args": ["@okfshare/mcp@latest"]
    }
  }
}

Werkzeuge: whoami, doctor, list_shares, search_share, search_workspace, get_context, pull_bundle, publish_bundle. Registry-Manifest: server.json.

Warum Zitate wichtig sind

Die Abfrage liefert die Datei, die exakten Zeilen und die unveränderliche Revision, aus der sie stammen. Wenn ein Agent behauptet „unsere Konvention besagt X“, können Sie die Behauptung in Sekunden prüfen – und ein Zitat bedeutet auch morgen dasselbe, denn der Inhalt einer Revision wird nie an Ort und Stelle geändert.

Das Open Knowledge Format

Bundles sind Markdown mit strukturiertem Frontmatter: ein type, Titel, Beschreibung, Tags, Quellen und Verifikationsereignisse. Das Format ist bewusst schlank gehalten und bleibt in jedem Editor lesbar. Im schlimmsten Fall haben Sie am Ende schlichte Dateien – kein Lock-in.

Entwicklung

pnpm install
pnpm check   # typecheck + test + build across all packages
  • Node 20+ und Auto pnpm 10.

  • Die Pakete kommunizieren mit der gehosteten API unter https://okfshare.app – für die Entwicklung ist also kein lokaler Server erforderlich.

  • Siehe CONTRIBUTING.md für den Abnahmeprozess und SECURITY.md für die Meldung von Sicherheitslücken.

Lizenz

Apache-2.0. Siehe NOTICE – die Codelizenz gewährt keine Rechte am Namen oder am Branding von okfshare.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables humans and AI coding agents to collaboratively write to a shared knowledge base with conflict-safe claims, code-anchored staleness detection, and synchronized human/agent documentation via MCP and REST.
    AGPL 3.0
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI coding agents to store and retrieve versioned project knowledge and compiler-verified Jac snippets, so they can reuse relevant context across tasks and validate candidate code with the Jac compiler.
    3
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables humans and AI coding agents such as Claude Code, Codex, Cursor, and Gemini CLI to pass in-progress work between each other through shared, versioned, authenticated context that preserves decisions, artifacts, evidence, review history, and authorship. It exposes identity, search, retrieval, review, continuation, publishing, and portability tools over a Streamable HTTP endpoint.
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI coding agents to create, search, read, write, and manage persistent structured repository context such as facts, decisions, regressions, preferences, sessions, and changelog entries. This helps agents orient themselves, avoid repeating past mistakes, and retain knowledge across coding sessions.
    48 npm
    2
    MIT