Okf MCP Server

Validate, search, graph, and safely author local Open Knowledge Format bundles.

Remote serverstreamable-http

What is the Okf MCP server?

If you already use Okf, the okf mcp server is the piece that lets your assistant work with it directly. Validate, search, graph, and safely author local Open Knowledge Format bundles.

What the server does

okf-mcp is a project-agnostic Open Knowledge Format CLI, graph index, generator runner, MCP stdio server, and optional HTTP authoring API.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_bundles — list_concepts
  • get_concept — search_concepts
  • list_types — list_tags
  • list_relation_types — load_remote_bundle
  • list_remote_bundles — okf_validate_concept
  • okf_suggest_concept_path — okf_propose_concept
  • okf_propose_update — okf_list_proposals
  • okf_get_proposal — okf_accept_proposal
  • okf_reject_proposal — get_graph
  • get_neighbors — get_subgraph
  • find_paths — graph_summary
  • validate_bundle — validate_project

Credentials and setup notes

Configuration is passed through the environment: OKF_WRITE_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Okf's toolset — list_bundles, get_concept, list_types and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mfdaves; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Okf.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
list_bundleslist_concepts
get_conceptsearch_concepts
list_typeslist_tags
list_relation_typesload_remote_bundle
list_remote_bundlesokf_validate_concept
okf_suggest_concept_pathokf_propose_concept
okf_propose_updateokf_list_proposals
okf_get_proposalokf_accept_proposal
okf_reject_proposalget_graph
get_neighborsget_subgraph
find_pathsgraph_summary
validate_bundlevalidate_project
ModeProposal mutations
defaultdisabled

How to install the Okf MCP server

{
  "mcpServers": {
    "okf": {
      "command": "npx",
      "args": [
        "-y",
        "@mfdaves/okf-mcp@0.3.3",
        "--bundle",
        "app=/absolute/path/to/repo/okf/bundles/app",
        "mcp"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OKF_WRITE_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Okf to list bundles.
  • Use Okf to get concept.
  • Use Okf to list types.

Frequently asked questions

It connects Okf to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (list_bundles, get_concept, list_types, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Okf directly.