Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:0_ide:kilocode_vscode [2026/05/12 12:26] – td | programming:0_ide:kilocode_vscode [2026/05/12 22:07] (current) – [memvid mcp for vscode] td | ||
|---|---|---|---|
| Line 63: | Line 63: | ||
| Prepare a Small Evidence Workspace | Prepare a Small Evidence Workspace | ||
| - | |||
| ### memvid mcp for vscode | ### memvid mcp for vscode | ||
| #### Install npm, uv on windows | #### Install npm, uv on windows | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | #### Setup memvid mcp server | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | |||
| + | Running local mpx server may not work due to not available PATH for non admin user. | ||
| + | |||
| + | Install memvid-mcp-server locally | ||
| + | |||
| + | If you have Node.js installed but npx isn't in PATH, install the package globally or locally: | ||
| + | |||
| + | npm install -g memvid-mcp-server | ||
| + | |||
| + | Then update the ~/ | ||
| + | |||
| + | ``` | ||
| + | { | ||
| + | " | ||
| + | ... | ||
| + | } | ||
| + | |||
| + | ``` | ||
| + | |||
| + | Example: | ||
| + | |||
| + | ``` | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | | ||
| + | ``` | ||
| + | |||
| + | ``` | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | ``` | ||
| + | |||
| + | Note: If you do not provide OPENAI_API_KEY, | ||
| + | |||
| + | MEMVID_LOCAL_STORAGE Set to " | ||
| + | |||
| + | |||
| + | **This only work in external powershell not in VS Code sandbox. See troubleshooting** | ||
| + | If PATH only defined in non admin user $profile, use this command | ||
| + | |||
| + | | ||
| + | |||
| + | #### Troubleshooting | ||
| - | * https:// | + | VS Code use sandbox environment where non admin user $profile is not available. |
| - | ##### Install npm as non admin | + | ##### Set PATH |
| + | | ||
| + | |||
| + | Edit PATH as non admin user: | ||
| - | Running npm on Windows without administrator rights requires using portable binaries or installing Node.js within your user profile directory. Download the Node.js binary (.zip) and extract it to a folder like C: | + | |
| - | Steps to Run npm as Non-AdminDownload Portable Node.js: | + | Add full PATH: |
| - | Download the Windows Binary (.zip) from the official site. | + | |
| + | |||
| + | ##### Set $env | ||
| - | Extract: Unzip the files into a directory you have write access to, such as C:\Users\YourName\Documents\nodejs. | + | |
| - | Update Path (Temporary): Open a command prompt (cmd.exe) and run:set PATH=C: | + | Then restart your computer |
| - | Update Path (Permanent): | + | Check $env in terminal: |
| + | |||
| + | | ||
| - | Verify: Run node -v and npm -v to ensure they work. | + | Alternative: Set it in VS Code's terminal settings If you need it available immediately in the integrated terminal regardless, add this to your VS Code settings.json: |
| - | Key Tips for Non-Admin UsageAvoid Global Installs: | + | " |
| + | " | ||
| + | } | ||
| - | * Do not use npm install -g. Instead, install packages locally within your project folder or use npx to run commands. | ||
| - | * Portable NPM: If you need a specific npm version, you can download it and link it directly via node bin/ | ||
| - | * Fixing "Not Recognized": | ||