Build the MCP server:
git clone git@github.com:yrom/local-web-search.git
cd local-web-search
# run after install bun: https://bun.sh/
bun install
bun run build:mcp
Configure mcp server:
{
"mcpServers": {
"local-web-search-mcp": {
"command": "bun",
"args": ["/path/to/local-web-search/dist/mcp-server.js"],
"env": {
"HTTPS_PROXY": "http://127.0.0.1:7890"
}
}
}
}
Debugging with MCP Inspector:
bunx @modelcontextprotocol/inspector -e HTTPS_PROXY=http://127.0.0.1:7890 bun ./src/mcp-server.ts
This project is forked from local-web-search and modified to support Model Context Protocol
MIT