TokenKnows MCP Server

Distill AI coding sessions into weekly reports, ADRs and a knowledge graph - self-hosted

Remote serverstreamable-httpPython

What is the TokenKnows MCP server?

Distill AI coding sessions into weekly reports, ADRs and a knowledge graph - self-hosted. The tokenknows mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

You spend hours pair-programming with Claude Code, Codex, and Cursor. The decisions, bug hunts, and design trade-offs from those sessions evaporate the moment the terminal closes. TokenKnows captures them automatically and distills them into structured, evidence-linked knowledge assets:

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Configuration

You will need one environment variable: TOKENKNOWS_API_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the tokenknows mcp server does with a few real requests.

When to reach for it

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by johnnywuj81; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the TokenKnows MCP server

{
  "mcpServers": {
    "tokenknows": {
      "command": "npx",
      "args": ["-y", "npm"],
      "env": {
        "TOKENKNOWS_API_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
TOKENKNOWS_API_TOKENCredential the server authenticates with.Yes

Frequently asked questions

It connects TokenKnows to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with TokenKnows directly.