You need uv, then:
- add
websearch.py
to some folderFOLDER
- add the file
.vscode/mcp.json
if it doesn't exist, with your new websearch MCP server (and edit theFOLDER
part). You can also do this by fuzzy searching for "MCP: Add Server" and adding the commanduv --directory FOLDER run python websearch.py --stdio
in the prompt. - in the
mcp.json
you might want to put the full path to youuv
instead of justuv
. (dowhich uv
in your terminal to get that full path) - voila