Distill AI coding sessions (Claude Code / Codex / Cursor) into weekly reports, ADRs, incident reviews and a knowledge graph — local-first, evidence-linked.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tokenknows --env TOKENKNOWS_API_TOKEN='<TOKENKNOWS_API_TOKEN>' -- uvx tokenknows-mcp~/.codex/config.toml
[mcp_servers.tokenknows]
command = "uvx"
args = ["tokenknows-mcp"]
env = { TOKENKNOWS_API_TOKEN = "<TOKENKNOWS_API_TOKEN>" }
# codex mcp add tokenknows --env TOKENKNOWS_API_TOKEN='<TOKENKNOWS_API_TOKEN>' -- uvx tokenknows-mcp~/.cursor/mcp.json
{
"mcpServers": {
"tokenknows": {
"command": "uvx",
"args": [
"tokenknows-mcp"
],
"env": {
"TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tokenknows": {
"type": "stdio",
"command": "uvx",
"args": [
"tokenknows-mcp"
],
"env": {
"TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tokenknows": {
"command": "uvx",
"args": [
"tokenknows-mcp"
],
"env": {
"TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tokenknows": {
"command": "uvx",
"args": [
"tokenknows-mcp"
],
"env": {
"TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tokenknows": {
"command": "uvx",
"args": [
"tokenknows-mcp"
],
"env": {
"TOKENKNOWS_API_TOKEN": "<TOKENKNOWS_API_TOKEN>"
}
}
}
}Environment variables
TOKENKNOWS_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.