Local-first AI PKM memory for coding conversations.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add chatcrystal --env CHATCRYSTAL_API_TOKEN='<CHATCRYSTAL_API_TOKEN>' -- npx -y chatcrystal~/.codex/config.toml
[mcp_servers.chatcrystal]
command = "npx"
args = ["-y", "chatcrystal"]
env = { CHATCRYSTAL_API_TOKEN = "<CHATCRYSTAL_API_TOKEN>" }
# codex mcp add chatcrystal --env CHATCRYSTAL_API_TOKEN='<CHATCRYSTAL_API_TOKEN>' -- npx -y chatcrystal~/.cursor/mcp.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal"
],
"env": {
"CHATCRYSTAL_API_TOKEN": "<CHATCRYSTAL_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"chatcrystal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chatcrystal"
],
"env": {
"CHATCRYSTAL_API_TOKEN": "<CHATCRYSTAL_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal"
],
"env": {
"CHATCRYSTAL_API_TOKEN": "<CHATCRYSTAL_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal"
],
"env": {
"CHATCRYSTAL_API_TOKEN": "<CHATCRYSTAL_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"chatcrystal": {
"command": "npx",
"args": [
"-y",
"chatcrystal"
],
"env": {
"CHATCRYSTAL_API_TOKEN": "<CHATCRYSTAL_API_TOKEN>"
}
}
}
}Environment variables
CHATCRYSTAL_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.