
Hi all!
I am aware that MCP has only been covered for Windsurf and Cursor, but I figured it would not be an issue to port to WSL through VS Code.
I am giving the command to the MCP: Add Server command of VS Code, and the following is generated:
TypeScript
"mcp": {
"servers": {
"appwrite": {
"type": "stdio",
"command": "env",
"args": [
"APPWRITE_API_KEY=standard_35******",
"env",
"APPWRITE_PROJECT_ID=67******",
"uvx",
"mcp-server-appwrite",
"--databases",
"--users"
]
}
}
},
This causes this error:
TypeScript
2025-04-14 16:40:47.649 [info] Starting server appwrite
2025-04-14 16:40:47.650 [info] Connection state: Starting
2025-04-14 16:40:47.663 [info] Starting server from LocalProcess extension host
2025-04-14 16:40:47.681 [info] Connection state: Starting
2025-04-14 16:40:47.683 [info] Connection state: Error spawn env ENOENT
I tried changing the generated config as follows:
TypeScript
"appwrite": {
"command": "uvx",
"args": [
"mcp-server-appwrite",
"--databases",
"--users"
],
"env":{
"APPWRITE_API_KEY": "standard_3*******",
"APPWRITE_PROJECT_ID": "675*******"
}
}
When ran, I get this output:
TypeScript
2025-04-14 16:42:13.937 [info] Starting server appwrite
2025-04-14 16:42:13.937 [info] Connection state: Starting
2025-04-14 16:42:13.949 [info] Starting server from LocalProcess extension host
2025-04-14 16:42:13.963 [info] Connection state: Starting
2025-04-14 16:42:13.965 [info] Connection state: Error spawn uvx ENOENT
uvx is indeed installed.
TypeScript
$ uvx
Provide a command to run with `uvx <command>`.
What am I doing wrong here?
TL;DR
The developer is trying to use MCP on VS Code for a WSL port but is encountering errors related to spawn env ENOENT and spawn uvx ENOENT. They have tried alternative configurations without success. The issue may be due to incorrect command or path configurations. To address this, ensure that the paths to env and uvx are correctly specified in the VS Code configuration.Recommended threads
- Adding Items to relationship Array is bu...
When clicking add item two slots appear. I can only modify one and it does not let me update. This is happening since new UI. Also I can not type or paste the i...
- Collection Relationship Issue
I'm unable to create a new relationship attribute. I'm new to this but I cannot figure out why other collections are not showing up.
- Issue with Storage File Details View: In...
