TokenKnows

io.github.johnnywuj81/tokenknows

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "tokenknows": {
      "command": "uvx",
      "args": [
        "tokenknows-mcp"
      ],
      "env": {
        "TOKENKNOWS_API_BASE": "http://127.0.0.1:8001",
        "TOKENKNOWS_API_TOKEN": "<your TOKENKNOWS_API_TOKEN>",
        "TOKENKNOWS_DEFAULT_PROJECT": "proj-demo-001",
        "TOKENKNOWS_WEB_BASE": "http://127.0.0.1:5173"
      }
    }
  }
}
Environment variables
  • TOKENKNOWS_API_BASESelf-hosted TokenKnows backend URL
  • TOKENKNOWS_API_TOKENsecretAPI token (tkk_...) or JWT bearer for the backend; create one in the web UI under Project Settings - MCP Access (optional for default local deployments)
  • TOKENKNOWS_DEFAULT_PROJECTDefault project_id for event submission and distill
  • TOKENKNOWS_WEB_BASEWeb UI base URL used to build view_url links returned by distill/list tools (login required to open them)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.3.0
Registry
active
Published
6/11/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that TokenKnows is listed here — it’s also the link we check for a free listing.

TokenKnows — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-johnnywuj81-tokenknows?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="TokenKnows — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![TokenKnows — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-johnnywuj81-tokenknows?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.