Okf MCP logo

Okf MCP

Validates, searches, graphs, and safely authors local Open Knowledge Format bundles over MCP.

Install Okf MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "okf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mfdaves/okf-mcp@0.12.0-rc.1"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

okf-mcp MCP server reads Open Knowledge Format v0.2 bundles from local directories and exposes validation, search, graph navigation, provenance, and proposal-based authoring through MCP. It runs locally over stdio, with optional workspace federation and read-only loading of public GitHub bundles. Reach for it when agents need structured access to Markdown concepts with YAML metadata, controlled changes, and computation-contract checks. Its v0.2 support inspects attested computations without executing code or claiming receipt attestation.

Use cases

  • Validate an OKF bundle before publishing it
  • Search and traverse concepts across federated knowledge bundles
  • Review agent-authored concept changes through explicit proposals
  • Inspect provenance and computation contracts without executing code

Key features

  • OKF v0.2 bundle validation
  • In-memory BM25+ concept search
  • Graph navigation and provenance inspection
  • Proposal-based authoring with explicit acceptance
  • Read-only public GitHub bundle loading
  • Static attested-computation and migration checks

Tools4

What Okf MCP lets your agent do. Expand a tool for its parameters.

Self-reported~8 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9h ago via OSV.dev · @mfdaves/okf-mcp@0.12.0-rc.1 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
npm downloads2.2kPackage downloads in the last 30 days.
Last commit10d agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.

How Okf MCP works

What okf-mcp does

okf-mcp works with Open Knowledge Format v0.2 bundles: directory trees containing Markdown concept files with YAML frontmatter. It turns those files into searchable concepts, graph relationships, provenance views, and MCP resources and tools. A local root maps directly to one bundle, while an optional project configuration can combine multiple bundles into a workspace.

The server supports both inspection and controlled authoring. Agents can validate concepts and proposed changes, create proposals for new concepts or updates, review proposal details, and explicitly accept or reject them. Producer workflows can generate candidate content from configured external sources, validate that output, and publish it under an ownership manifest that limits which files the producer may change.

How it works

The default operating mode is local-first. The process reads a bundle from --root, discovers concepts by their extensionless paths, and builds in-memory search and graph views. Search uses BM25+ retrieval through MiniSearch; YAML is parsed with js-yaml, and Markdown structure is handled with CommonMark. The core does not require a database, embeddings, build step, or hosted service.

Multiple roots can be federated through okf.project.yaml. The project file can also define relation types, generators, remote bundles, and metadata producers. Public GitHub bundles may be loaded with --remote-bundle; the loader fetches Markdown concepts and only explicitly referenced inert assets. Remote material is read-only.

Attested-computation features are deliberately static. The server can inspect contracts and digests, prepare checks, and verify declared parameter and receipt field names, but it does not execute computation code or claim that a receipt has been attested. Compatibility checks support selected OKF v0.1 forms, including legacy timestamp and citation patterns, as review-oriented migration checks.

Setup and configuration

Node.js 22 or newer is required. Install the package or clone the repository, then run the okf or okf-mcp binary with a bundle root:

Terminal
npx -y @mfdaves/okf-mcp@latest --root ./path/to/okf validate
okf-mcp --root ./path/to/okf mcp

Without an explicit CLI command, the process starts a stdio MCP server. The --root option is the recommended single-bundle setup. --project selects an optional multi-bundle configuration, and --remote-bundle id=https://github.com/<owner>/<repo>/tree/<ref>/<path> adds a public GitHub bundle for read-only use.

A project configuration can assign bundle IDs and paths, include or exclude file patterns, define typed relations, configure filesystem plugins, and attach external producers. The --authoring option enables MCP authoring workflows, while --allow-remote-tool enables the related remote-tool behavior. The HTTP serve command can use OKF_WRITE_TOKEN for write access.

Tools and capabilities

The MCP tool set covers:

  • Bundle, concept, type, tag, relation, and edge-kind listing.
  • Structured concept lookup, text search, graph traversal, and provenance inspection.
  • Reading bundle assets and mapped Git sources without implicitly executing referenced code.
  • Validation of concepts, changes, computation contracts, receipts, and v0.2 migrations.
  • Loading and listing remote bundles from public GitHub paths.
  • Preparing computation checks and inspecting attested-computation data.
  • Suggesting concept paths and proposing new concepts, updates, computations, and migrations.
  • Listing, retrieving, accepting, and rejecting proposals before changes are applied.
  • Listing configured producers and applying validated changes under explicit ownership rules.

The CLI provides corresponding commands for validation, search, concept lookup, graph output, neighbors, paths, provenance, assets, source reading, migration checks, generation, producer operations, MCP, and HTTP serving.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Okf MCP

okf-mcp is an MCP server that connects agents to local Open Knowledge Format v0.2 bundles and optional public GitHub bundles. Its main tools validate concepts and changes, search and navigate graphs, inspect provenance and computations, and create, review, accept, or reject authoring proposals.

Install it with npm or clone the repository, then run the `okf` or `okf-mcp` binary with Node.js 22 or newer. For example, use `npx -y @mfdaves/okf-mcp@latest --root ./path/to/okf validate` or start MCP with `okf-mcp --root ./path/to/okf mcp`.

Use the `--root` option with the bundle directory, such as `okf-mcp --root ./path/to/okf mcp`. The directory contains Markdown concepts with YAML frontmatter, and each concept is identified by its extensionless path within that root.

Yes. Pass a public GitHub tree through `--remote-bundle`, using the form `id=https://github.com/<owner>/<repo>/tree/<ref>/<path>`. It loads Markdown concepts and explicitly referenced inert assets; remote content remains read-only.

No. okf-mcp inspects computation contracts and digests, checks declared parameter and receipt fields, and prepares static checks, but it does not execute code or claim that a receipt has been attested.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOkf MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/okf-mcp?style=directory)](https://allmcps.com/mcp/okf-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/okf-mcp"><img src="https://allmcps.com/api/badge/okf-mcp?style=directory" alt="Okf MCP on AllMCPs" /></a>