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