Claude Code · Client setup guide
Add the HTTP MCP entry to your project’s .mcp.json, then start Claude Code from the terminal with the environment variable. The file stores only the variable reference.
The free plan includes editing, sync, image hosting, export, and sharing. Document MCP, repository MCP, and the built-in AI assistant require lifetime membership. Configuration sync uses separate temporary authorization.
Create an MCP tokenSet the environment variable
Set your actual token in the terminal that starts the client. knt_mcp_... is a placeholder. Protect credentials with environment variables or secure storage and keep them out of repositories. Start with a read-only token.
Bash
export KOINOTE_MCP_TOKEN='knt_mcp_...'.mcp.json
{
"mcpServers": {
"koinote": {
"type": "http",
"url": "https://koinote.app/mcp",
"headers": { "Authorization": "Bearer ${KOINOTE_MCP_TOKEN}" }
}
}
}Claude Code CLI expands environment variables in .mcp.json headers. Follow its trust prompt when first using a project configuration.
Official client documentationRead-only verification and troubleshooting
Inspect the tool list, then call list_documents with a read token. For a 401, check the client process’s environment variable, credential type, expiry, and revocation status. Document and repository access also require active lifetime membership. Check the scope if write tools are missing.
For repositories, use the connection name koinote-agent, the KOINOTE_AGENT_TOKEN environment variable, and a repository PAT. Copy separate configuration-sync instructions from the snapshot.