Skip to content

MCP server

OKForest’s MCP server gives AI assistants read access to your account’s Forest: all of its trees, so they answer from your organization’s knowledge and say how far to trust it. It speaks the 2026-07-28 revision of the Model Context Protocol, and the 2025-11-25 one for assistants that haven’t moved to it yet.

You ask your AI assistant, which calls OKForest's MCP tools. OKForest answers from your account's trees, each parsed per commit and read from its Git repository through the OKForest GitHub App.
  • Your content stays in your repositories. OKForest reads a private one through a GitHub App that you install on the repositories you choose, and a public one with nothing installed. People need no GitHub account to use it.
  • You sign in the first time your assistant connects, with your OKForest account. A connection serves one of the accounts you belong to, and only for as long as you belong to it.
  • Answers carry their provenance. Every concept names its tree, and results name the repository and commit they came from and each concept’s status and trust tier, so the assistant can tell you when an answer relies on a draft or unverified concept.

Add OKForest to your assistant as a custom MCP connector that signs in with OAuth (in Claude, a custom connector; in ChatGPT, a custom MCP server, in developer mode), with this address:

https://mcp.okforest.ai/mcp

The assistant then opens OKForest’s sign-in page. If you belong to several accounts, you choose one there, and the assistant reads that account’s Forest. Each account’s Forest page in the OKForest App shows the address too, under Connect an AI assistant, with a Copy button.

Each connection serves one account. To use two accounts from one assistant, connect each with the account’s own address:

https://mcp.okforest.ai/@/<account id>/mcp

A concept’s ID names its tree, then its path in the tree without .md: company:customers/acme-corp is customers/acme-corp.md in the company tree. Assistants pass these IDs between tools and cite them in answers.

Fifteen tools: listing the trees and the kinds of concept in them, searching across them, reading a concept, following its links, finding how two concepts connect, listing a tree’s directories, reporting on how a tree’s concepts link, its freshness, and its metadata, its history (who changed it or a concept, when, and why, and what each commit changed), and the changes people have asked for in OKForest: a tree’s list, and one change’s edits, checks, and comments, with its page, where editors apply it; and asking for a change in your words, or proposing its edits. MCP tools lists them; each has a page with its parameters and what it returns, as the server describes them to your assistant.

Results link to OKForest: each concept, tree, and directory comes with its page, and a search with the same search in OKForest, so your assistant can point you to its sources. The links open for people in your account, and for nobody else.

When a tree can’t be read, for example because the GitHub App was removed from its repository, search_concepts and check_freshness name it rather than leaving it out silently.

Each person can make 120 requests a minute, and each account 600; past that, the assistant is asked to try again in a minute.

All tools but two are read-only. Both make a change for a tree’s editors, as the app does: they’re emailed, and nothing reaches the tree until one of them applies it in OKForest.

  • request_change asks in your words, as Ask for a change does. An editor’s own request starts as drafting, for them to write.
  • propose_change brings the edits written: new pages; pages edited (their front-matter fields set or removed, and text in their body replaced); a folder’s index.md edited (its list, as text replaced); and pages moved or renamed, deprecated, or deleted, with their links, index.md entries, and files following, as the app’s forms do. The edits are checked first: when a page would have errors, nothing is saved, and your assistant gets the errors to fix. An editor’s own proposal is in review at once.

A read-only tree refuses both, saying why. Applying stays in the app, where an editor sees the change’s diff.

The okforest skill teaches your assistant to write and change trees well: OKF concepts, links, and index.md and log.md files; OKForest’s settings, types, and checks; and when to use propose_change or request_change, keeping each change small. It’s an open-source Agent Skill, and it helps when you edit a tree in its repository too.

In Claude Code:

/plugin marketplace add okforest/skills
/plugin install okforest@okforest

In other agents, with the skills CLI:

Terminal window
npx skills add okforest/skills