okft
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@okftsearch for deployment guidelines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
okft
Lint and serve Open Knowledge Format (OKF) bundles.
OKF is Google's open spec for representing organizational knowledge as a
directory of markdown files with YAML frontmatter — a knowledge graph that
both humans and AI agents can read natively. okft covers the two
sides of keeping a bundle healthy and useful:
okft lint— validate a bundle against the OKF v0.1 spec, plus hygiene checks (broken links, orphaned concepts, malformed timestamps). Wire it into CI so your knowledge bundle can't rot silently.okft serve— expose a bundle to any MCP-capable AI agent (Claude, Gemini CLI, Cursor, …) as a set of navigation tools: overview, read, search, list. Deterministic graph traversal, no embeddings, no database.
Install
pip install okft # lint only
pip install 'okft[serve]' # lint + MCP serverRelated MCP server: okf-tools
Lint
okft lint path/to/bundleanalytics/tables/orders.md:1 error E003 frontmatter must include a non-empty `type` field
analytics/metrics/churn.md:24 warning W001 link target does not resolve in bundle: /analytics/tables/order
engineering/runbook.md:1 warning W004 concept is never linked from any other document
12 concepts checked: 1 error(s), 2 warning(s)Exit code is 1 on errors (or on warnings with --strict), so it drops
straight into CI. --format json emits machine-readable findings.
Rules
Code | Severity | Check |
E001 | error | concept file has no YAML frontmatter block |
E002 | error | frontmatter is not parseable YAML |
E003 | error | missing or empty |
E004 | error | reserved file ( |
W001 | warning | link target does not resolve inside the bundle¹ |
W002 | warning |
|
W003 | warning |
|
W004 | warning | orphan concept — nothing links to it ( |
W005 | warning | bundle root has no |
W006 | warning |
|
W007 | warning | concept has no |
¹ The spec requires consumers to tolerate broken links, so they are warnings, never conformance errors.
Both standard markdown links (/analytics/tables/customers.md, relative
paths) and [[wiki-style]] links are resolved.
Serve to an AI agent
okft serve path/to/bundleRuns an MCP server (stdio) with four tools:
Tool | Purpose |
| root index + every concept grouped by type |
| one concept: frontmatter, body, outbound & inbound links |
| ranked full-text search with snippets |
| filter concepts by |
Register it with Claude Code:
claude mcp add acme-brain -- okft serve /path/to/bundleor in any MCP client config:
{
"mcpServers": {
"acme-brain": { "command": "okft", "args": ["serve", "/path/to/bundle"] }
}
}Try it
A small example bundle ships in examples/acme_brain:
okft lint examples/acme_brain
okft serve examples/acme_brainCI example (GitHub Actions)
- uses: actions/setup-python@v5
with: { python-version: "3.12" }
- run: pip install okft
- run: okft lint knowledge/ --strictStatus
Tracks OKF v0.1. The spec is young and so is this tool — issues and PRs welcome, especially reports of real-world bundles that lint incorrectly.
License
Apache-2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Curated operational knowledge for AI agents. 2 tools. Paid.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, read, and traverse documentation bundles in Open Knowledge Format via MCP tools.108 npm71MIT
- AlicenseAqualityBmaintenanceEnables local semantic search and management of OKF knowledge bundles via MCP tools, with hybrid BM25 and vector search.104Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables querying and exploring a bundled knowledge base through tools for manifest, table of contents, node retrieval, and full-text search.10 npm1MIT
- AlicenseAqualityBmaintenanceEnables agents to interact with OKF bundles: browse, search, read concepts, and audit trust and freshness.73 npmApache 2.0