必应搜索
STDIO基于Bing API的网络搜索MCP服务器
基于Bing API的网络搜索MCP服务器
Searches the web and reads links
This is a Model Context Protocol (MCP) server project.
search(query: str) -> strclick(hashes: list[str]) -> strsearch tool).search for each URL and returns a similar LLM-friendly string.Simply run:
make
To create the virtual environment and install dependencies.
Create a .env file based on .env.sample and populate it with:
BING_SEARCH_API_KEYASSISTANT__AZURE_OPENAI_ENDPOINT - This is necessary if you want to post process web content.Use the VSCode launch configuration, or run manually:
Defaults to stdio transport:
uv run mcp-server-bing-search
For SSE transport:
uv run mcp-server-bing-search --transport sse --port 6030
The SSE URL is:
http://127.0.0.1:6030/sse
To use this MCP server in your setup, consider the following configuration:
{ "mcpServers": { "mcp-server-bing-search": { "command": "uv", "args": ["run", "-m", "mcp_server_bing_search.start"] } } }
{ "mcpServers": { "mcp-server-bing-search": { "command": "http://127.0.0.1:6030/sse", "args": [] } } }