This is a companion extension for memento-mcp (the Go MCP server).
What it does:
Downloads a platform-specific memento-mcp binary into VS Code extension storage.
Generates an MCP server config snippet you can paste into your VS Code mcp.json.
Configures MCP for your workspace or globally by writing/merging an MCP config entry.
Shows a status bar item with the resolved server path and install state.
Includes copyable LLM guidance that recommends repo_context with intent for new callers.
Development
From vscode-extension/:
npm install
npm run build
Then in VS Code:
Open the vscode-extension/ folder in VS Code.
Press F5 (uses the included .vscode/launch.json), or run npm run watch and reload the Extension Development Host.
Use the commands:
Memento MCP: Install Server Binary
Memento MCP: Configure MCP (Workspace/Global)
Memento MCP: Open MCP Config Snippet
Memento MCP: Copy MCP Config Snippet
On first activation, the extension offers quick actions to install the server or configure/copy config snippets. The onboarding copy also points LLM users toward repo_context with intent, keeping explicit mode as an advanced override. After installation, it can also offer to configure MCP for the workspace or globally by writing/merging an MCP config entry.
mementoMcp.autoSwitchWorkspace (default: true, best-effort tool call to repo_switch_workspace on workspace-folder changes)
mementoMcp.autoSwitchReindexNow (default: false, sends reindexNow: true during auto-switch)
mementoMcp.devLogToolCalls (default: false, includes MEMENTO_MCP_DEV_LOG=1 in configured entries)
mementoMcp.devLogTailLines (default: 200, used by “Save Dev Tool Log Tail”)
Note: “Save Dev Tool Log Tail” is only shown when mementoMcp.devLogToolCalls is enabled.
Releases expectation
This extension expects GitHub Releases to include raw (uncompressed) binary assets named like:
memento-mcp_darwin_arm64
memento-mcp_darwin_x64
memento-mcp_linux_arm64
memento-mcp_linux_x64
memento-mcp_windows_x64.exe
If no matching release asset exists, the install command will tell you what it looked for.
If a downloaded binary still does not expose repo_switch_workspace, the command retries known latest tags and then offers a direct link to source build instructions in the repository README.
Release tags
Server releases: server/vX.Y.Z (with server/latest kept in sync)