Data as of
Basic Memory for VS Code: Setup & Config
VS Code: Basic Memory gives AI clients persistent knowledge stored as Markdown that people can also edit.
What you can do with Basic Memory in VS Code
Persistent AI knowledge in editable Markdown, with local ownership and optional cloud teamwork.
- Keep architecture decisions available across AI sessions.
- Use Obsidian and an AI assistant on the same knowledge files.
Before you start: Basic Memory in VS Code
- Python 3.12+
- uv / uvx
- An MCP-compatible client
This is the local client configuration from the README. Notes default to ~/basic-memory. Optional cloud onboarding is separate; no cloud MCP endpoint is specified in the supplied README.
Basic Memory VS Code configuration
Choose VS Code configuration scope
For Basic Memory, open Workspace: .vscode/mcp.json. Merge into servers; preserve existing inputs.
Add Basic Memory to VS Code
Use the basic-memory entry below in servers. Keep Basic Memory's documented stdio connection fields and your other VS Code entries.
Check Basic Memory in VS Code
Basic Memory: Start in VS Code’s MCP controls; inspect output and trust prompts.
Config file · Workspace: .vscode/mcp.json
{
"servers": {
"basic-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"basic-memory",
"mcp"
],
"env": {}
}
}
}Basic Memory tools available to VS Code
Basic Memory's stored tool list documents 7 tools; compare it with VS Code's connected tool list, because the stored list is not a live check.
- search
Look for search among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
- fetch
Look for fetch among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
Retrieve knowledge through the documented ChatGPT-compatible action interface.
- schema_infer
Look for schema_infer among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
Infer the structure of a knowledge base.
- schema_validate
Look for schema_validate among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
- schema_diff
Look for schema_diff among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
Compare knowledge-base structure changes.
- edit_note
Look for edit_note among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
Edit notes, including append and prepend operations.
- write_note
Look for write_note among VS Code's agent-mode tools after starting Basic Memory through the MCP controls.
Troubleshooting Basic Memory in VS Code
- Make uvx basic-memory (from uv, for Python tools) available in the workspace, container, or remote environment hosting Basic Memory. Start through VS Code's MCP controls; inspect output and trust prompts.
- Basic Memory uses stdio here: VS Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Local users manage their own backups and cross-device sync.
- Known limitation: Cloud hosting is a paid option.
- Known limitation: The local install requires Python.
- General VS Code troubleshooting lives in the /clients/vscode guide.
Basic Memory — details. VS Code guide