MCP knowledge base
Koinote is a personal AI knowledge and document library for Markdown writing and organization, with MCP-compatible agents that securely search, read, and edit your documents.
Create an MCP tokenLearn about version controlView membership benefitsChoose a connection and credential
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.
This catalog lists all registered tools. Your credential and scope determine which tools the connection exposes.
Document MCP
Use the connection name koinote and a document PAT. The read scope allows reading, write allows editing, and publish allows reading, GEO summary management, and WeChat draft delivery. WeChat delivery requires publish. Tokens support expiry and individual revocation.
koinote · https://koinote.app/mcp
Tool catalog
Read-only (16)
Required scope / credential read / write / publish
- list_documents
- search_documents
- get_document
- list_document_versions
- get_document_version
- list_trashed_documents
- get_document_history_settings
- list_folders
- list_wechat_accounts
- get_wechat_geo_summary
- list_document_themes
- get_agent_credits
- get_document_outline
- get_document_context
- compare_document_versions
- find_text_in_document
Write (15)
Required scope / credential write
- create_document
- append_to_document
- update_document
- restore_document_version
- trash_document
- restore_trashed_document
- update_document_history_settings
- create_folder
- rename_folder
- move_folder
- move_document
- batch_move_documents
- delete_folder
- update_document_metadata
- apply_text_patch
Write (1)
Required scope / credential write / publish
- update_wechat_geo_summary
External effects (1)
Required scope / credential write / publish
- generate_wechat_geo_summary
External effects (1)
Required scope / credential write
- sync_document_to_feishu
External effects (1)
Required scope / credential publish
- push_wechat_draft
Skills / Agent repository MCP
Use koinote-agent with a separate agent_read or agent_write PAT in KOINOTE_AGENT_TOKEN. The same /mcp endpoint selects repository tools from the credential. manage_agent_workspace can permanently delete a repository. Updates and restores can remove files.
koinote-agent · https://koinote.app/mcp
Agent repository access · API / MCP (optional)Tool catalog
Read-only (8)
Required scope / credential agent_read / agent_write
- list_agent_workspaces
- get_agent_workspace
- read_agent_workspace_file
- get_agent_workspace_prompt
- get_agent_workspace_storage
- list_agent_workspace_commits
- get_agent_workspace_commit
- read_agent_workspace_commit_file
Write (4)
Required scope / credential agent_write
- create_agent_workspace
- manage_agent_workspace
- update_agent_workspace
- restore_agent_workspace_commit
Configuration sync MCP
Use koinote-config-sync with a temporary credential from the configuration snapshot’s Copy for AI action. Document and repository PATs cannot access it. The credential is read-only, expires after 30 minutes, and is bound to one snapshot revision. Free accounts can authorize their one configuration snapshot too. Agents download ciphertext and decrypt locally with the user-provided key. Share credentials and keys only with a trusted agent. Revocation stops future reads. Downloaded content cannot be recalled. Envelopes over 8 MiB use the tool-provided whole-envelope download, up to 64 MiB.
koinote-config-sync · https://koinote.app/api/config-sync/mcp
Tool catalog
Read-only (2)
Required scope / credential knt_config_sync_…
- get_config_sync_snapshot
- read_config_sync_envelope
Client setup guide
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.
Codex
Add this configuration to ~/.codex/config.toml and start Codex from the same terminal so it inherits KOINOTE_MCP_TOKEN.
Claude Code
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.
OpenCode
Check your OpenCode major version and choose its configuration block. V2 stores servers under mcp.servers and V1 under mcp. Both disable OAuth and use an environment-based header.
OpenClaw
Save the Streamable HTTP connection with the CLI. Single quotes preserve the environment reference in the header. --no-probe saves the configuration before a read-only connection probe.
WorkBuddy / Other clients
The client needs remote Streamable HTTP and an Authorization header. Store the Bearer credential in the client’s environment variables or secure storage and connect to https://koinote.app/mcp.
External operations and credits
- generate_wechat_geo_summary calls a platform model and saves a summary, consuming credits. update_wechat_geo_summary edits saved text or its switch without calling a model or consuming credits. Both accept write and publish.
- sync_document_to_feishu requires write and a linked Feishu account. It replaces the linked Feishu document with Koinote content in a one-way sync.
- push_wechat_draft requires publish and a linked WeChat account. It creates an external draft and may upload images. Delivery and an optional AI cover consume credits under the existing rules, subject to any operator-managed grant. Ordinary document operations use the client’s model.
Capabilities and safety boundaries
- MCP uses Bearer credentials and has no OAuth MCP authorization flow. Web clients that require OAuth and cannot set a Bearer header cannot connect directly.
- Search matches case-insensitive substrings in document titles and bodies. RAG and semantic search are unavailable.
- Document PATs have no folder-level authorization scope. folderId filters results. Documents are private by default, and tools access data authorized for the current account.
- Backlinks, knowledge graphs, and tags are unavailable.
- Appending, replacing, patching, updating metadata, restoring versions, trashing, and untrashing documents require expectedRevision. Read the latest version after a conflict to prevent silent overwrites. Creation, folder operations, moves, and GEO summaries follow their own validation rules.
- Document MCP can move documents to the 30-day trash and cannot permanently delete them. Separately confirm the permanent repository deletion supported by manage_agent_workspace.
- Document and repository MCP activity logs are retained for 180 days. They record tools, results, duration, and related identifiers, excluding bodies and raw tokens. Configuration sync does not provide the same activity log.